Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
Fast per-repo documentation indexer and full-text search MCP server for codebases.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"docdex": {
"command": "npx",
"args": [
"-y",
"docdex"
]
}
}
}Run this in your terminal
claude mcp add docdex -- npx -y docdexPaste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"docdex": {
"command": "npx",
"args": [
"-y",
"docdex"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"docdex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"docdex"
]
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026
The registry name was verified with the GitHub account bekirdag, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.2.101) reached the registry today.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Turn your repository into fast, private context that humans and AI can trust.
Docdex is a local-first indexer and search daemon for documentation and source code. It sits between your raw files and your AI assistant, providing deterministic search, code intelligence, and persistent memory without ever uploading your code to a cloud vector store.
Most AI tools rely on "grep" (fast but dumb) or hosted RAG (slow and requires uploads). Docdex runs locally, understands code structure, and gives your AI agents a persistent memory.
| Problem | Typical Approach | The Docdex Solution |
|---|---|---|
| Finding Context | grep/rg (Noisy, literal matches) | Ranked, structured results based on intent. |
| Code Privacy | Hosted RAG (Requires uploading code) | Local-only indexing. Your code stays on your machine. |
| Siloed Search | IDE-only search bars | Shared Daemon serving CLI, HTTP, and MCP clients simultaneously. |
| Code Awareness | String matching | AST & Impact Graph to understand dependencies and definitions. |
Project map: context into OpenAI-compatible chat completions.Install once, point your agent at Docdex, and it keeps working in the background.
Requires Node.js >= 18. This will download the correct binary for your OS (macOS, Linux, Windows).
npm i -g docdex
[!WARNING]
Windows requirement: Docdex uses the MSVC runtime. Install the Microsoft Visual C++ Redistributable 2015-2022 (x64) before running
docdex/docdexd.
- Winget:
winget install --id Microsoft.VCRedist.2015+.x64
- Manual: download
vc_redist.x64.exefrom Microsoft: https://aka.ms/vs/17/release/vc_redist.x64.exe
- If
docdexdexits with0xC0000135, the runtime is missing.
If you have any of the following clients installed, Docdex automatically configures them to use the local MCP endpoint (daemon HTTP/SSE):
Claude Desktop, Cursor, Windsurf, Cline, Roo Code, Continue, VS Code, PearAI, Void, Zed, Codex.
*Note: Restart your AI client after installation.*
Run this once to build the index and graph data.
docdexd index --repo /path/to/my-project
Start the shared server. This handles HTTP requests and MCP connections.
docdex start
You can chat directly from the terminal.
docdexd chat --repo /path/to/my-project --query "how does auth work?"
Docdex is designed to be the "brain" for your AI agents. It exposes an MCP endpoint that agents connect to.
flowchart LR
Repo[Repo on disk] --> Indexer[Docdex Indexer] Indexer --> Daemon[Docdex Daemon] Daemon -->|HTTP + SSE| MCPClient[MCP Client] MCPClient --> Host[AI Agent / Editor]
Use the daemon HTTP/SSE endpoint. For sandboxed clients, Docdex can also serve MCP over local IPC (Unix socket or Windows named pipe), while HTTP/SSE remains the default for most MCP clients.
If you need to configure your client manually:
JSON (Claude/Cursor/Continue):
{
"mcpServers": { "docdex": { "url": "http://127.0.0.1:28491/v1/mcp/sse" } } }
Claude Code (CLI) JSON (`~/.claude.json` or project `.mcp.json`):
{
"mcpServers": { "docdex": { "type": "http", "url": "http://127.0.0.1:28491/v1/mcp" } } }
TOML (Codex):
[mcp_servers.docdex]
url = "http://127.0.0.1:28491/v1/mcp" tool_timeout_sec = 300 startup_timeout_sec = 300
Don't just find the string "addressGenerator"; find the definition and what it impacts.
# Find definition
curl "http://127.0.0.1:28491/v1/ast?name=addressGenerator&pathPrefix=src"
curl "http://127.0.0.1:28491/v1/graph/impact?file=src/app.ts&maxDepth=3"
Docdex allows you to store "facts" that retrieval helps recall later.
Repo Memory (Project specific):
# Teach the repo a fact
docdexd memory-store --repo . --text "Payments retry up to 3 times with backoff."
docdexd memory-recall --repo . --query "payments retry policy"
Agent Memory (User preference):
# Set a style preference
docdexd profile add --agent-id "default" --category style --content "Use concise bullet points."
Conversation memory is repo-scoped by default and optional. Repo-less sessions must use an explicit conversation namespace so they never silently reuse a repo archive. The subsystem imports transcripts, stores episodic summaries and working memory, derives diary entries and temporal KG facts into knowledge.db, and keeps recall under a strict wake-up budget.
The CLI archive, diary, and hook commands are HTTP-backed wrappers, so start docdex start or docdexd daemon first.
# Archive and inspect transcripts
docdexd conversations import --repo . ./session.txt --format plain_text --agent-id codex docdexd conversations list --repo . --agent-id codex docdexd conversations search --repo . "timeline_index" docdexd conversations read --repo .
docdexd conversations import --conversation-namespace shared-team ./session.txt --format plain_text --agent-id codex docdexd conversations search --conversation-namespace shared-team "timeline_index"
docdexd diary write --repo . --agent-id codex "Wake-up rollout validated against knowledge.db timeline output." docdexd diary read --repo . --agent-id codex
docdexd hook conversation --repo . \ --action session_close_summarization \ --source codex \ --agent-id codex \ --transcript ./session.txt \ --format plain_text \ --wait-for-processing
curl -X POST http://127.0.0.1:28491/v1/wakeup \ -H "Content-Type: application/json" \ -d '{"agent_id":"codex","query":"timeline_index","max_tokens":96}'
curl -X POST http://127.0.0.1:28491/v1/wakeup \ -H "Content-Type: application/json" \ -H "x-docdex-conversation-namespace: shared-team" \ -d '{"agent_id":"codex","query":"timeline_index","max_tokens":96}'
curl "http://127.0.0.1:28491/v1/kg/query?q=knowledge.db&limit=10" curl "http://127.0.0.1:28491/v1/kg/search/nodes?q=knowledge&limit=10" curl "http://127.0.0.1:28491/v1/kg/neighborhood?entity=knowledge.db&limit=10" curl "http://127.0.0.1:28491/v1/kg/timeline?entity=knowledge.db&limit=10"
curl -X POST http://127.0.0.1:28491/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{ "model": "fake-model", "messages": [{"role": "user", "content": "What changed around knowledge.db?"}], "docdex": { "agent_id": "codex", "limit": 6, "include_libs": true, "dag_session_id": "session-123" } }'
Docdex detects supported local LLM services before it suggests installing anything. It can reuse Ollama, vLLM, llama.cpp-compatible OpenAI endpoints, LM Studio, LocalAI, SGLang, TGI-compatible deployments, and healthy local mcoda agents when they are already present. Ollama remains the recommended fallback because it is the easiest guided setup path.
docdex setup for an interactive wizard that lists detected services, models, embedding candidates, and local delegation agents.docdexd llm detect --json or docdexd llm diagnostics --json to see why a service/model was selected, skipped, or marked unhealthy.ollama pull nomic-embed-text.DOCDEX_OLLAMA_BASE_URL=http://127.0.0.1:11434 docdex start --host 127.0.0.1 --port 28491
Docdex runs as a local daemon serving:
docdexd chat/search, /v1/capabilities, /v1/search/rerank, /v1/search/batch, /v1/chat/completions, /v1/ast, /v1/graph/impact, /v1/conversations/*, /v1/diary/*, /v1/hooks/conversation, /v1/wakeup, /v1/kg/*/v1/mcp and /v1/mcp/ssedocdex_capabilities, docdex_rerank, docdex_batch_search, docdex_conversation_*, docdex_diary_*, docdex_conversation_hook, docdex_wakeup, docdex_kg_*Run a single daemon and mount additional repos on demand.
docdex start --port 28491
curl -X POST "http://127.0.0.1:28491/v1/initialize" \ -H "Content-Type: application/json" \ -d '{"rootUri":"file:///path/to/repo-a"}'
curl -X POST "http://127.0.0.1:28491/v1/initialize" \ -H "Content-Type: application/json" \ -d '{"rootUri":"file:///path/to/repo-b"}'
Notes:
x-docdex-repo-id: on HTTP requests.initialize.rootUri and reuse that repo automatically.127.0.0.1 is accessible without TLS for local agents.--expose and --auth-token.docs/usage.mddocs/http_api.mddocs/mcp/errors.md