Claude Modular

Productivity and workflowDeveloper tools

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.

Your AI app calls the Claude Modular MCP server, which does the productivity and workflow and developer tools work and sends the result back to the chat.

About Claude Modular

Claude Modular is a community MCP server from oxygen-fragment, filed in our directory under productivity and workflow and developer tools. 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.

At a glance

Publisher
oxygen-fragment (community)
Runs
See the README for setup
License
MIT
GitHub stars
285

How to set up Claude Modular

  1. Follow the install steps in the Claude Modular README.
  2. Check the Claude Modular README for keys or settings; the registry lists none that Claude Modular requires.
  3. Add Claude Modular to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Claude Modular tools to confirm the connection.
  5. Run one read-only task with Claude Modular first, and keep your app asking before each tool call until the results look right.

Claude Modular compared with similar servers

  • Gdrive by isaacphi has fewer GitHub stars than Claude Modular (283 against 285); both are community servers, and both run locally.
  • Obsidian (newtype-01) by newtype-01 has more GitHub stars than Claude Modular (309 against 285); both are community servers, and both run locally.
  • Onfido by codespar has fewer GitHub stars than Claude Modular (278 against 285); both are community servers, and both run locally.

Before you connect Claude Modular

  • Give Claude Modular its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Claude Modular tool call until you trust what it does with them.
  • Treat text that Claude Modular fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Claude Modular on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Claude Modular

How marketing and sales teams put Claude Modular to work, by company size. Pick the size closest to yours and start Claude Modular on one use case.

Small business

  • A busy owner can use Claude Modular to turn a brain dump into tasks with due dates, and get a short list of what matters today.
  • Small marketing teams can ask Claude Modular what slipped last week and which campaign tasks have no owner yet.
  • A small business with a developer can use Claude Modular to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Claude Modular runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect Claude Modular to build launch checklists from a template and post status updates without a weekly meeting.
  • Team leads can use Claude Modular to see where work piles up across projects and move it before deadlines slip.
  • Growth engineers can use Claude Modular to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Start Claude Modular on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise PMOs can use Claude Modular to roll up status across many teams into one view for leadership, with links back to each source task.
  • Large orgs can give Claude Modular scoped access per workspace, so an agent helps one department without reading another's plans.
  • Enterprise engineering teams can roll out Claude Modular with repo scopes and audit logs, so agents work only where they are allowed.
  • Claude Modular is a community server, so have security review the code and pin a version before Claude Modular touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Claude Modular README

From oxygen-fragment/claude-modular on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Claude Code Modular Framework

A comprehensive, production-ready modular framework template for Claude Code that achieves 2-10x productivity gains through proven patterns, token optimization, and systematic development workflows.

🚀 Quick Start

1. Clone and Setup
git clone https://github.com/your-username/claude-modular.git
cd claude-modular
cp templates/CLAUDE.md.template CLAUDE.md
# Edit CLAUDE.md with your project-specific details
2. Initialize Your Project
# Copy the .claude directory to your project root
cp -r .claude /path/to/your/project/

# Customize configuration for your environment
cd /path/to/your/project/.claude/config
# Edit settings.json, development.json, etc.
3. Start Using Commands
# In your project with Claude Code
/project:setup-environment
/project:create-feature user-authentication
/test:generate-tests
/dev:code-review

📚 Features

✅ Token Optimization (50-80% savings)
  • Progressive disclosure - Load only necessary context
  • Modular instructions - Just-in-time command loading
  • Context compression - Efficient context management
  • Smart boundaries - Automatic context switching
✅ 20+ Production-Ready Commands
  • Project Management - Feature creation, component scaffolding
  • Development Workflow - Code review, refactoring, debugging
  • Testing Automation - Test generation, coverage analysis
  • Deployment - Release preparation, staging deployment, rollback
  • Documentation - API docs, README updates, architecture review
✅ Environment-Specific Configuration
  • Development - Relaxed rules, verbose logging
  • Staging - Quality gates, review requirements
  • Production - Strict security, multi-factor auth
✅ Security-First Design
  • Secret scanning prevention
  • Permission validation for sensitive operations
  • Audit logging for compliance
  • Environment variable management

🏗️ Architecture

Directory Structure
your-project/
├── .claude/                    # Framework configuration
│   ├── config/                 # Environment-specific settings
│   │   ├── settings.json       # Base configuration
│   │   ├── development.json    # Dev environment
│   │   ├── staging.json        # Staging environment
│   │   └── production.json     # Production environment
│   └── commands/               # Modular command library
│       ├── project/            # Project management
│       ├── development/        # Development workflow
│       ├── testing/            # Testing automation
│       ├── deployment/         # Deployment operations
│       └── documentation/      # Documentation generation
├── CLAUDE.md                   # Your project-specific configuration
└── [your project files]
Command Structure

Each command follows a proven XML structure:

<instructions>
  <context>When and why to use this command</context>
  <requirements>Prerequisites and dependencies</requirements>
  <execution>Step-by-step implementation</execution>
  <validation>Quality checks and acceptance criteria</validation>
  <examples>Concrete usage examples</examples>
</instructions>

📖 Command Reference

Project Management
  • /project:create-feature - Full feature scaffolding with tests and docs
  • /project:scaffold-component - Component creation with boilerplate
  • /project:setup-environment - Development environment initialization
Development Workflow
  • /dev:code-review - Structured code review with automated analysis
  • /dev:refactor-analysis - Code improvement recommendations
  • /dev:debug-session - Systematic debugging and problem solving
Testing
  • /test:generate-tests - Comprehensive test suite generation
  • /test:coverage-analysis - Test coverage assessment and improvement
  • /test:integration-tests - Integration test creation and execution
Deployment
  • /deploy:prepare-release - Release preparation with quality gates
  • /deploy:deploy-staging - Staging deployment with validation
  • /deploy:rollback-procedure - Emergency rollback execution
Documentation
  • /docs:api-docs - API documentation generation
  • /docs:update-readme - README maintenance and updates
  • /docs:architecture-review - Architecture documentation and review

⚙️ Configuration

Environment Configuration

The framework supports layered configuration inheritance:

// Base settings.json
{
  "defaults": {
    "max_tokens_per_session": 50000,
    "progressive_disclosure": true
  }
}

// development.json overrides
{
  "extends": "./settings.json",
  "overrides": {
    "defaults": {
      "max_tokens_per_session": 100000
    }
  }
}
Security Configuration
{
  "security": {
    "require_env_vars": true,
    "audit_logging": true,
    "permission_validation": true,
    "secret_scanning": true
  }
}

🔧 Customization

Creating Custom Commands
  1. Create a new command file in appropriate category
  2. Follow the XML structure template
  3. Include comprehensive examples
  4. Test with realistic scenarios
Adapting for Your Stack
  1. Edit templates/CLAUDE.md.template with your technologies
  2. Update command examples for your build tools
  3. Customize quality gates for your requirements
  4. Add stack-specific validation rules

📊 Performance Metrics

Token Optimization Results
  • 50-80% token savings vs monolithic setups
  • Sub-30-second setup time for new projects
  • 20+ core commands covering 80% of workflows
  • Progressive disclosure reduces context overhead
Quality Improvements
  • Consistent code review quality
  • Automated testing coverage
  • Standardized deployment procedures
  • Comprehensive documentation generation

🛠️ Integration

MCP Server Support
  • Memory MCP - Context persistence between sessions
  • Git MCP - Version control integration
  • Filesystem MCP - File operations and watching
  • Linear MCP - Issue tracking integration
  • Notion MCP - Documentation synchronization
CI/CD Integration
  • GitHub Actions support
  • Quality gate enforcement
  • Automated testing pipelines
  • Deployment automation

📚 Examples

Basic Usage
# Setup new project
/project:setup-environment

# Create a feature
/project:create-feature user-authentication --type=service

# Review code
/dev:code-review --focus=security,performance

# Deploy to staging
/deploy:deploy-staging
Advanced Workflows
# Complex feature development
/project:create-feature payment-processing --framework=express --database=postgresql

# Comprehensive testing
/test:generate-tests --types=unit,integration,e2e
/test:coverage-analysis --target=90%

# Production deployment
/deploy:prepare-release --type=major
/deploy:deploy-staging --validate
/deploy:rollback-procedure --preserve-data

🤝 Contributing

  1. Fork the repository
  2. Create feature branch: git checkout -b feature/new-command
  3. Add your command following the XML structure
  4. Include comprehensive examples and tests
  5. Update documentation
  6. Submit pull request

📄 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

Based on research papers:

  • "The modular Claude Code implementation playbook"
  • "Optimizing Agentic Development Workflows with Claude Code"

📞 Support

If you want to help me out you can

Start building better, faster, and more consistently with Claude Code's modular framework.

Questions about Claude Modular

What is the Claude Modular MCP server?

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. Claude Modular is maintained by oxygen-fragment on GitHub at oxygen-fragment/claude-modular, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Claude Modular MCP server?

Claude Modular doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (oxygen-fragment/claude-modular). Like most servers, Claude Modular ends with a command or URL you paste into your AI app's MCP config.

Does Claude Modular need an API key?

The registry lists no required keys for Claude Modular. Check the Claude Modular README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Claude Modular an official MCP server?

No. Claude Modular is a community server maintained by oxygen-fragment. Community servers can be excellent; read the code and the open issues before you give Claude Modular access to company data.

What license is Claude Modular under?

Claude Modular is released under the MIT license, according to its GitHub repository. The license covers the code of Claude Modular; the service it connects to has its own terms.