AgentCost
● Activetech.agentcost/mcp
Live prices, cost estimates and retirement dates for 4,100+ LLMs. Remote, no key needed.
Connect this server
One click to install, or copy the config below. Suits: Cursor · HTTP clients.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"mcp": {
"url": "https://agentcost.tech/api/mcp",
"headers": {
"Authorization": "<your Authorization>"
}
}
}
}claude mcp add --transport http mcp https://agentcost.tech/api/mcp --header 'Authorization: <your Authorization>'code --add-mcp '{"name":"mcp","type":"http","url":"https://agentcost.tech/api/mcp","headers":{"Authorization":"<your Authorization>"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in. Codex takes hosted servers in config.toml ([mcp_servers.<name>] url = …) rather than on the command line.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Dec 5, 2026Looks healthy: AgentCost is maintained, open source, hosted endpoint, API key required for tool calls.
- Maintained
- Active
- Last commit today (Dec 4, 2026), 0 open issues.
- Official registry
- Active
- Published as tech.agentcost/mcp in the official MCP registry, version 1.1.0.
- Source
- Open source, MIT
- Public repository under the MIT licence, 2 stars, 0 forks.
- Runs
- Hosted by the publisher
- Your client talks to agentcost.tech: prompts and tool arguments leave your machine for that host.
- Credentials
- API key required for tool calls
- The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Dec 5, 2026), but it declares a required credential (Authorization): the public handshake lists the tools, but calling one needs it.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit today.
- Open licence+15/15
MIT on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
2 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/tech-agentcost-mcp?utm_source=report-badge"><img src="https://serverdex.io/server/tech-agentcost-mcp/report-badge.svg" alt="AgentCost — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
Live check
checked Dec 5, 2026, 06:07 UTCStatus history & uptime →The endpoint answered the MCP handshake as "AgentCost" and listed 8 tools. Answering since Dec 5, 2026.
Context cost ≈ 2.7k tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 8 tools.
Tools (8)
- list_models3 params
Search the public AgentCost catalogue of LLM models and their per-1,000-token rates. Filter by provider and/or a substring of the model name. Use this to compare model costs or find a cheaper alternative. Returns rates in USD; no credentials required.
Show parametersHide parameters
providerstringProvider slug to filter by, e.g. openai, anthropic, google, aws, azure.querystringCase-insensitive substring to match against the model name, e.g. 'sonnet' or 'gpt-4'.limitintegerMaximum models to return. Results are sorted cheapest-input-first.
get_model_pricing1 paramLook up the per-1,000-token rates for a single named model. Resolves the name exactly, then case-insensitively, then by provider-prefixed suffix (so 'gpt-4o' finds 'azure/gpt-4o'). Use this when you already know which model you are pricing.
Show parametersHide parameters
modelstringrequiredModel name as the provider spells it, e.g. gpt-4o or claude-sonnet-4-6.
- estimate_cost6 params
Work out the USD cost of one or more LLM calls before making them, from the current catalogue. Give a model and the token counts involved. Use `calls` to price a whole job rather than a single call. Cached input tokens bill at the provider's cached rate when one is published and at the full input rate when it is not; the result reports which happened.
Show parametersHide parameters
modelstringrequiredModel name, e.g. gpt-4o.input_tokensintegerrequiredPrompt tokens per call.output_tokensintegerrequiredCompletion tokens per call.cached_input_tokensintegerPrompt tokens served from the provider's cache, per call.cache_write_tokensintegerTokens written into the prompt cache, per call.callsintegerHow many identical calls to price. Use this to cost a whole job.
list_model_deprecations2 paramsList models with an upstream-announced retirement date, soonest first. Use this to check whether a model a user depends on is being retired, or to avoid recommending one that is.
Show parametersHide parameters
providerstringOptional provider slug to filter by.limitinteger
get_spend_overview1 paramTotal LLM spend, call count, tokens, average cost per call and success rate for the caller's own AgentCost project over a time window. Needs the project API key in the Authorization header.
Show parametersHide parameters
rangestringTime window ending now.
get_spend_breakdown3 paramsCost and call volume for the caller's own project, grouped by agent, model, workflow, tool, user or session, most expensive first. Use this to find which agent or model is spending the money. Needs the project API key in the Authorization header.
Show parametersHide parameters
dimensionstringrequiredWhat to group by. user and session come from user_id and session_id in event metadata.rangestringTime window ending now.limitintegerMaximum groups to return.
get_budget_stateMonth-to-date spend against the project's budget: the budget, what is left, utilisation, whether it is exhausted and when the period ends. Use this before starting an expensive job. Needs the project API key in the Authorization header.
get_run_cost1 paramEvery model call in one run (trace) of the caller's own project, in execution order, with the cost of each, the run total and how the run ended. The trace id is the one the SDK's workflow() minted or an external system supplied. Needs the project API key in the Authorization header.
Show parametersHide parameters
trace_idstringrequiredThe run's trace id.
Checked by Serverdex with a plain initialize + tools/list call to agentcost.tech/api/mcp, no credentials, about once a day. A failed check is never a removal.
What this server can touch
Across the fleet →No tool name matched a sensitive-capability keyword across its 8 tools. That is a name-level signal only — it does not confirm what the tools do, so read their descriptions before use.
On GitHub
read Dec 5, 2026TypeScriptai-agentsdashboardfinopsllmopsnextjsobservability
From the README
AgentCost Dashboard Analytics dashboard for monitoring your LLM costs and managing projects. A Next.js 14 application with App Router, Tailwind CSS, and Recharts for visualizing your AI spending and managing your projects. Features • Real-time Analytics: See costs, calls, and tokens at a glance • Interactive Charts: Cost trends, agent breakdowns, model usage • Agent Insights: Per-agent cost analysis • Project Management: Create and manage projects, invite team members • User Authentication: Secure login and registration • Feedback System: Submit and track feature requests • File Attachments: Upload and manage files • Auto-Refresh: Stay up-to-date with automatic data refresh • Dark Mode: Modern, eye-friendly design • Responsive: Works on desktop and mobile Quick Start 1. Install Dependencies 2. Configure Environment 3. Run Development Server Open http://localhost:3000 to view the dashboard. Project Structure Pages Configuration All configuration is done via environment variables: Technology Stack • Framework: Next.js 14 with App Router • Styling: Tailwind CSS 4 • Charts: Recharts 3 • Icons: Lucide React • Date Handling: date-fns Production Deployment Vercel (Recommended) Docker Static Export Development Contributing See the main CONTRIBUTING.md for guidelines.
Read the full README on GitHub →Remotes
- streamable-http
https://agentcost.tech/api/mcp
Alternatives to AgentCost
All AgentCost alternatives →Best Finance servers →Compare side by side →The most-starred Finance servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| CCXT | 45,023 | Nov 2026 | Local / not checked |
| Finance Toolkit | 5,591 | Dec 2026 | Needs sign-in |
| AKQuant | 2,649 | Nov 2026 | Local / not checked |
| com.stripe MCP | 2,114 | Dec 2026 | Needs sign-in |
| AKTools | 1,584 | Nov 2026 | Local / not checked |
AgentCost: questions people ask
- Is AgentCost a remote or a local MCP server?
- According to its entry in the official MCP registry, AgentCost ships as a hosted endpoint (streamable-http) that your client connects to by URL.
- Does AgentCost need an API key?
- Yes, to call its tools. Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Dec 5, 2026, but it declares a required credential (Authorization): the public handshake lists the tools, but calling one needs the key.
- Is AgentCost safe to use?
- Looks healthy: AgentCost is maintained, open source, hosted endpoint, API key required for tool calls. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: Hosted by the publisher; credentials: API key required for tool calls. Serverdex check of Dec 5, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is AgentCost still maintained?
- Active: the repository's last commit today. Last push Dec 4, 2026, 2 GitHub stars, MIT licence. Read from GitHub on Dec 5, 2026.
- What tools does AgentCost expose?
- 8 tools as listed by the server itself during the live check, including list_models, get_model_pricing, estimate_cost, list_model_deprecations, get_spend_overview. The full list with parameters is in the Live check section above.
- How do I add AgentCost to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Finance servers
Browse all Finance →Brouky
Production-ready
VC and startup database: investors, startups, funding rounds, AI VC Finder and pitch deck analysis.
BUFI Financial Workspace MCP
Well-maintained
BUFI workspaces, custom widgets, and human-approved invoice and reimbursement drafts via OAuth.
OpenFinance — Easy Trading: Crypto, Stocks, Perps & Prediction Markets
Production-ready
Easy trading for AI agents: crypto, perps, stocks, prediction markets, forex and memecoins. One URL.
Orange Peel
Some gaps
Cited Hermès price & resale market data as MCP tools, with attribution. Not affiliated.
Agent402.Tools: payments and trust for AI agents
Production-ready
Payment and trust layer for agentic commerce (Agentic Finance): pay and verify over x402 and MPP
Free Gold Price API (Turkey)
Production-ready
Free gold price API for Turkey: live gram gold & çeyrek prices in TRY (JSON). Free key, attribution.
Add the badge to your site
Show visitors that AgentCost is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/tech-agentcost-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="AgentCost — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/tech-agentcost-mcp?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/tech-agentcost-mcp) [](https://serverdex.io/install/vscode/tech-agentcost-mcp) [](https://serverdex.io/install/claude-code/tech-agentcost-mcp)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/tech-agentcost-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/tech-agentcost-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/tech-agentcost-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).