Terminal-based AI API cost calculator, recommender, and mcp server.
{
"mcpServers": {
"io-github-ufhouck-aicost-cli": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Terminal-based AI API cost calculator, recommender, and mcp server.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Commit history unknown.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
MCP Security Weekly
Get CVE alerts and security updates for io.github.ufhouck/aicost-cli and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A terminal-based calculator and recommendation engine for AI API costs. Supports multiple providers, local currency conversion, and automated pricing updates.
Compare the effective cost of using models directly vs. through gateways like OpenRouter, including platform fees.
Comparison: gpt-4o vs openrouter/gpt-4o
┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Attribute ┃ gpt-4o ┃ openrouter/gpt-4o ┃
┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Provider │ OpenAI │ OpenRouter │
├──────────────────┼─────────────────────────────────┼─────────────────────────┤
│ Source │ Direct │ Aggregator │
├──────────────────┼─────────────────────────────────┼─────────────────────────┤
│ Platform Fee │ 0.0% │ 5.5% │
├──────────────────┼─────────────────────────────────┼─────────────────────────┤
│ Type │ text │ text │
├──────────────────┼─────────────────────────────────┼─────────────────────────┤
│ Input Cost │ 111.4775 TRY (1M) │ 117.6088 TRY (1M) │
├──────────────────┼─────────────────────────────────┼─────────────────────────┤
│ Output/Unit Cost │ 445.9100 TRY (1M) │ 470.4350 TRY (1M) │
└──────────────────┴─────────────────────────────────┴─────────────────────────┘
# List all models including Source Type (Direct/Aggregator/Gateway)
aicost list --currency TRY
# Compare Direct vs. Aggregator pricing
aicost compare gpt-4o openrouter/gpt-4o --currency TRY
Includes platform fee breakdowns for aggregators:
aicost calc openrouter/gpt-4o --input 1000000 --output 500000 --currency TRY
Output Example:
╭───────── Cost Calculation ──────────╮
│ Model: openrouter/gpt-4o │
│ Source: Aggregator │
│ │
│ Base Cost: 316.9976 TRY │
│ Platform Fee (5.5%): 17.4349 TRY │
│ │
│ Total Cost: 334.4325 TRY │
╰─────────────────────────────────────╯
git clone https://github.com/ufhouck/aicost.git
cd aicost
pip install -e .
aicost mcp
The pricing database is located in data/pricing.json. Updates are automatically checked weekly.
MIT. Developed by Ufuk Aydın.