AgentCost

● Active

tech.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.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

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>"
      }
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --transport http mcp https://agentcost.tech/api/mcp --header 'Authorization: <your Authorization>'
VS Code
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.

Category
Finance
Version
1.1.0
Registry
active
Published
Dec 4, 2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Dec 5, 2026

Looks 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.

A

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 →
● Working307 msprotocol 2025-06-18v1.1.0tools

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 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 param

    Look 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 parameters
    • modelstringrequiredModel name as the provider spells it, e.g. gpt-4o or claude-sonnet-4-6.
  • 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 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 params

    List 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 parameters
    • providerstringOptional provider slug to filter by.
    • limitinteger
  • get_spend_overview1 param

    Total 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 parameters
    • rangestringTime window ending now.
  • get_spend_breakdown3 params

    Cost 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 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_state

    Month-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 param

    Every 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 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, 2026
Stars
2
Forks
0
Last push
Dec 4, 2026
License
MIT

TypeScriptai-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-httphttps://agentcost.tech/api/mcp

The most-starred Finance servers in the index, with their live-check result.

ServerStarsLast pushLive check
CCXT45,023Nov 2026Local / not checked
Finance Toolkit5,591Dec 2026Needs sign-in
AKQuant2,649Nov 2026Local / not checked
com.stripe MCP2,114Dec 2026Needs sign-in
AKTools1,584Nov 2026Local / 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.
Browse all Finance →

Add the badge to your site

Show visitors that AgentCost is listed here — it’s also the link we check for a free listing.

AgentCost — listed on Serverdex

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

[![AgentCost — listed on Serverdex](https://serverdex.io/brand/badge.svg)](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.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/tech-agentcost-mcp) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/tech-agentcost-mcp) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](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).