deepcontext
DeepContext is an MCP server that adds symbol-aware semantic search to Claude Code, Codex CLI, and other agents for faster, smarter context on large codebases.
claude mcp add --transport stdio wildcard-official-deepcontext-mcp npx -y @wildcard-ai/deepcontext@latest \ --env WILDCARD_API_KEY="your-wildcard-api-key"
How to use
DeepContext is an MCP server that provides semantic, symbol-aware search capabilities for large codebases, integrating with Codex, Claude Code, and other agents. It enables agents to locate relevant code chunks by meaning rather than exact text, reduces token usage by returning precise snippets, and speeds up retrieval with pre-indexed data. The server exposes tools to index, query, monitor, and manage your codebases: index_codebase creates a semantic search index, search_codebase retrieves relevant code given natural language or keywords, get_indexing_status shows progress and file counts, and clear_index removes indexed data for a project. To use DeepContext, obtain an API key from Wildcard, configure your MCP client to point at the server (via npx @wildcard-ai/deepcontext@latest), and provide your API key through environment variables. The server is designed to work with TypeScript and Python projects and uses Tree-sitter parsing, semantic symbol extraction, and a hybrid search pipeline (vector similarity plus BM25) to deliver precise results quickly.
How to install
Prerequisites:
- Node.js 20+ (for ES module support and performance)
- npm (comes with Node.js)
Installation steps:
- Clone the MCP repository (or reference the DeepContext MCP package in your environment):
git clone https://github.com/Wildcard-Official/deepcontext-mcp.git
cd deepcontext
- Install dependencies and build if necessary:
npm install
# If a build step is required by the project, run:
npm run build
- Run or integrate the MCP server using the recommended MCP client configuration (example shown below). If you are using a hosted client, you can add the server via the client’s MCP configuration command:
claude mcp add deepcontext \
-e WILDCARD_API_KEY=your-wildcard-api-key \
-- npx @wildcard-ai/deepcontext@latest
Alternatively, for Codex users, add to ~/.codex/config.toml:
[mcp_servers.deepcontext]
command = "npx"
args = ["-y", "@wildcard-ai/deepcontext@latest"]
env = { "WILDCARD_API_KEY" = "your-wildcard-api-key" }
- Start using the MCP server through the client you configured (Claude Code or Codex).
Additional notes
Tips and common notes:
- Ensure you provide a valid WILDCARD_API_KEY for your DeepContext integration. Without it, requests will fail to authenticate.
- The MCP server is designed to work with TypeScript and Python codebases, leveraging Tree-sitter for robust parsing and semantic extraction.
- Indexing is incremental: the server tracks file hashes and modification times to reprocess only changed files, which helps large repos stay responsive.
- If you plan self-hosting, you may need additional keys for vector storage or reranking services (e.g., Turbopuffer and Jina) depending on your deployment setup. See the self-hosting notes in the repository for details.
- When indexing, consider excluding test files, generated code, and build outputs to keep the index focused on source code.
- You can adjust the MCP integration flow weights between vector similarity and BM25 in your deployment to tune results for your codebase.
Related MCP Servers
everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Cowork, and beyond.
claude-delegator
Delegate tasks to Codex GPT 5.2 directly from within Claude Code.
claude-emporium
🏛 [UNDER CONSTRUCTION] A (roman) claude plugin marketplace
sandboxed.sh
Self-hosted orchestrator for AI autonomous agents. Run Claude Code & Open Code in isolated linux workspaces. Manage your skills, configs and encrypted secrets with a git repo.
claude-code-open
Open source AI coding platform with Web IDE, multi-agent system, 37+ tools, MCP protocol. MIT licensed.
sub-agents
Define task-specific AI sub-agents in Markdown for any MCP-compatible tool.