codeskeleton
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codeskeletonShow me skeletons for all Python files in the src directory."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CodeSkeleton
Compact Python code reader for AI agents. It returns file skeletons first, then lets the agent fetch only the implementation regions it actually needs.
Why: reading whole files is often noisy and expensive. CodeSkeleton exposes compact CLI and MCP tools for signatures, globals, symbols, targeted line ranges, and batch reads.
Install
From GitHub:
uv tool install "codeskeleton[mcp] @ git+https://github.com/dugd/CodeSkeleton.git"From a local checkout:
git clone https://github.com/dugd/CodeSkeleton.git
cd CodeSkeleton
uv sync --all-extras --devQuick check:
codeskel --help
codeskel skeleton "src/**/*.py" --preset minFrom a local checkout, prefix commands with uv run:
uv run codeskel --help
uv run codeskel skeleton "codeskeleton/*.py" --preset min
uv run codeskel-mcpWithout installing, run directly from GitHub:
uvx --from "codeskeleton[mcp] @ git+https://github.com/dugd/CodeSkeleton.git" codeskel --helpRelated MCP server: Code Scalpel
CLI Examples
codeskel skeleton codeskeleton/core.py
codeskel skeleton "codeskeleton/*.py" --preset min
codeskel skeleton codeskeleton/core.py --inline-bodies --inline-max-lines 2
codeskel symbols codeskeleton/core.py
codeskel implementation codeskeleton/core.py --symbol render_skeleton
codeskel implementation codeskeleton/core.py --lines 1-80 --preset min
codeskel implementation-batch '[{"path":"a.py","symbol":"foo"},{"path":"b.py","lines":"1-80"}]'
codeskel smart-batch render_skeleton "codeskeleton/**/*.py"Presets:
min: line ranges and signatures.medium: default; compact hashes, docstrings, globals, signatures.full: detailed metadata.
MCP Setup
The MCP server command is:
codeskel-mcpCodex
codex mcp add codeskeleton -- codeskel-mcpVerify:
codex mcp listClaude Code
claude mcp add --transport stdio codeskeleton -- codeskel-mcpInside Claude Code, run /mcp to verify the server is connected.
Gemini CLI
Add this to .gemini/settings.json in a project, or to the user settings file:
{
"mcpServers": {
"codeskeleton": {
"command": "codeskel-mcp"
}
}
}Restart Gemini CLI after changing settings.
MCP Tools
skeleton,skeletons: compact file maps for paths or globs.symbols: symbol list for a file.implementation,implementations: targeted code reads.implementation_batch: targeted reads across multiple files.smart_batch: find a symbol across files/globs and return matching implementations.
Suggested agent workflow:
Use
skeletonswithpreset="medium"first.Use
preset="min"for broad scans.Use
implementation_batchorsmart_batchinstead of full-file reads.
Development
uv sync --all-extras --dev
uv run pytest
uv run ruff check .
uv run ruff format --check .Status
Prototype. Currently Python-focused and AST-based.
This server cannot be deployed
Maintenance
Related MCP Connectors
Codebase intelligence for agents: 152 structured artifacts across 21 programs, one call.
Codebase intelligence for AI agents — dead code, blast radius, ownership.
Codebase graphs, caller impact analysis, and recorded project context for AI coding agents.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to intelligently navigate and understand codebases by providing instant file descriptions, semantic search, and context-aware recommendations, eliminating the need to repeatedly scan files.20MIT

Code Scalpelofficial
AlicenseNot gradedqualityCmaintenanceEnables AI assistants to surgically extract and analyze code, reducing token usage and costs by up to 200x compared to reading entire files.18MIT- AlicenseNot gradedqualityBmaintenanceIndexes codebases and lets AI agents retrieve precise code snippets (functions, classes, routes) instead of reading entire files, reducing token usage and improving accuracy.166 npm7MIT
- AlicenseNot gradedqualityBmaintenanceA navigable symbol map of your codebase for coding agents, enabling efficient code navigation and reading only relevant symbols instead of entire files.MIT