# TreeSitter Code Structure MCP Server

> Use this tool when you need to analyze and navigate complex source code across multiple languages. It solves problems related to code understanding and exploration by extracting structural elements like classes, functions, and parameters, and provides LLM-optimized markdown output. The tool takes source code as input and outputs structured markdown, making it ideal for use cases where codebase navigation and comprehension are crucial.

Canonical page: https://skillsregistry.net/skills/darkeden-coding-codestructuremcp  
JSON: https://api.skillsregistry.net/v1/skills/darkeden-coding-codestructuremcp

## Description

Analyzes source code across multiple languages to extract structural elements like classes, functions, and parameters using tree-sitter. It provides LLM-optimized markdown output that includes nesting levels, line numbers, and signatures to facilitate codebase navigation.

## Trust

- **Trust score (0–1):** 0.96
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-28

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/m6vjki7ogy)
- **Repository:** <https://github.com/DarkEden-coding/CodeStructureMCP>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "darkeden-coding-codestructuremcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/darkeden-coding-codestructuremcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/darkeden-coding-codestructuremcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
