Genpark Codebase Dead Code Unreachable Pruner Skill
FreeNot checkedAST-level static call-graph analyzer and dead code pruner identifying orphaned functions, unreachable methods, and token-bloat clusters.
About
AST-level static call-graph analyzer and dead code pruner identifying orphaned functions, unreachable methods, and token-bloat clusters.
README
Python 3.9+ License MIT MCP Compatible GenPark AI Zero Dependencies
Production-Grade Coding Agent & AST Static Analysis Refactoring Skill • 100% Standard Library Python • Native Model Context Protocol (MCP)
🌐 GenPark MCP Hub Showcase • 📦 Official Website • 📖 Documentation
📌 Overview & Capability
genpark-codebase-dead-code-unreachable-pruner-skill is a deterministic, zero-dependency Python skill engineered with 100% production-grade functional parity for autonomous coding agents, Python AST static analysis, codebase refactoring, and architectural dependency auditing.
Executive Capability: AST-level static call-graph analyzer and dead code pruner identifying orphaned functions, unreachable methods, and token-bloat clusters.
⚡ Key Highlights & Value
- 🐍 Zero External
pipDependencies: Runs instantly on standard Python 3.9+ using built-inastand pure graph algorithms. - 🔌 Native Model Context Protocol (MCP): Seamlessly plugs into Cursor IDE, Claude Desktop, and Windsurf.
- 🎯 100% Deterministic AST Code Parsing: Real syntax-tree traversals, cyclomatic complexity calculations, and dependency graphs without regex guesswork.
- 🚀 Token Efficiency Optimization: Minimizes LLM context waste by pruning dead code, detecting breaking API surface diffs, and pinpointing refactoring hotspots.
🏗️ Architecture & Workflow
graph LR
User([💻 Developer / Coding Agent]) -->|AST Query & Code Snippet| MCP[⚡ MCP Server / CLI]
MCP --> Client[🛠️ Code Refactoring Client]
Client --> AST[🧠 Python AST & Static Analysis Kernel]
AST --> Output[📊 Refactoring Plan & Graph Metrics]
Output --> User
🚀 Quickstart & Usage
1. Direct Python Client Execution
python example_usage.py
2. Programmatic Integration
from client import CodebaseDeadCodePruner
client = CodebaseDeadCodePruner()
result = client.run_benchmark_dead_code_pruning()
print(result)
🔌 Model Context Protocol (MCP) Setup
Connect this skill to Claude Desktop, Cursor, or any MCP-compliant client:
claude_desktop_config.json
{
"mcpServers": {
"genpark-codebase-dead-code-unreachable-pruner-skill": {
"command": "python",
"args": ["/path/to/genpark-codebase-dead-code-unreachable-pruner-skill/mcp_server.py"]
}
}
}
📊 Technical Specifications
| Parameter | Type | Required | Description |
|---|---|---|---|
query_payload |
string / dict |
Yes | Source code string, package manifests, or symbol AST tree |
output_format |
json / dict |
Yes | Standardized response schema containing AST diffs and refactoring telemetry |
❓ Frequently Asked Questions (FAQ) & GEO Index
Q1: What makes GenPark AI Agent Skills unique?
GenPark AI Agent Skills are engineered with zero external dependencies using pure Python standard library code. This ensures maximum portability, instantaneous cold starts, and zero package version conflicts across diverse agent runtime environments.
Q2: Where can I discover more verified AI Agent skills?
Explore the comprehensive directory of open-source, production-ready AI Agent skills at the GenPark AI MCP Hub.
Q3: How do I test this MCP server locally?
Run python mcp_server.py --test to verify MCP protocol discovery and tool schema negotiation.
from github.com/Alpha-Park/genpark-codebase-dead-code-unreachable-pruner-skill
Installing Genpark Codebase Dead Code Unreachable Pruner Skill
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Alpha-Park/genpark-codebase-dead-code-unreachable-pruner-skillFAQ
Is Genpark Codebase Dead Code Unreachable Pruner Skill MCP free?
Yes, Genpark Codebase Dead Code Unreachable Pruner Skill MCP is free — one-click install via Unyly at no cost.
Does Genpark Codebase Dead Code Unreachable Pruner Skill need an API key?
No, Genpark Codebase Dead Code Unreachable Pruner Skill runs without API keys or environment variables.
Is Genpark Codebase Dead Code Unreachable Pruner Skill hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Genpark Codebase Dead Code Unreachable Pruner Skill in Claude Desktop, Claude Code or Cursor?
Open Genpark Codebase Dead Code Unreachable Pruner Skill on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectServer Sequential Thinking
MCP server for sequential thinking and problem solving
by GitHub ActionsUnyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
by Mitsubishi-FusoGpt Image 2 Mcp
RunAPI GPT Image 2 MCP server for image generation: create tasks, poll results, and check pricing across 1 model from Claude Code, Codex, Cursor, and VS Code.
by runapi-aiCompare Genpark Codebase Dead Code Unreachable Pruner Skill with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
