draw.io
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
Water and energy footprint of AI use: chat prompts, agent sessions, methodology and sources.
选择你使用的 AI 应用,然后复制设置。
通过 5/5 项检查 · 你的提问会经过开发者的服务器(footprint.pharmatools.ai) · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 2 分钟
不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
CustomizeConnectors
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
AI Footprinthttps://footprint.pharmatools.ai/mcp在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add
+ConnectorsAI Footprint
用 AI Footprint 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 AI Footprint,或回答中出现 AI Footprint 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
能否连接 ChatGPT 取决于方案
完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页
Plugins+Add custom MCP server
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
AI Footprinthttps://footprint.pharmatools.ai/mcp开启新聊天,输入前先从插件列表中选择 AI Footprint
用 AI Footprint 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 AI Footprint,或回答中出现 AI Footprint 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code · 约 2 分钟
不需要密钥,不用安装程序
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --transport http --scope user ai-footprint https://footprint.pharmatools.ai/mcp应能看到 AI Footprint 在列表中并显示已连接
用 AI Footprint 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 AI Footprint,或回答中出现 AI Footprint 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 2 分钟
不需要密钥,不用安装程序
用 AI Footprint 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 AI Footprint,或回答中出现 AI Footprint 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 2 分钟
不需要密钥,不用安装程序
用 AI Footprint 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 AI Footprint,或回答中出现 AI Footprint 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://footprint.pharmatools.ai/mcpJSON 设置在下方“开发者专用”中
Claude Code
claude mcp add --transport http --scope user ai-footprint https://footprint.pharmatools.ai/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"ai-footprint": {
"url": "https://footprint.pharmatools.ai/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"ai-footprint": {
"type": "http",
"url": "https://footprint.pharmatools.ai/mcp"
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
工具名称和描述与服务器在 2026年11月10日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
estimate_ai_footprintEstimate the water (mL) and energy (Wh) used by chat-style AI prompts (ChatGPT, Claude, Gemini etc.). queries_per_day: prompts per day. usage: 'simple' (text chat, ~0.34 Wh/prompt), 'mixed' (~1 Wh), 'intensive' (image generation / deep reasoning, ~3 Wh). boundary: 'onsite' (data-
get_methodologyReturn the per-prompt energy and water figures, accounting boundaries, sources, limitations, a citation line, and the reasons published AI water estimates differ by ~100x (0.3 mL to 50 mL per prompt). Use it to explain or check a published AI water or energy figure.
compare_water_useConvert a volume of water (mL) into everyday comparisons: teaspoons, 500 mL bottles, shower time, and lifecycle items (A4 sheet, almond, cup of tea, beef burger), plus the number of typical AI text prompts it equals. Includes the boundary caveat that lifecycle footprints are not
estimate_session_footprintEstimate the water and energy of an AI session (e.g. an agent or coding-assistant run) from its token usage. Pass the SUM across all model calls: input_tokens (uncached prompt tokens), output_tokens (including any reasoning/thinking tokens) and cached_input_tokens (prompt-cache r
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日
注册名称已通过 GitHub 账户 nickjlamb 验证,该账户拥有此仓库
代码最后更新于6天前
使用 MIT
在 342 毫秒内响应(HTTP 200)
无需登录
已读取 4 个工具描述,未发现针对 AI 的隐藏指令
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于6天前,最新版本(1.1.0)于6天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。
同一分类中有:draw.io, Vexa, emailmd, Kite Discord Bot Builder, e2a — email for AI agents
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
Build and fix Discord bots from a chat. Kite hosts them 24/7, with no code to deploy.
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Quick start · Tools · Examples · Architecture · Methodology · Roadmap · Contributing
AI Footprint is an MCP server and JSON API that estimates the water and energy used by AI: chat prompts, a year of use, or a whole agent session from its token counts. It's the engine behind the PharmaTools.AI AI Water & Energy Calculator, exposed as tools an agent can call.
Published per-prompt estimates of AI water use range from 0.3 mL to 50 mL. Most of that spread is explainable: when the figure was measured, where the accounting boundary is drawn, what kind of workload is counted, and whose data centre it is. So every answer from this server says which boundary it uses, which assumptions it made and which methodology version it comes from. A figure can be checked rather than repeated.
Under 60 seconds, from any MCP client. Add the hosted endpoint:
https://footprint.pharmatools.ai/mcp
Claude Code
claude mcp add --transport http ai-footprint https://footprint.pharmatools.ai/mcp
Claude Desktop and claude.ai: Settings → Connectors → Add custom connector, then paste the URL.
Cursor (~/.cursor/mcp.json)
{
"mcpServers": { "ai-footprint": { "url": "https://footprint.pharmatools.ai/mcp" } } }
Anything else: any client that supports remote MCP servers over streamable HTTP. Point it at the URL above.
Then ask:
*How much water do 30 ChatGPT prompts a day use over a working year?*
estimate_ai_footprint(queries_per_day=30, days=250)
→ 2.6 kWh and 10.5 L over 250 days (comprehensive boundary) per prompt: 0.34 Wh, 1.39 mL · about 25.5 hrs of TV or 170 phone charges methodology 2026-10 · source: pharmatools.ai/water-consumption-calculator
Not using MCP? The same tools are plain GET endpoints:
curl "https://footprint.pharmatools.ai/api/footprint?queries_per_day=30&days=250"
| Tool | Ask it | Returns |
|---|---|---|
estimate_ai_footprint | *"30 prompts a day for a year"* | Energy and water per prompt, per day and in total, with everyday equivalents and assumptions. Usage tier simple (~0.34 Wh), mixed (~1 Wh) or intensive (~3 Wh); boundary onsite or comprehensive. |
estimate_session_footprint | *"200k input, 3M cached, 40k output tokens"* | A central estimate and a 0.3–3× range for an agent or coding session, plus how many typical chat prompts it equals. |
compare_water_use | *"Is 500 mL a lot?"* | Teaspoons, bottles and shower time, plus lifecycle items (A4 sheet, almond, tea, burger) with the caveat that those use a much wider boundary. |
get_methodology | *"Why do estimates vary so much?"* | Per-prompt figures, both boundaries, sources, limitations, a citation line, and four reasons published estimates differ by ~100×. |
All four are annotated read-only, idempotent and closed-world, so clients can tell they're safe to call. More in examples/: a Python MCP client, a dependency-free JavaScript client, curl for every endpoint and full captured responses.
flowchart LR
A["MCP clients Claude · Cursor · agents"] -->|/mcp| R B["Scripts and browsers"] -->|/api/*| R C["Calculator page pharmatools.ai"] -->|/tighten · /read-claim| R
subgraph app["One ASGI app · server/main.py"] R{{"Path router CORS · rate limits"}} R -->|"open CORS · 120/min"| M["MCP tools FastMCP, streamable HTTP"] R -->|"open CORS · 120/min"| J["JSON API FastAPI GET routes"] R -->|"pharmatools.ai only · daily caps"| T["Prompt tightener"] M --> F[("footprint.py constants · sources · arithmetic")] J --> F end
T --> H["Claude Haiku"]
server/footprint.py holds every constant, source and calculation. The MCP tools and the JSON API are thin wrappers, so they can't drift apart, and the tests hold both to the calculator page's figures./tighten spends API credit, so it accepts the calculator page only, behind per-IP and global daily caps. A small ASGI wrapper picks the right policy by path.Energy first, water derived from it.
| Figure | Basis | |
|---|---|---|
| Energy, simple text prompt | ~0.34 Wh | OpenAI's per-query figure; Google reports a median Gemini text prompt at 0.24 Wh (2025) |
| Energy, image or long reasoning | ~3 Wh or more | MIT Technology Review analysis (2025) |
Water, onsite boundary | ~1.0 mL/Wh | Data-centre cooling only, as implied by Google's disclosure. The highest of the published provider figures is used. |
Water, comprehensive boundary | ~4.1 mL/Wh | Adds ~3.1 mL/Wh consumed generating the electricity (US grid average, Li et al.) |
| Typical text prompt | ~0.34 mL onsite, ~1.4 mL comprehensive | The widely quoted 2023 estimates describe hardware that no longer exists |
Session estimates are calibrated so ~1,000 input + ~400 output tokens on a frontier model equals one typical prompt (0.34 Wh), with output tokens costing ~5× input and cache reads ~0.1×. These are assumptions, not measurements, so the tool returns a range and says so.
Limitations. Vendor figures aren't peer-reviewed, describe median prompts and exclude training. Electricity-generation water uses US grid averages. Results are indicative estimates.
Sources. Google (2025) · OpenAI per-query figures · Li et al., *Making AI Less Thirsty* · MIT Technology Review (2025) · Water Footprint Network
The full write-up is on the calculator page. When the methodology changes, METHODOLOGY_VERSION is bumped and the change is recorded in the changelog. Found a better source? Open a methodology issue.
The same four tools as GET endpoints with open CORS. GET /api lists them.
| Endpoint | Parameters | |||
|---|---|---|---|---|
/api/footprint | queries_per_day (required), `usage=simple\ | mixed\ | intensive, boundary=onsite\ | comprehensive, days` |
/api/session | input_tokens, output_tokens (required), cached_input_tokens, `model_class=small\ | frontier\ | reasoning, boundary` | |
/api/compare | water_ml (required) | |||
/api/methodology | none |
Invalid input returns 400 with a message saying what's allowed. Responses are cacheable for an hour. The limit is 120 requests per minute per client.
git clone https://github.com/nickjlamb/ai-footprint && cd ai-footprint/server
pip install -r requirements.txt MOCK=1 uvicorn main:app --port 8000
MOCK=1 makes the tightener return a canned rewrite, so no Anthropic key is needed. The footprint tools don't use a key either way. The included Procfile runs as is on Railway, Render, Heroku and similar platforms.
Configuration
| Variable | Default | Purpose |
|---|---|---|
ANTHROPIC_API_KEY | none | Required for /tighten unless MOCK=1 |
MOCK | unset | 1 returns a canned tightener response |
MODEL | claude-haiku-4-5 | Model for the tightener |
ALLOWED_ORIGINS | https://www.pharmatools.ai,https://pharmatools.ai | CORS allowlist for /tighten |
PER_IP_PER_MIN / PER_IP_PER_DAY | 4 / 25 | Tightener per-client limits |
GLOBAL_PER_DAY | 1500 | Tightener daily cap across all clients |
MAX_INPUT_CHARS | 1500 | Tightener input cap |
PUBLIC_PER_IP_PER_MIN | 120 | Limit for /mcp and /api/* |
DOCS_URL | https://www.pharmatools.ai/mcp#footprint | Where / redirects |
PROXY_ENTRIES | 1 | How many entries your hosting proxy adds to the right of X-Forwarded-For (Railway: 1). Rate limits use the entry just before them; anything further left is ignored |
POST /tighten powers the "Make your first prompt the only one" tool on the calculator page. It sends a draft prompt to Claude Haiku, which rewrites it to get a usable answer first time, filling gaps with [placeholders] rather than invented facts. The page then shows what the rewrite itself cost in water against the follow-ups it should save. Unlike the footprint tools it calls a model, so it's locked down: pharmatools.ai-only CORS, a 1,500-character input cap, per-IP and daily caps, forced tool output and no prompt logging. The page embed is in web/prompt-tightener-embed.html.
POST /read-claim backs the headline checker on the same page. The page reads well-known claims and simple figures itself, in the browser. Only when it can't, and the visitor chooses to, it sends the claim here. The model just extr