ContextSkeleton
Click on "Install 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., "@ContextSkeletonGet the repository skeleton and show token savings"
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.
âš¡ ContextSkeleton
Zero-latency Structural Code Folding CLI, Model Context Protocol (MCP) Server & Token Optimizer for AI Agents (Cursor, Claude Code, Windsurf, AGY).
ContextSkeleton folds function and class implementations while preserving top-level signatures, interface definitions, exported types, and docstrings across JavaScript, TypeScript, Python, Go, and C-style languages.
Token reduction scales with function size and implementation depth — typically 0% on trivial 1-2 line utility functions (comment-marker overhead exceeds the savings), 45-70% on production-sized modules with substantial function bodies, and up to 90%+ on large, implementation-heavy files. Across our internal benchmark set spanning small, medium, and large files in TypeScript, Python, Go, and Rust, the blended average was 67%.
🚀 Quick Start
1. Run CLI Scan
Scan your project to view code compression and token savings metrics:
npx context-skeleton scan2. Copy Formatted Context for AI Chat Prompts
Dump the compressed skeleton context directly to stdout for Cursor, Claude Code, or Windsurf:
npx context-skeleton copy > context.md3. Add to PRs & .cursorrules / CLAUDE.md
Inject automated token-savings badges into your repository:
npx context-skeleton badgeRelated MCP server: token-pilot
🤖 Model Context Protocol (MCP) Integration
Integrate ContextSkeleton natively with Claude Code, Cursor, or AGY agents.
Add to your claude_desktop_config.json or .cursorrules:
{
"mcpServers": {
"context-skeleton": {
"command": "npx",
"args": ["-y", "context-skeleton-mcp"]
}
}
}Exposed MCP Tools:
get_repo_skeleton: Returns folded structural skeleton of target repository.unfold_symbol: Retrieves exact implementation of a specific function or class on demand.get_token_savings: Returns exact token & prompt cost savings metrics.
📊 Features & Benchmarks
Feature | Raw Codebase | With ContextSkeleton | Benefit |
Blended Benchmark (9 files) | 6,183 tokens | 2,028 tokens | 67.2% Blended Savings |
Production Modules (88-135 lines) | ~550 tokens / file | ~220 tokens / file | 45% to 70% Reduction |
Large Files (500+ lines) | 2,963 tokens | 236 tokens | 92.0% Reduction |
Syntax Errors | Common (unpruned) | 0% (Valid Signatures) | Syntactically intact |
Note: Token reduction scales with function size and implementation depth — typically 0% on trivial 1-2 line utility functions (comment-marker overhead exceeds the savings), 45-70% on production-sized modules with substantial function bodies, and up to 90%+ on large, implementation-heavy files. Across our internal benchmark set spanning small, medium, and large files in TypeScript, Python, Go, and Rust, the blended average was 67%.
💻 Tech Stack ($0 Infra Cost)
Engine: Zero-dependency Node.js Structural Signature Pruner & Token Counter
MCP Server: Stdio JSON-RPC 2.0
Web App: Single-Source HTML5 + Modern CSS + Pure JS
📄 License
MIT License © 2026 ContextSkeleton
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceAn MCP server that provides structural codebase indexing and surgical query tools to drastically reduce token usage through symbol-level searches and transitive impact analysis. It supports multiple languages and integrates with git to help AI agents understand code dependencies and the impact of changes in sub-millisecond time.Last updated691,097MIT
- AlicenseAqualityAmaintenanceMCP server that reduces token consumption in AI coding assistants by up to 90% via structural reads, PreToolUse hooks, and tp-\* subagents.Last updated257884MIT
- Alicense-qualityCmaintenanceAn MCP server that provides structure-aware code analysis (symbol trees, dependencies, docs) to reduce AI agent token consumption by up to 99%, along with Git commit intelligence.Last updatedMIT
- AlicenseAqualityBmaintenanceAn AST-based MCP server that provides token-efficient codebase skeletons to LLM agents, reducing context token usage by 80-95% by exposing structural information instead of full source files.Last updated5272MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/msgtorahul-art/context-skeleton'
If you have feedback or need assistance with the MCP directory API, please join our Discord server