Code Context Provider MCP
@AB498
About Code Context Provider MCP
MCP server that provides code context and analysis for AI assistants. Extracts directory structure and code symbols using WebAssembly Tree-sitter parsers with Zero Native Dependencies.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"code-context-provider-mcp": {
"command": "npx",
"args": [
"code-context-provider-mcp"
]
}
}
}Tools
1Returns Complete Context of a given project directory, including directory tree, and code symbols. Useful for getting a quick overview of a project. Use this tool when you need to get a comprehensive overview of a project's codebase. Useful at the start of a new task.
Overview
What is Code Context Provider MCP?
Code Context Provider MCP is a Model Context Protocol server that provides code context and analysis for AI assistants. It extracts directory structure and code symbols using WebAssembly Tree-sitter parsers with zero native dependencies, compatible with the MCP protocol for seamless integration with AI assistants.
How to use Code Context Provider MCP?
Install via Smithery, npx, or npm global (code-context-provider-mcp@latest). Configure as an MCP server in your client’s mcpServers JSON with command npx -y code-context-provider-mcp@latest. Once connected, call the get_code_context tool with an absolute directory path and optional parameters for code analysis, symbol extraction, file patterns, and depth.
Key features of Code Context Provider MCP
- Generates directory tree structure
- Analyzes JavaScript/TypeScript and Python files
- Extracts code symbols (functions, variables, classes, imports, exports)
- Compatible with the MCP protocol for AI assistant integration
- Zero native dependencies (WebAssembly Tree-sitter)
- Configurable analysis depth and file patterns
Use cases of Code Context Provider MCP
- Provide a full codebase snapshot to an AI coding assistant
- Extract functions and classes from a project for refactoring
- Analyze specific file types in a large monorepo using file patterns
- Limit traversal depth to focus on root-level source code in huge projects
- Give AI assistants structured context about a directory’s contents
FAQ from Code Context Provider MCP
What programming languages does Code Context Provider MCP support?
Code symbol analysis supports JavaScript (.js), JSX (.jsx), TypeScript (.ts), TSX (.tsx), and Python (.py) files. Other file types can be included in the directory structure via filePatterns, though symbol extraction may be limited.
What parameters does the get_code_context tool accept?
It requires absolutePath (string) and accepts optional booleans analyzeJs and includeSymbols, an enum symbolType (functions, variables, classes, imports, exports, all), an array filePatterns, and a number maxDepth (default 5). Anonymous functions are automatically filtered from results.
How can I handle large projects with Code Context Provider MCP?
Use the maxDepth parameter to limit directory traversal: maxDepth: 0 for root only, 2 for one subdirectory level, etc. This is useful for monorepos or projects with many dependencies.
How do I install Code Context Provider MCP?
You can install via Smithery (npx -y @smithery/cli install @AB498/code-context-provider-mcp --client claude), run with npx directly, or install globally with npm install -g code-context-provider-mcp and then run code-context-provider-mcp.
Does Code Context Provider MCP require any native dependencies?
No. It uses WebAssembly Tree-sitter parsers, so it has zero native dependencies and runs out of the box with Node.js.
Frequently asked questions
What programming languages does Code Context Provider MCP support?
Code symbol analysis supports JavaScript (.js), JSX (.jsx), TypeScript (.ts), TSX (.tsx), and Python (.py) files. Other file types can be included in the directory structure via `filePatterns`, though symbol extraction may be limited.
What parameters does the `get_code_context` tool accept?
It requires `absolutePath` (string) and accepts optional booleans `analyzeJs` and `includeSymbols`, an enum `symbolType` (functions, variables, classes, imports, exports, all), an array `filePatterns`, and a number `maxDepth` (default 5). Anonymous functions are automatically filtered from results.
How can I handle large projects with Code Context Provider MCP?
Use the `maxDepth` parameter to limit directory traversal: `maxDepth: 0` for root only, `2` for one subdirectory level, etc. This is useful for monorepos or projects with many dependencies.
How do I install Code Context Provider MCP?
You can install via Smithery (`npx -y @smithery/cli install @AB498/code-context-provider-mcp --client claude`), run with npx directly, or install globally with `npm install -g code-context-provider-mcp` and then run `code-context-provider-mcp`.
Does Code Context Provider MCP require any native dependencies?
No. It uses WebAssembly Tree-sitter parsers, so it has zero native dependencies and runs out of the box with Node.js.
Basic information
More Developer Tools MCP servers
Vibgrate MCP
VibgrateQuery your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up

PuzzleTide Puzzle Generator
Caravaca-LabsWord search generator, crossword generator, and sudoku generator + solver as a local-first MCP server. 15 deterministic tools: printable PDF puzzle worksheets, themed word banks, and verifiable LLM evals. From the makers
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.

Sentry
modelcontextprotocolModel Context Protocol Servers
AptiBuild AI — Career Intelligence
ParklandBuildsAptiBuild AI MCP Server — career, labor market, and business idea intelligence for AI agents. 11 tools covering real-time FRED labor market signals, BLS wage data (126 occupations), AI-generated app ideas, career paths,
Comments