knowledge-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@knowledge-mcpsave a new entry about Python logging under programming"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
knowledge-mcp
A personal MCP server that lets Claude (Claude Code, Claude Desktop, etc.) export knowledge and experience into a personal knowledge corpus — a folder of markdown files that acts as your knowledge base.
Entries are markdown files with YAML frontmatter (created/updated timestamps,
tags, source), organized into category folders. Every write regenerates an
index.md at the corpus root listing all entries by category.
Tools
Tool | Purpose |
| Write an entry to |
| List all entries grouped by category. |
| Case-insensitive text search with line snippets — use before saving to avoid duplicates. |
| Read one entry by relative path, e.g. |
| Regenerate |
Writes are confined to the knowledge base root — path traversal outside it is rejected. Only markdown files directly inside category folders (and the root) are indexed.
Setup
Requires uv. Install dependencies once:
cd /path/to/knowledge-mcp
uv syncClaude Code
claude mcp add --scope user knowledge \
--env KNOWLEDGE_MCP_ROOT=/path/to/your/Knowledge -- \
uv run --directory /path/to/knowledge-mcp knowledge-mcp(--scope user makes it available in every project; drop it for
project-only.)
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or the equivalent on your platform:
{
"mcpServers": {
"knowledge": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/knowledge-mcp",
"knowledge-mcp"
],
"env": {
"KNOWLEDGE_MCP_ROOT": "/path/to/your/Knowledge"
}
}
}
}Then restart Claude Desktop.
Configuration
Env var | Default | Purpose |
|
| Knowledge base root directory. Must already exist. |
|
| Heading used for the generated |
Manual run / smoke test
uv run knowledge-mcp # starts the stdio server (Ctrl-C to stop)This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cao-jacky/knowledge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server