Claude Modular
Production-ready modular Claude Code framework with 30+ commands, token optimization, and MCP server integration. Achieves 2-10x productivity gains through systematic command organization and hierarchical configuration.
What is Claude Modular?
Claude Modular is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to production-ready modular claude code framework with 30+ commands, token optimization, and mcp server integration. achieves 2-10x productivity gains through systematic command organization and hierarch...
Production-ready modular Claude Code framework with 30+ commands, token optimization, and MCP server integration. Achieves 2-10x productivity gains through systematic command organization and hierarchical configuration.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Production-ready modular Claude Code framework with 30+ comm
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx claude-modularConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Claude Modular
Claude Modular is a template repository and framework for organizing Claude Code projects with 30+ modular slash commands grouped into hierarchical categories: project management, development workflow, testing, deployment, and documentation. It achieves token efficiency through progressive disclosure and environment-specific configuration files, and integrates MCP servers as part of a hierarchical settings architecture. The framework is designed for developers who run Claude Code daily and want systematic, reusable command structures with consistent behavior across dev, staging, and production contexts — without rewriting instructions in every new project.
Prerequisites
- Claude Code installed (v1.0+)
- Git for cloning the template repository
- A project with a root directory where .claude/ configuration can be placed
- Node.js and npm if using any of the bundled MCP server integrations
- Familiarity with Claude Code's slash command and CLAUDE.md configuration system
Clone the claude-modular template repository
Clone the repository to use as a starting point. You will copy the .claude/ directory and CLAUDE.md template into your actual project.
git clone https://github.com/oxygen-fragment/claude-modular.git
cd claude-modularCopy the framework into your project
Copy the .claude/ commands directory and the CLAUDE.md template into your project's root. Then customize CLAUDE.md with your project-specific details.
cp -r .claude /path/to/your/project/
cp templates/CLAUDE.md.template /path/to/your/project/CLAUDE.mdCustomize your CLAUDE.md
Edit the copied CLAUDE.md to describe your specific project: tech stack, architecture decisions, coding conventions, and any project-specific instructions. This file is the primary context source Claude reads at session start.
Configure environment-specific settings
Edit the configuration files in .claude/config/ for your environments. Set token limits, enable security features, and configure progressive disclosure settings appropriate for each environment.
# .claude/config/development.json
{
"max_tokens_per_session": 50000,
"progressive_disclosure": true,
"require_env_vars": false,
"audit_logging": false
}Open your project in Claude Code and use the commands
Start a Claude Code session in your project directory. The hierarchical slash commands are now available. Use /project: commands for scaffolding, /dev: for development tasks, /test: for testing, and /deploy: for release management.
# Examples of available commands:
/project:create-feature user-authentication
/dev:code-review --focus=security,performance
/test:generate-tests --types=unit,integration
/deploy:prepare-release --type=minorClaude Modular Examples
Client configuration
Claude Desktop configuration for claude-modular via the npx entry point.
{
"mcpServers": {
"claude-modular": {
"command": "npx",
"args": ["claude-modular"]
}
}
}Prompts to try
Example slash commands and prompts enabled by the claude-modular framework.
- "/project:create-feature payment-integration — scaffold all files for a new payment feature"
- "/dev:code-review --focus=security,performance — review recently changed files"
- "/test:generate-tests --types=unit,integration,e2e — generate a full test suite"
- "/deploy:prepare-release --type=major — run pre-release checks and draft changelog"
- "/docs:api-docs — generate OpenAPI documentation from current route definitions"
- "/dev:debug-session — start a structured debugging session for the current error"Troubleshooting Claude Modular
Slash commands are not recognized in Claude Code
Ensure the .claude/commands/ directory exists in your project root and contains the command files. Claude Code discovers commands from .claude/commands/ relative to the project root where you launched the session. Check that command files have the correct .md extension and valid XML structure.
Token limits are hit earlier than expected during a session
Adjust max_tokens_per_session in .claude/config/development.json to a higher value. Enable progressive_disclosure: true to have commands provide context only when needed rather than front-loading all instructions. Split very large tasks across multiple Claude Code sessions.
MCP server integrations referenced in the framework are not connecting
Check that any MCP servers referenced in the framework's settings.json are installed and configured in your Claude Desktop or Claude Code settings. The framework provides a hierarchical configuration structure but does not automatically install the referenced MCP servers — each must be set up separately.
Frequently Asked Questions about Claude Modular
What is Claude Modular?
Claude Modular is a Model Context Protocol (MCP) server that production-ready modular claude code framework with 30+ commands, token optimization, and mcp server integration. achieves 2-10x productivity gains through systematic command organization and hierarchical configuration. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Claude Modular?
Follow the installation instructions on the Claude Modular GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Claude Modular?
Claude Modular works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Claude Modular free to use?
Yes, Claude Modular is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Claude Modular Alternatives — Similar Developer Tools Servers
Looking for alternatives to Claude Modular? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Claude Modular in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Claude Modular?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.