Lantern Works MCP Server is a free tool for AI agents to query cloud GPU rental prices, price changes, and deal information. It provides service through the Model Context Protocol (MCP) or a JSON interface, with no API key required.
Purpose
The tool is designed to help AI agents quickly obtain GPU rental price comparisons across providers, supporting models such as H100, H200, A100, L40S, and RTX 4090/5090. Agents can ask about the price of a specific GPU model, cost estimates for a compute task, price history changes, and more.
Key Capabilities
- Price comparison: Returns GPU rental prices from tracked providers sorted from lowest to highest, with each price accompanied by the provider page link and check time.
- Cost estimation: Calculates a compute cost subtotal based on the specified GPU model and duration, and lists assumptions and missing costs (such as storage, egress traffic, and taxes).
- Price change tracking: Provides data such as price history, daily changes, and maximum daily/weekly fluctuations.
- Deal information: Provides a deals catalog and JSON data feeds.
- Hosted endpoint extra features: Price monitoring (watch) and alerts (alert), supporting webhook and polling methods.
- Local package: Read-only, containing 12 tools; the hosted endpoint contains 19 tools.
How to Use
- Hosted endpoint (no installation required): Connect via Streamable HTTP to the URL
https://lantern-works-mcp.lantern-works.workers.dev/mcp?ref=readme. - Local installation: Use
uvx lantern-works-deals-mcporpip install lantern-works-deals-mcpand then runlantern-works-deals-mcp. Supports Python 3.10+. - Read JSON directly: Visit
api/v1/gpu-prices.jsonor the per-model feeds. - Client configuration: Provides configuration instructions for clients such as Claude Desktop, Cursor, VS Code, Windsurf, Cline, and OpenAI Codex CLI.
- Docker: An image can be built and run.
- Example calls: Such as
compare_gpu_prices(gpu="H100")or asking in natural language "How much does 8 hours of A100 cost?".
Use Cases
- AI agents querying GPU costs when planning compute tasks.
- Developers comparing GPU rental prices across cloud providers.
- Monitoring GPU price changes and setting alerts.
- Integrating into frameworks such as LangGraph, CrewAI, and OpenAI Agents SDK.
Limitations
- Price data comes from providers' public pages and APIs and is re-checked periodically; it is not real-time data, and it is recommended to confirm on the provider page before spending.
- "Cheapest" refers only to the cheapest among tracked providers, not the entire market.
- Some result links are referral links and may generate commissions, but this does not affect rankings.
- The local package is read-only; only the hosted endpoint supports monitoring and alert features.
- Telemetry is off by default and can be opted into anonymous call counting via an environment variable.
- The code is under the MIT license, and price and transaction data are under the CC BY 4.0 license.