MCP Hub
Back to servers

Manus Credit Optimizer

An MCP server that reduces Manus AI credit usage by up to 75% through intelligent prompt compression, smart model routing, and intent classification. It provides tools to analyze and optimize prompts for maximum efficiency without sacrificing quality.

glama
Updated
Mar 9, 2026

🚀 Credit Optimizer v5 for Manus AI

Cut your Manus AI credit usage by 30-75% with ZERO quality loss.

Audited across 53 real-world scenarios. Works as an MCP Server (Claude, Cursor, Copilot, Codex, Windsurf, Cline) or as a native Manus Skill.

License: MIT Python 3.10+ MCP Compatible


📊 Results

MetricBeforeAfterImprovement
Average credits per task100%53%47% reduction
Quality score9.2/109.2/100% loss
Tasks audited-200+Verified
Scenarios tested-53All passing

🎯 What It Does

Credit Optimizer analyzes your prompts and tasks before execution, then applies intelligent optimization strategies:

  • Smart Model Routing — Routes simple tasks to Standard mode, complex tasks to Max mode
  • Intent Classification — Detects 12 task categories (code_fix, creative_writing, data_analysis, etc.)
  • Prompt Compression — Removes redundancy while preserving all semantic meaning
  • Batch Detection — Identifies tasks that can be parallelized for fewer credits
  • Context Hygiene — Flags unnecessary context that inflates token usage
  • Output Format Optimization — Suggests efficient output formats (file vs inline)

⚡ Quick Start

As MCP Server (Claude Desktop, Cursor, etc.)

# Install
pip install fastmcp

# Clone this repo
git clone https://github.com/rafsilva85/manus-credit-optimizer.git
cd manus-credit-optimizer

# Run the server
python -m mcp_credit_optimizer

Add to your MCP client config (e.g., Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "credit-optimizer": {
      "command": "python",
      "args": ["-m", "mcp_credit_optimizer"],
      "cwd": "/path/to/manus-credit-optimizer"
    }
  }
}

As Manus Skill (Native Integration)

  1. Purchase the full Manus Skill at creditopt.ai
  2. Install as a Manus Skill following the included instructions
  3. The skill auto-activates on every task — no manual intervention needed

🔧 MCP Tools Available

ToolDescription
analyze_promptAnalyze a prompt and get optimization recommendations with estimated savings
optimize_promptGet an optimized version of your prompt ready to use
estimate_savingsQuick estimate of potential credit savings for a task description

📋 Example Usage

You: analyze_prompt("Build me a React dashboard with charts, authentication, and a database backend")

Credit Optimizer: 
  ✅ Intent: code_generation (complex)
  ✅ Recommended: Max mode (complex multi-component task)
  ✅ Optimization: Split into 3 sequential tasks
     1. Database schema + API routes
     2. Authentication flow  
     3. React dashboard + charts
  ✅ Estimated savings: 35-45%
  ✅ Quality impact: None

🏗️ Architecture

Prompt Input → Intent Classifier → Complexity Scorer → Strategy Selector
                                                            ↓
                                              ┌─────────────────────────┐
                                              │ • Model Router          │
                                              │ • Prompt Compressor     │
                                              │ • Batch Detector        │
                                              │ • Context Hygiene       │
                                              │ • Output Optimizer      │
                                              └─────────────────────────┘
                                                            ↓
                                              Optimized Recommendations

🔒 Audit Results

All 53 test scenarios pass with zero quality degradation:

  • ✅ Code generation (Python, JS, React, SQL)
  • ✅ Creative writing (blog posts, marketing copy)
  • ✅ Data analysis (CSV, JSON, API data)
  • ✅ Research tasks (multi-source synthesis)
  • ✅ Translation & localization
  • ✅ Bug fixing & debugging
  • ✅ Documentation generation
  • ✅ Mixed-intent tasks

💰 Pricing

OptionPriceWhat You Get
MCP ServerFree (this repo)MCP tools for any MCP client
Manus Skill$29 one-timeNative Manus integration + auto-activation + priority updates

👉 Get the full Manus Skill at creditopt.ai

📄 License

MIT License — use it freely in personal and commercial projects.

🤝 Contributing

Issues and PRs welcome! If you find a scenario where the optimizer reduces quality, please open an issue with the prompt and expected output.


Built by Rafael Silva | creditopt.ai

Reviews

No reviews yet

Sign in to write a review