MCP.so
Sign In
C

ContextBridge MCP Server

@tijuthomas5

Basic information

License

NOASSERTION

Transports

stdio

Author

tijuthomas5

Submitted by

Tiju Thomas

About ContextBridge MCP Server

Local-first code retrieval for AI agents — cuts codebase context from tens of thousands of tokens to a few hundred, with zero hallucinated file paths.

ContextBridge MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "context_bridge": {
      "url": "http://127.0.0.1:8755/sse"
    }
  }
}

ContextBridge MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list directly from this server's endpoint using the button above.

Overview

What is ContextBridge?

ContextBridge is a local-first code retrieval layer for AI coding agents. It indexes codebase structure via Graphify output, then exposes MCP tools that any AI client (Claude Code, Codex, Cursor, etc.) can call to get ranked files, symbols, and dependency chains — optionally validated and re-ranked by a local LLM before reaching the cloud AI.

How to use ContextBridge?

Setup runs via platform-specific batch scripts (setup_context_bridge.bat on Windows, equivalents in setup/mac/ or setup/linux/). Edit the generated config.hybrid.json to point settings.discovery.* at your source folders, re-run setup, then start the server. By default ContextBridge runs SSE at http://127.0.0.1:8755/sse; set CONTEXT_BRIDGE_TRANSPORT=stdio for stdio transport. A dashboard is available at http://127.0.0.1:8795.

Key features of ContextBridge

  • Keyword-first hybrid retrieval with guarded vector assist
  • Optional local AI analysis that validates and re-ranks results
  • Swappable profile plugins for project-specific ranking
  • MCP tools: search_context_hybrid, find_code_locations, get_module_summary, record_outcome, and more
  • Rerunnable safe setup that never overwrites existing configs

Use cases of ContextBridge

  • Replace pasting 10–50 raw source files with a few hundred tokens of ranked context
  • Ground AI agent decisions in exact file paths, symbols, and line hints
  • Reduce token costs and noise by focusing on the 3–5 files that matter
  • Decompose multi-topic prompts into compact, grounded search results

Frequently asked questions

1

What does ContextBridge do compared to a reasoning engine?

ContextBridge is a codebase routing and retrieval tool, not a reasoning engine — it finds the right files, symbols, and connections but does not prove causality or choose the fix.

2

What dependencies are required?

ContextBridge indexes Graphify output (graph.json, GRAPH_REPORT.md, source-files.txt, scope-summary.md, manifest.json) plus /behavior/ docs. The optional local AI stage uses Ollama by default but also supports Anthropic, OpenAI, or OpenRouter.

3

What transport does ContextBridge use?

SSE transport on `http://127.0.0.1:8755/sse` is recommended for multiple clients to share one server. Stdio transport is supported by setting `CONTEXT_BRIDGE_TRANSPORT=stdio` before starting.

4

Where does my codebase data live?

All indexing is local — ContextBridge builds its index from local Graphify output and docs; raw source files are never indexed. The index is refreshed by re-running setup after each Graphify update.

5

Are there any limitations I should know?

Dashboard live stats can lag up to ~15 seconds, and history lists (recent events, missed files, failed queries) show only the most recent 1000 entries — both are intentional performance tradeoffs, not data loss.

Comments

More MCP servers