# Molio Knowledge Base

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 434
- Author: zhuzhaoyun
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/zhuzhaoyun/Molio
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/molio-knowledge-base

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `MOLIO_PORT` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env MOLIO_PORT=<MOLIO_PORT> --transport stdio molio-knowledge-base -- npx -y @molio/cli
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add molio-knowledge-base --env MOLIO_PORT=<MOLIO_PORT> -- npx -y @molio/cli
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "molio-knowledge-base": {
            "command": "npx",
            "args": [
                "-y",
                "@molio/cli"
            ],
            "env": {
                "MOLIO_PORT": "<MOLIO_PORT>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "molio-knowledge-base": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@molio/cli"
            ],
            "env": {
                "MOLIO_PORT": "<MOLIO_PORT>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e MOLIO_PORT=<MOLIO_PORT> molio-knowledge-base npx -y @molio/cli
```
Replace <…> with your own values

## When to use it
- 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
- Search my Molio knowledge base for material about database migration and compare the approaches you find.
- Browse the documents about `GraphRAG` and list the related concepts.
- Answer this question from my Molio knowledge base and point to the relevant source materials.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
