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.
Overview
What is Code Context Provider MCP?
Code Context Provider MCP is a server that provides code context and analysis for AI assistants. It extracts directory structures and code symbols using WebAssembly Tree-sitter parsers with zero native dependencies.
How to use Code Context Provider MCP?
To use the Code Context Provider MCP, you can set it up using the MCP protocol. For Windows, run the command using cmd.exe with npx, and for MacOS/Linux, use npx directly. You can also install it globally using npm.
Key features of Code Context Provider MCP?
- Generates directory tree structures.
- Analyzes JavaScript/TypeScript and Python files.
- Extracts code symbols such as functions, variables, classes, imports, and exports.
- Compatible with the MCP protocol for seamless integration with AI assistants.
Use cases of Code Context Provider MCP?
- Analyzing codebases for AI assistant integration.
- Extracting code symbols for documentation generation.
- Providing context-aware code suggestions in development environments.
FAQ from Code Context Provider MCP?
- What programming languages does it support?
It supports JavaScript, TypeScript, and Python for code symbol analysis.
- Is it necessary to install dependencies?
No, it uses WebAssembly Tree-sitter parsers with zero native dependencies.
- How can I analyze a specific directory?
Use the
getContexttool with the absolute path of the directory you want to analyze.
Server Config
{
"mcpServers": {
"code-context-provider-mcp": {
"command": "npx",
"args": [
"code-context-provider-mcp"
]
}
}
}