Skip to main content
MCP server CX Codex

compendio-mcp — Claude Code MCP server: what it does, how to install

Indexes project markdown files and serves relevant excerpts via local hybrid search. Keeps context clean by pulling single sections instead of full documents.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add compendio-mcp -- npx -y compendio-mcp
Open on GitHub

What compendio-mcp does

Agents frequently burn context by reading entire source files with grep and cat. Compendio changes this habit. It combines keyword matching with semantic vector search, giving assistants direct access to the exact paragraph that answers the prompt.

The system stores data in a local SQLite file at .compendio/compendio.db. Vectors are calculated on your CPU with the Xenova/multilingual-e5-small model. No external network requests happen during retrieval, and running services or API tokens are unnecessary.

Running the tool requires Node.js version 22.12 or newer. The initial indexing step downloads an embedding model that takes tens of megabytes. Running compendio index in your terminal beforehand avoids timeouts on the first agent request.

What it helps with

  • reduce token consumption when querying local documentation
  • retrieve project guidelines by conceptual meaning rather than exact phrasing
  • prevent agents from reading entire files into memory
  • sync documentation updates automatically without separate watcher processes

Example prompts for the agent

  • Search our markdown docs for the database migration workflow
  • Locate the architecture decision record explaining token limits

How to install compendio-mcp

Platform CLI

claude mcp add compendio-mcp -- npx -y compendio-mcp

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 compendio-mcp

How to install compendio-mcp in Claude Code?

Run claude mcp add compendio-mcp -- npx -y compendio-mcp in your terminal. You must have Node.js 22.12 or higher installed on your system.

What does compendio-mcp do?

It indexes your markdown files locally and provides tools for hybrid search. Your assistant retrieves targeted text fragments instead of scanning whole documents.

Does compendio-mcp require third-party API keys?

No cloud services or credentials are used. The server computes embeddings on your CPU and saves the index in a local SQLite file.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor