CodeTree MCP Server
MCP (Model Context Protocol) server for CodeTree. Query code repositories using natural language from Claude Desktop, Cline, Continue, and other MCP-compatible clients.
Installation
pip install codetree-mcp
Setup for Claude Desktop
Add to your Claude Desktop config:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"codetree": {
"command": "codetree-mcp",
"env": {
"OPENAI_API_KEY": "sk-your-key-here"
}
}
}
}
Restart Claude Desktop after configuration.
Available Tools
| Tool | Description |
|---|---|
codetree_index |
Index a repository (required before other operations) |
codetree_query |
Ask natural language questions about code |
codetree_tree |
Show the hierarchical code structure |
codetree_find |
Find all references to a symbol |
codetree_stats |
Get repository statistics |
Usage in Claude
Once configured, ask Claude:
- "Use codetree to index /path/to/my/project"
- "Query the codebase: how does authentication work?"
- "Show me the code structure"
- "Find all references to UserService"
Requirements
- Python 3.10+
- OpenAI or Anthropic API key (for LLM queries)
Links
Metadata
Release files for codetree-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| codetree_mcp-0.1.0.tar.gz | 6.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codetree_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / codetree_mcp-0.1.0.tar.gz
| Download URL | codetree_mcp-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
218e5d9bb32192efbbf9580c270f87b7a4c62f5adc8e922761fb75276594fb48
|
|
BLAKE2b-256 checksum How to use checksums |
5975760f308eb8ba17f9cedd83feede2847f4fe6bb40d733df74cfc36b324310
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / codetree_mcp-0.1.0-py3-none-any.whl
| Download URL | codetree_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c30245ed03c0c2263e749695aef92a993ff7cd956053ca4940508df561a758b
|
|
BLAKE2b-256 checksum How to use checksums |
ee2961c3fe318afd6e6003b93aa542a9bc046913688e8cb61792bb4e971e0acc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for codetree-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.