code-context-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@code-context-mcphow does authentication work?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Code Context MCP Server
Make any LLM a codebase expert instantly. This MCP server provides deep code intelligence through semantic search, architecture mapping, security analysis, and smart context that fits perfectly in token windows. 90% more efficient than sending raw files. Perfect for Claude, GPT, and any LLM-powered IDE.
Installation
git clone https://github.com/RaheesAhmed/code-context-mcp.git
cd code-context-mcp
uv syncRelated MCP server: Portable MCP Toolkit
Usage
# Development mode with inspector
uv run mcp dev src/server.pyClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"code-context": {
"command": "uv",
"args": ["run", "--directory", "/path/to/code-context-mcp", "mcp", "run", "src/server.py"]
}
}
}Tools (16 Total)
Core Tools
Tool | Description |
| Condensed map of all symbols in entire codebase |
| File content with related imports |
| Find function/class definitions |
| Import relationships for a file |
| File count, lines, language breakdown |
| Read file with optional line range |
Advanced Search
Tool | Description |
| Find ALL places where a symbol is used |
| Auto-find relevant files for a question |
| Search code by meaning, not keywords |
Deep Analysis
Tool | Description |
| Trace callers/callees with Mermaid diagram |
| Auto-generate project layer diagram |
| Detect security, performance, quality issues |
Optimization
Tool | Description |
| Token-efficient multi-file context |
| What breaks when you change a file |
| Git history - recently modified files |
| Step-by-step execution path tracing |
Examples
# See entire codebase structure
get_repo_map(project_path="/path/to/project")
# Find all usages of a function
find_usages(project_path="/path/to/project", symbol="authenticate")
# Auto-find relevant code for a question
smart_context(project_path="/path/to/project", question="how does auth work?")
# Build call graph with visualization
get_call_graph(project_path="/path/to/project", function_name="main")
# Analyze before making changes
analyze_change_impact(project_path="/path/to/project", file_path="src/core.py")
# Trace execution flow
trace_code_flow(project_path="/path/to/project", entry_point="handleRequest")Requirements
Python 3.10+
License
MIT License - see LICENSE
Author
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides intelligent code context and analysis through semantic compression, AST parsing, and multi-language support. Offers 60-80% token reduction while enabling AI assistants to understand codebases through local analysis, OpenAI-enhanced insights, and GitHub repository integration.Last updated6483MIT
- Alicense-qualityCmaintenanceProvides AI-powered code intelligence for any codebase using local LLMs and vector search, enabling semantic code search, pattern analysis, and context-optimized code generation with 90% token savings.Last updated2MIT
- Alicense-qualityAmaintenanceSupercharges AI coding agents with a pre-indexed semantic code graph, enabling instant symbol relationships, impact analysis, and context retrieval across 20+ languages.Last updated77,80064,601MIT
- Alicense-qualityBmaintenanceProvides AI coding assistants with deep, semantic understanding of local codebases via AST-aware chunking, cross-repo symbol graphs, and architectural memory, enabling context-aware code search and dependency tracing.Last updated10MIT
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RaheesAhmed/code-context-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server