
Security News
Cloudflare Introduces a Faster TypeScript Compiler Written in Rust
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.
ai-api-pricing-mcp
Advanced tools
Read-only MCP server for source-linked AI API pricing and cost estimates.
Read-only MCP server for the source-linked AICostBudget AI API Pricing Dataset. It exposes model prices, filtered model lists, monthly cost estimates, comparisons, and price-change events. Every successful result includes official provider source URL(s), a verification date, and an AICostBudget page link.
The server writes no files, collects no telemetry, and uses only these public endpoints at runtime:
https://aicostbudget.github.io/ai-api-pricing-data/api/v1/prices.jsonhttps://raw.githubusercontent.com/aicostbudget/ai-api-pricing-data/main/data/price-change-events/events.jsonlhttps://aicostbudget.com/sitemap.xmlIf live pricing or price-change loading fails, the response explicitly reports that the bundled fallback was used. Model-page links are emitted only when present in the sitemap; otherwise the server links to https://aicostbudget.com/en/models.
Node.js 18 or newer is required.
npx -y ai-api-pricing-mcp
Add this entry under mcpServers in claude_desktop_config.json:
{
"mcpServers": {
"ai-api-pricing": {
"command": "npx",
"args": ["-y", "ai-api-pricing-mcp"]
}
}
}
Restart Claude Desktop after saving the file.
claude mcp add ai-api-pricing -- npx -y ai-api-pricing-mcp
Create .cursor/mcp.json in a project, or ~/.cursor/mcp.json for global use:
{
"mcpServers": {
"ai-api-pricing": {
"command": "npx",
"args": ["-y", "ai-api-pricing-mcp"]
}
}
}
Create .vscode/mcp.json:
{
"servers": {
"ai-api-pricing": {
"type": "stdio",
"command": "npx",
"args": ["-y", "ai-api-pricing-mcp"]
}
}
}
get_model_price({ model })list_models({ provider?, max_input_price?, max_output_price? })estimate_monthly_cost({ model, input_tokens_per_request, output_tokens_per_request, requests_per_month, cached_input_ratio?, use_batch? })compare_models({ models, input_tokens_per_request, output_tokens_per_request, requests_per_month })price_changes({ since?, provider? })Model matching accepts exact IDs and display names. A fuzzy query that matches multiple models returns an explicit “Did you mean” list instead of silently choosing one. Cost estimates refuse missing required prices; they never substitute a standard, cache, or batch rate.
User: Get the price of gpt-4.1.
Assistant → get_model_price: GPT-4.1; input 2, cached input 0.5, output 8 USD per 1M tokens; official source and verified date included.
User: List OpenAI models with input price at most $2 per million tokens.
Assistant → list_models: Matching model IDs and source-linked rates.
User: Estimate 1,000 monthly requests with 1,000 input and 100 output tokens on gpt-4.1.
Assistant → estimate_monthly_cost: $2.80 before taxes, contracts, credits, or provider rounding.
User: Compare gpt-4.1 and claude-haiku-5-5 for that workload.
Assistant → compare_models: Results sorted from lowest to highest estimated total.
User: Show OpenAI price changes since 2026-01-01.
Assistant → price_changes: Up to 20 newest matching events with source URLs and the price monitor link.
npx: install Node.js 18+ and ensure node and npx are on the client application's PATH.npx may need to download the package once. Corporate proxies must allow the npm registry and the three documented runtime URLs./en/models: the model-specific URL was absent from the current sitemap and the index link is intentional.FAQs
Read-only MCP server for source-linked AI API pricing and cost estimates.
We found that ai-api-pricing-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.