soif-mcp
MCP server for estimating the water footprint of LLM usage and comparing models by water cost.
README
soif-mcp 💧🔌
MCP server for soif — lets any MCP client (Claude Code, Claude Desktop, Cursor, agent frameworks) estimate the water footprint of LLM usage and route models by water cost.
All figures are millilitres of freshwater consumed, returned as {low, mid, high}
scenario ranges with explicit assumptions — see the
methodology.
Tools
| Tool | What it does |
|---|---|
estimate_water |
Water for one call from model + tokens (or prompt text), incl. reasoning effort, provider/region overrides |
estimate_from_usage |
The accurate path: feed a real OpenAI/Anthropic usage object |
compare_models |
Rank candidate models least- to most-thirsty for a workload |
pick_low_water_model |
Route a step: least-thirsty model above a capability floor (min_tier) |
list_known_models |
Registry of recognised models with tier/provider defaults |
Plus a soif://methodology resource summarising how estimates are computed.
Install & connect
Requires Python ≥ 3.10. Once released to PyPI, uvx soif-mcp just works; from git today:
uv tool install "soif-mcp @ git+https://github.com/Unchained-Labs/soif-mcp.git"
# or: pipx install "soif-mcp @ git+https://github.com/Unchained-Labs/soif-mcp.git"
Claude Code
claude mcp add soif -- soif-mcp
# or without installing first:
claude mcp add soif -- uvx --from "git+https://github.com/Unchained-Labs/soif-mcp.git" soif-mcp
Claude Desktop / any JSON-config client (claude_desktop_config.json):
{
"mcpServers": {
"soif": { "command": "soif-mcp" }
}
}
Cursor (.cursor/mcp.json): same shape as above.
The server speaks stdio (the standard transport for local servers); no network access, no credentials, no state.
Example prompts once connected
- "How much water did that last answer cost? Here's the usage object: …"
- "Compare gpt-4o, gpt-4o-mini and gemini-2.5-flash on water for a 2k-in/500-out workload."
- "Pick the least-thirsty model of these that's at least medium tier."
Publishing / marketplaces
Registries worth listing this server in (in rough order of impact):
- Official MCP Registry — the canonical
registry (publish via
mcp-publisherCLI with aserver.json); most clients and sub-registries sync from it. - GitHub MCP Registry — surfaced directly in GitHub and VS Code/Copilot.
- Smithery — largest community registry; hosted install pages and one-line client setup.
- PulseMCP and Glama — widely-browsed directories, auto-index from the official registry/GitHub.
- mcp.so — community directory, simple PR/submit flow.
- Docker MCP Catalog — if a container image is published; used by Docker Desktop's MCP Toolkit.
- Cline MCP Marketplace — in-editor marketplace for the Cline agent (submit via their GitHub repo).
- PyPI itself —
uvx soif-mcpis the install path most registries point at, so the PyPI release (seerelease.yml) underpins all of the above.
Development
pip install "soif-llm @ git+https://github.com/Unchained-Labs/soif.git"
pip install -e ".[dev]"
pytest && ruff check .
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.