Knowledge_vault

by fak111

235 downloads
Not rated
GitHub

About

A local knowledge management MCP server built with FastMCP framework.

Details

Author
fak111
Downloads
235
Categories
Knowledge Base

- Smart storage with auto-generated titles and tags
- Fuzzy search and tag filtering
- AI-suggested tags based on content
- Knowledge base usage statistics
- Data stored securely in user home directory
- Thread-safe concurrent access with file locking

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Knowledge_vault
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

After installing dependencies with uv, add the server configuration to your Claude Desktop config file (~/.config/claude_desktop_config.json) using the provided JSON snippet, then restart Claude Desktop. Use natural language commands like “Store a programming tip: …” or “Search for Python knowledge” to interact with the server.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "knowledge_vault": {
            "knowledge-vault": {
                "command": "uv",
                "args": [
                    "--directory",
                    "/path/to/your/local_store_mcp",
                    "run",
                    "python",
                    "start_server_new.py"
                ],
                "cwd": "/path/to/your/local_store_mcp",
                "description": "Local Knowledge Management MCP Server"
            }
        }
    }
}

McpServers

{
    "knowledge-vault": {
        "command": "uv",
        "args": [
            "--directory",
            "/path/to/your/local_store_mcp",
            "run",
            "python",
            "start_server_new.py"
        ],
        "cwd": "/path/to/your/local_store_mcp",
        "description": "Local Knowledge Management MCP Server"
    }
}

Knowledge Vault MCP Server

A local knowledge management MCP server built with FastMCP framework.

Features

- ✅ Smart Storage: Auto-generate titles and tags
- 🔍 Powerful Search: Support fuzzy search and tag filtering
- 🏷️ Smart Tags: AI-suggested tags based on content
- 📊 Statistics: Knowledge base usage statistics
- 💾 Secure Storage: Data stored in user home directory
- 🔒 Thread Safe: Support concurrent access

Project Structure

knowledge_vault/
├── __init__.py          # Package initialization
├── server.py            # FastMCP server main file
├── storage.py           # Knowledge storage module
└── search.py            # Search functionality module
pyproject.toml           # Project configuration
start_server_new.py      # Startup script

Installation

Install dependencies with uv

# Install uv if not already installed
curl -LsSf https://astral.sh/uv/install.sh | sh

Sync dependencies

uv sync

Configure Claude Desktop

Edit ~/.config/claude_desktop_config.json:

{
  "mcpServers": {
    "knowledge-vault": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/your/local_store_mcp",
        "run",
        "python",
        "start_server_new.py"
      ],
      "cwd": "/path/to/your/local_store_mcp",
      "description": "Local Knowledge Management MCP Server"
    }
  }
}

Restart Claude Desktop

Restart Claude Desktop after configuration.

Usage

Store Knowledge

Store a programming tip: Using Python list comprehension makes code more concise

Search Knowledge

Search for Python knowledge

View Statistics

Show knowledge base statistics

Available Tools

1. store_knowledge - Store knowledge records
2. search_knowledge - Search knowledge records
3. list_recent - View recent records
4. get_knowledge - Get record by ID
5. suggest_tags - Suggest tags
6. search_by_tags - Search by tags
7. get_stats - Get statistics

Data Storage

- Location: ~/.knowledge-vault/knowledge.jsonl
- Format: JSON Lines
- Thread Safe: File locking for concurrent access

Tech Stack

- FastMCP: MCP server framework
- Pydantic: Data validation
- uv: Modern Python package management
- Python 3.10+: Runtime environment

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.