Molio Knowledge Base — Claude Code MCP server
Connects Claude Code to a local Molio knowledge base for search, reading, browsing, and AI Q&A. Useful when an agent needs access to your stored materials.
claude mcp add --env MOLIO_PORT=<MOLIO_PORT> --transport stdio molio-knowledge-base -- npx -y @molio/cliWhat Molio Knowledge Base does
Molio Knowledge Base connects a local Molio knowledge base to Claude Code through MCP. The agent can search materials, read them, browse the collection, and answer questions about its contents. The connection is read-only, so the server does not write changes back to the knowledge base.
Molio can work with Markdown, TXT, HTML, CSV, PDF, Office files, images, web pages, and Obsidian vaults. PDF and Office processing uses docling, with converted results stored as Markdown. The server starts through npx -y @molio/cli.
The first PDF or Office conversion downloads docling and about 500MB of models. Read-only access is the main limitation: agent results are not deposited back into the base through this connection.
What it helps with
- search a local knowledge base for relevant material
- read documents about a specific topic
- browse related notes and source files
- answer questions from accumulated research
Example prompts for the agent
- Search my Molio knowledge base for material about database migration and compare the approaches you find.
- Browse the documents about
GraphRAGand list the related concepts. - Answer this question from my Molio knowledge base and point to the relevant source materials.
How to install Molio Knowledge Base
Platform CLI
claude mcp add --env MOLIO_PORT=<MOLIO_PORT> --transport stdio molio-knowledge-base -- npx -y @molio/cliReplace <…> with your own values
Platform CLI
codex mcp add molio-knowledge-base --env MOLIO_PORT=<MOLIO_PORT> -- npx -y @molio/cliReplace <…> with your own values
Config file
{
"mcpServers": {
"molio-knowledge-base": {
"command": "npx",
"args": [
"-y",
"@molio/cli"
],
"env": {
"MOLIO_PORT": "<MOLIO_PORT>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"molio-knowledge-base": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@molio/cli"
],
"env": {
"MOLIO_PORT": "<MOLIO_PORT>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e MOLIO_PORT=<MOLIO_PORT> molio-knowledge-base npx -y @molio/cliReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Molio Knowledge Base
How do I install Molio Knowledge Base in Claude Code?
Run claude mcp add molio -- npx -y @molio/cli. The MCP server will then be available in Claude Code.
What does Molio Knowledge Base do?
It gives Claude Code read-only access to a local Molio knowledge base. The agent can search, read, browse, and answer questions about the stored materials.
Does Molio Knowledge Base write changes to the knowledge base?
No. The connection provides read-only access, so agent results are not written back through this server.