A MCP server that is a locally running knowledge base with a hybrid vector and graph RAG engine using LightRAG
{
"mcpServers": {
"knowledge-mcp": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A MCP server that is a locally running knowledge base with a hybrid vector and graph RAG engine using LightRAG
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 54 days ago. 41 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
A Model Context Protocol server for searching and analyzing arXiv papers
📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
Model Context Protocol (MCP) Server to connect your AI with any MediaWiki
Open source implementation and extension of Google Research’s PaperBanana for automated academic figures, diagrams, and research visuals, expanded to new domains like slide generation.
MCP Security Weekly
Get CVE alerts and security updates for Knowledge Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
knowledge-mcp is a MCP server designed to bridge the gap between specialized knowledge domains and AI assistants. It allows users to create, manage, and query dedicated knowledge bases, making this information accessible to AI agents through an MCP (Model Context Protocol) server interface.
The core idea is to empower AI assistants that are MCP clients (like Claude Desktop or IDEs like Windsurf) to proactively consult these specialized knowledge bases during their reasoning process (Chain of Thought), rather than relying solely on general semantic search against user prompts or broad web searches. This enables more accurate, context-aware responses when dealing with specific domains.
Key components:
This project utilizes LightRAG (HKUDS/LightRAG) as its core engine for knowledge base creation and querying. LightRAG is a powerful framework designed to enhance Large Language Models (LLMs) by integrating Retrieval-Augmented Generation (RAG) with knowledge graph techniques.
Key features of LightRAG relevant to this project:
By using LightRAG, knowledge-mcp benefits from advanced RAG capabilities that go beyond simple vector search.
Ensure you have Python 3.12 and uv installed.
Running the Tool: After installing the package (e.g., using uv pip install -e .), you can run the CLI using uvx:
# General command structure (use either --config or --base)
uvx knowledge-mcp --config <path-to-your-config.yaml> <command> [arguments...]
uvx knowledge-mcp --base <path-to-dir-containing-config.yaml> <command> [arguments...]
# Example: Start interactive shell
uvx knowledge-mcp --config <path-to-your-config.yaml> shell
Configure MCP Client: To allow an MCP client (like Claude Desktop or Windsurf) to connect to this server, configure the client with the following settings. Replace the config path with the absolute path to your main config.yaml.
{
"mcpServers": {
"knowledge-mcp": {
"command": "uvx",
"args": [
"knowledge-mcp",
"--config",
"<absolute-path-to-your-config.yaml>",
"mcp"
]
}
}
}
MCP Client Configuration (Docker)
For clients like Claude Desktop, Cursor, Windsurf, etc.:
Spawn new container per request (simplest):
{
"mcpServers": {
"knowledge-mcp": {
"command": "docker",
"args": [
"run",
"--rm",
"-v",
"/Users/yourusername/kb:/app/kb",
"knowledge-mcp"
]
}
}
}