
Ai Economics
pl.piszczekPublished by piszczek.plv1.0.1Updated Oct 24, 2026
12 calculators for AI cost, energy and agent verification. Free API, no key.
Overview
A local MCP server offering 12 calculators for AI token costs, energy use and agent verification, backed by a free stateless API.
- What you can do
- Estimate token and context-window costs across models, and compare routing to cheaper tiers for annual savings. Calculate agent-hour cost, token burn in money, kWh and CO2, and per-query electricity use. Compare model efficiency per verified task and estimate humanoid robot runtime per charge. Assess agent autonomy once proof is required, revocation exposure, review-team capacity and the cost of unverified work. Each response returns a result, formula, interpretation and a ready-to-quote citation sentence.
- When to use it
- Useful when planning or defending an AI budget: comparing model pricing, sizing context windows, estimating energy and emissions, or arguing about how autonomous an agent really is. Good for quick, citable numbers in proposals and reviews.
- Requirements
- Runs locally over stdio, typically via npx with the npm package, so Node.js is needed. No account or API key is required. The optional AI_ECONOMICS_API environment variable overrides the default API base URL, for example to point at a self-hosted instance. Network access to that API is needed.
Installation
In SourceWeft
- Open Ai Economics in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ai-economics-mcp
MCP server for AI economics. Gives Claude, Cursor and any MCP client 12 calculators for the questions that decide AI budgets: what tokens cost, what queries burn, and whether agent work can be proven.
Listed in the official MCP Registry as pl.piszczek/ai-economics (domain-verified). Wraps the free piszczek.pl/tools API — no key, no sign-up,
stateless (inputs are never stored). The math is the same as the interactive calculators.
Install
Claude Desktop / Claude Code (claude_desktop_config.json / .mcp.json):
Claude Code one-liner:
Tools
All parameters are optional; defaults mirror the interactive calculators. Every response
includes result, formula, interpretation and a ready-to-quote cite_as sentence.
Example
You: how autonomous is our agent really? it completes 90% alone, evidence for 95%, 80% independently validated, 90% on time
Claude (calls
proof_adjusted_autonomy): PAA = 61.6% — supervised autonomy. The gap vs the claimed 90% is 28.4 pp, and the biggest lever is independent validation…
Configuration
Glama builds and releases
Glama generates its own Dockerfile from the build configuration. Use these settings:
- Build steps:
["npm ci --omit=dev"] - CMD arguments:
["mcp-proxy", "--", "node", "index.js"] - Environment variables: optional
AI_ECONOMICS_API; no credentials required.
This is plain JavaScript: there is no build script or compilation step. Do not use
pnpm run build or npm run build. After syncing the repository, build the selected
commit and publish a Glama release from the successful test. A GitHub or npm release
alone does not trigger Glama's quality evaluation.
For local stdio use, the repository Dockerfile needs no proxy or exposed ports:
Concepts behind the tools
- Joule Wars — the AI race for energy efficiency
- Proof-Adjusted Autonomy — the metric of proven agent work
- Revocation Exposure — how long revoked authority keeps working
Citing a result
Every tool response carries a cite_as sentence written to be quoted verbatim. For a document that has to survive review, DOIs and BibTeX for this server, the calculators and the three concepts they instrument are at piszczek.pl/cite.
License
MIT. Concepts and calculators by Michał Piszczek (CC BY 4.0 — attribution appreciated).
Source: README.md at commit 147904b
Tools
0Version history
1- v1.0.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts