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.
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.
š 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)
- Purchase the full Manus Skill at creditopt.ai
- Install as a Manus Skill following the included instructions
- 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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.