Deepcontext

Developer tools

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.

Your AI app calls the Deepcontext MCP server, which does the developer tools work and sends the result back to the chat.

About Deepcontext

Deepcontext is a community MCP server from Wildcard-Official, filed in our directory under developer tools. 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.

Deepcontext runs on your own machine: your AI app starts it with the command npx -y @wildcard-ai/deepcontext and talks to it over standard input and output.

At a glance

Publisher
Wildcard-Official (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @wildcard-ai/deepcontext
Written in
TypeScript
License
Apache-2.0
GitHub stars
276

How to set up Deepcontext

  1. Install Node.js on the machine that runs your AI app, because Deepcontext starts with npx and downloads its package on first run.
  2. Check the Deepcontext README for keys or settings; the registry lists none that Deepcontext requires.
  3. Add Deepcontext to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Deepcontext tools to confirm the connection.
  5. Run one read-only task with Deepcontext first, and keep your app asking before each tool call until the results look right.

Deepcontext compared with similar servers

  • Maigret by w0h1v has fewer GitHub stars than Deepcontext (276 against 276); both are community servers, and both run locally.
  • Reasoner by Jacck has more GitHub stars than Deepcontext (277 against 276); both are community servers, and both run locally.
  • reMarkable by SamMorrowDrums has fewer GitHub stars than Deepcontext (273 against 276); both are community servers, and both run locally.

Before you connect Deepcontext

  • Give Deepcontext its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Deepcontext tool call until you trust what it does with them.
  • Treat text that Deepcontext fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Deepcontext on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Deepcontext

How marketing and sales teams put Deepcontext to work, by company size. Pick the size closest to yours and start Deepcontext on one use case.

Small business

  • A small business with a developer can use Deepcontext to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Deepcontext to explain and fix a marketing site issue without context switching between tools.
  • Deepcontext runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Deepcontext to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Deepcontext to keep scripts and automations documented and versioned as they change.
  • Start Deepcontext on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Deepcontext with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Deepcontext so web and marketing engineering share one reviewed way of working with AI.
  • Deepcontext is a community server, so have security review the code and pin a version before Deepcontext touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Deepcontext README

From Wildcard-Official/deepcontext-mcp on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

Smarter Context for Large Codebases

DeepContext is an MCP server that adds symbol-aware semantic search to Codex CLI, Claude Code, and other agents, giving them more precise context of even the largest codebases. Currently supports Typescript and Python.

Quickstart

  1. Visit the Wildcard DeepContext page
  2. Click "Generate API Key"
  3. Copy your API key
  4. Paste installation command for your MCP client
  5. Type index this codebase to index the current directory

Claude Code:

claude mcp add deepcontext \
  -e WILDCARD_API_KEY=your-wildcard-api-key \
  -- npx @wildcard-ai/deepcontext@latest

Codex:

# Add to ~/.codex/config.toml
[mcp_servers.deepcontext]
command = "npx"
args = ["-y", "@wildcard-ai/deepcontext@latest"]
env = { "WILDCARD_API_KEY" = "your-wildcard-api-key" }

Demo

https://github.com/user-attachments/assets/9a2d418f-497b-42b9-bbb2-f875ef0007b4

Why DeepContext MCP?

Most coding agents use grep based search that match exact text, these searches miss semantically related code and fill context windows with irrelevant results. Large codebases amplify this problem, where text search returns hundreds of matches that quickly overwhelm conversation capacity. This leads to slow completions, more hallucinations, and lower success rates.

DeepContext provides agents with intelligent search that preserves context windows by finding only relevant code chunks.

  • Semantic accuracy: Matches code by meaning and relationships rather than text patterns, finding related functions across files that keyword search misses.

  • Reduced token usage: Returns precise code chunks instead of every file containing your search terms, preserving conversation context windows and reducing costs.

  • Search speed: Searches code immediately through pre-indexed data for instant file discovery.

MCP Tools

index_codebase

Creates a searchable index of your codebase for semantic search.

search_codebase

Finds relevant code using natural language or keyword queries.

get_indexing_status

Shows indexing status and file counts for your codebases.

clear_index

Removes all indexed data for a codebase.

Architecture

MCP Integration Flow

  • Coding Agent communicates with DeepContext through the Model Context Protocol
  • MCP server receives requests, validates parameters, and routes to appropriate core components
  • For long-running operations like indexing, spawns detached background processes to prevent timeouts
    • Background workers handle large codebases without blocking MCP channel // Reword

AST-Based Parsing

  • Tree-sitter parsers analyze source code to build Abstract Syntax Trees
    • Python, TypeScript, and JavaScript language grammars for accurate parsing
    • Semantic node identification for functions, classes, interfaces, and modules
  • Symbol extraction identifies functions, classes, interfaces, types, variables, and constants
    • Scope analysis determines local vs exported vs global visibility
    • Parameter and return type extraction for function signatures
  • Import/export analysis maps module dependencies and cross-file relationships
  • Creates chunks at semantic boundaries rather than arbitrary line or token splits
    • Large file handling through range-based parsing with overlapping windows

Hybrid Search with Reranking

  • Search operates in three stages
    • Hybrid search combines vector similarity and BM25 full-text search
    • Jina reranker-v2 for final relevance optimization
  • Vector similarity finds semantically related code using embeddings
    • Jina text embeddings generate 1024-dimension vectors for code chunks
  • BM25 performs traditional keyword matching for exact terms
    • Full-text indexing enables precise identifier and comment matching
  • Results fused using configurable weights, then reordered by Jina reranker

Incremental Indexing

  • Uses file modification times and content hashes to track changes
    • SHA-256 hashing detects content modifications at byte level
  • Only reprocesses files with different hashes during reindexing
    • Avoids unnecessary parsing and embedding generation for unchanged files

Content Filtering

  • Scores files based on extension patterns, path components, and content analysis
    • Language detection and file type classification for processing decisions
  • Excludes test files, generated code, minified files, and build outputs during indexing
    • Pattern matching against common test frameworks and build tool outputs
  • Filters documentation and configuration files to focus on source code

Self Hosting

Self-hosting requires code modifications to integrate directly with vector storage and embedding providers, as the current implementation uses the Wildcard API backend.

Prerequisites

  • Node.js 20+ for ES module support and performance optimizations
  • Turbopuffer API key for vector storage and hybrid search operations
  • Jina AI API key for text embeddings and reranking services

Setup

git clone https://github.com/Wildcard-Official/deepcontext-mcp.git
cd deepcontext
npm install
npm run build

Integration

claude mcp add deepcontext-local \
  -e TURBOPUFFER_API_KEY=your-turbopuffer-key \
  -e JINA_API_KEY=your-jina-key \
  -- node /path/to/deepcontext/dist/standalone-mcp-integration.js

Contributing

Thanks for your interest! We’re currently not accepting external contributions as we’re an early-stage startup focused on rapid iteration. We may open things up in the future, feel free to ⭐ the repo to stay in the loop.

License

Licensed under the Apache License.

Questions about Deepcontext

What is the Deepcontext MCP server?

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. Deepcontext is maintained by Wildcard-Official on GitHub at Wildcard-Official/deepcontext-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Deepcontext MCP server?

Add Deepcontext to your AI app's MCP config with the command npx -y @wildcard-ai/deepcontext. In Claude Code, run claude mcp add --transport stdio deepcontext -- npx -y @wildcard-ai/deepcontext. To run Deepcontext this way you need Node.js installed.

Does Deepcontext need an API key?

The registry lists no required keys for Deepcontext. Check the Deepcontext README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Deepcontext an official MCP server?

No. Deepcontext is a community server maintained by Wildcard-Official. Community servers can be excellent; read the code and the open issues before you give Deepcontext access to company data.

What license is Deepcontext under?

Deepcontext is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Deepcontext; the service it connects to has its own terms.