Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

CodeTree MCP server

by thinkyminer/codetreeMIT licenceAudited 8 Oct 2026 · source ffd017b8e557

PyPI mcp-server-codetree★ 30
✓SAFEGrade B · 89/100 · 8 Oct 2026 · ffd017b
30GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 23 tools: 22 read, 1 write and 0 destructive. The audit recorded 7 findings (0 critical, 0 high, 0 medium, 6 low). Maintainer's description: MCP server with 23 tools for structured code understanding via tree-sitter. 10 languages. 999 tests. One-command install.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “CodeTree MCP server (thinkyminer/codetree)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/thinkyminer/codetree

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium6 low1 info

7 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkNone observedNothing seen in the source
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainPASS 6 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner thinkyminerUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPImcp-server-codetree, no version recorded
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push4 months agoActivity of the repository when we read it.
  • Source commit readffd017b8e557The audit covers exactly this commit, read on 8 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory23 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (7)

Sorted by severity

LOWFilesystem / pathfs.credential_store · tests/test_path_security.py:28
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"/root/.ssh/id_rsa",
Why
touches a credential store
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:19
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"../../../etc/passwd",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:20
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"../../secret.txt",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:22
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"src/../../etc/shadow",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:126
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
result = server_and_tools["find_dead_code"]("../../../etc/passwd")
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_path_security.py:146
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
result = server_and_tools["analyze_dataflow"]("../../../etc/passwd", "main")
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.md:14
F-08 Supply chainCWE-829 · CWE-1357Layer L2
**Prerequisite:** Install [uv](https://docs.astral.sh/uv/getting-started/installation/) if you don't have it (`curl -LsSf https://astral.sh/uv/install.sh | sh`).
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

23 declared in source · 0 destructive

22 read1 write0 destructive
ToolRiskWhat it does
get_importswriteGet import/use statements from a source file.
analyze_dataflowreadAnalyze variable dataflow and security taint paths in a function.
detect_clonesreadFind duplicate or near-duplicate functions in the repo.
find_dead_codereadFind symbols that are defined but never referenced elsewhere in the repo.
find_hot_pathsreadFind high-leverage optimization targets by combining complexity and call frequency.
find_referencesreadFind all usages of a symbol across the entire repo.
find_testsreadFind test functions associated with a symbol.
get_blast_radiusreadFind all functions transitively affected if a symbol is changed.
get_call_graphreadGet what a function calls and what calls it across the repo.
get_change_impactreadAnalyze impact of a change — by explicit symbol or git diff.
get_complexityreadGet cyclomatic complexity of a function.
get_dependency_graphreadGet the file dependency graph as Mermaid syntax or a list.
get_file_skeletonreadGet all classes and function signatures in a source file without their bodies.
get_repository_mapreadGet a compact overview of the repository for onboarding.
get_skeletonsreadGet skeletons for multiple files in one call.
get_symbolreadGet the full source code of a specific function or class by name.
get_symbolsreadGet the full source code of multiple symbols in one call.
git_historyreadAnalyze git history: blame, churn, or change coupling.
index_statusreadReport on graph index freshness and stats.
resolve_symbolreadDisambiguate a short symbol name into ranked qualified matches.
search_graphreadSearch the code graph with flexible filters and pagination.
search_symbolsreadSearch for symbols across the repo with flexible filters.
suggest_docsreadFind undocumented functions and assemble context for writing docs.

Install

audited commit ffd017b

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit ffd017b only.

claude mcp add mcp-server-codetree -- uvx mcp-server-codetree

The command does not pin a version; the audit covers commit ffd017b8e557. Transport: not declared. No environment variables required.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · ffd017b8e557

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/thinkyminer/codetree/badge.svg)](https://modelsatlas.com/mcp/thinkyminer/codetree/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about CodeTree MCP server

What is the CodeTree MCP server?
MCP server with 23 tools for structured code understanding via tree-sitter. 10 languages. 999 tests. One-command install.
What tools does CodeTree expose?
23 in total: 22 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is CodeTree safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does CodeTree need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (ffd017b8e557), read on 2026-10-08. The repository is watched and re-audited when it changes.

Sources

  • thinkyminer/codetree on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit ffd017b8e557Observed · 8 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.