Manus Credit Optimizer

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.

Category
Visit Server

README

šŸš€ 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

Metric Before After Improvement
Average credits per task 100% 53% 47% reduction
Quality score 9.2/10 9.2/10 0% loss
Tasks audited - 200+ Verified
Scenarios tested - 53 All 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

Tool Description
analyze_prompt Analyze a prompt and get optimization recommendations with estimated savings
optimize_prompt Get an optimized version of your prompt ready to use
estimate_savings Quick 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

Option Price What You Get
MCP Server Free (this repo) MCP tools for any MCP client
Manus Skill $29 one-time Native 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured