Doc Bridge
Citation-backed documentation answers and drift checks for coding agents
- Pricing
- Open source
- Platforms
- CLI, self-hosted
- Runs
- Locally
- Version
- 2.4.0
- Listing updated
- 2 days ago
About Doc Bridge
Doc Bridge is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
Before an agent edits code, doc-bridge tells it where to start reading, which files or packages it may edit, which checks prove the change, and which human guide explains the feature. That routing contract is returned as a small handoff object rather than a pile of loose files.
It indexes Fumadocs, Docusaurus and plain Markdown, and answers questions from the command line (ak-docs) or over MCP with path:line citations. It also records what each doc references, so when the referenced code changes it reports the exact doc line that went stale. An opt-in gate can hold back the index and llms.txt until those findings are fixed.
The README says the core runs without any LLM or API key. It also reads agent memory files and drafts a human-reviewed promotion into project docs. Its published numbers are labelled as historical or directional, such as 88.3% hit@3 on a retrieval benchmark.
Install
Run in a terminal
claude mcp add doc-bridge -- npx -y @agentskit/doc-bridgeAdd to claude_desktop_config.json
{
"mcpServers": {
"doc-bridge": {
"command": "npx",
"args": [
"-y",
"@agentskit/doc-bridge"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"doc-bridge": {
"command": "npx",
"args": [
"-y",
"@agentskit/doc-bridge"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"doc-bridge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agentskit/doc-bridge"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"doc-bridge": {
"command": "npx",
"args": [
"-y",
"@agentskit/doc-bridge"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"doc-bridge": {
"command": "npx",
"args": [
"-y",
"@agentskit/doc-bridge"
]
}
}
}What it does
- Cited answers
- Each answer names the file and line it came from.
- Agent handoffs
- Returns start-here doc, edit roots, checks and the human doc.
- Drift findings
- Flags the doc line when the code it references changes.
- Publication gate
- Optionally blocks index and llms.txt output until findings are fixed.
- Memory promotion
- Classifies agent memory notes and drafts a reviewed docs change.
- No LLM required
- The deterministic core needs no model or API key.
Good for
- Stop coding agents editing the wrong package
- Catch stale guides after an API signature changes
- Give agents path:line citations from repo docs
- Fail CI when cited documentation is out of date
- Turn agent memory notes into reviewed docs
Pricing
Open source
Open source (README shows a licence badge)
Prices change. Check doc-bridge.agentskit.io before you buy.
Doc Bridge FAQ
How do I run it?
It is an npm package, @agentskit/doc-bridge, with the CLI ak-docs and an MCP server over stdio.
Does it need an LLM key?
No. The README says the core works without any LLM or API key.
Which doc formats does it read?
Fumadocs, Docusaurus and plain Markdown, plus ownership docs.
Does the gate always block publishing?
No. It is opt-in; with it off, findings stay advisory.
Is Doc Bridge free?
Yes. Doc Bridge is open source, so you can use and self-host it for free.
How do I add Doc Bridge to Claude Code?
Run this command in your terminal: claude mcp add doc-bridge -- npx -y @agentskit/doc-bridge
What are the best alternatives to Doc Bridge?
The closest alternatives to Doc Bridge are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to Doc Bridge

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools