Claude Modular

v1.0.0Developer Toolsstable

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.

adhd-friendlyai-developmentclaude-codedevelopment-workflowmodular-framework
Share:
283
Stars
0
Downloads
0
Weekly
0/5

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

Organize Claude Code commands hierarchically
Optimize token usage
Integrate modular agent frameworks
oxygen-fragment

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx claude-modular

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-modular
2

Copy 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.md
3

Customize 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.

4

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
}
5

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=minor

Claude 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.

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.

Quick Config Preview

{ "mcpServers": { "claude-modular": { "command": "npx", "args": ["-y", "claude-modular"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides