Skip to main content

Lantern Works deals — MCP server (read-only, stdio)

mcp-name: io.github.connormatthewdouglas/lantern-works-deals

Free, read-only, no API key. Search and compare AI-infra deals and free tiers, compare tracked GPU rental prices, and price the cheapest stack for your monthly usage, ranked by customer value (never by affiliate status).

Quick start

uvx lantern-works-deals-mcp

Claude Code:

claude mcp add lantern-works-deals -- uvx lantern-works-deals-mcp

Claude Desktop (claude_desktop_config.json) / Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "lantern-works-deals": {
      "command": "uvx",
      "args": ["lantern-works-deals-mcp"]
    }
  }
}

Without uv: pip install lantern-works-deals-mcp, then use "command": "lantern-works-deals-mcp". Docker: docker build -t lantern-works-deals-mcp . && docker run -i --rm lantern-works-deals-mcp. More clients: https://thelanternworks.com/install/

Tools

Tool Args Returns
search_deals query, category, offer_type, max_price, tags[], limit (1-25, default 10), cursor {total, count, results[], next_cursor} (summary fields only)
compare_deals ids (2-5) {order, deals[], note} best value first
get_deal id the deal's public record
compare_gpu_prices gpu (e.g. H100, A100 SXM, RTX 4090), limit (1-25, default 10) {summary, scope, total, results[], data_source, feed_updated_at, ...} sorted by hourly_usd; each result has source_url and checked_at
optimize_stack scrape_pages, scrape_pages_js, proxy_gb, emails_sent, search_queries, gpu_hours, gpu_model, exclude_manual_signup per-line chosen plan, monthly_cost_usd, calc, vendor quote, source_url, checked_at, assumptions, alternatives; unpublished prices are unknown

compare_gpu_prices uses exactly the data published at https://thelanternworks.com/api/v1/gpu-prices.json. Model matching is by whole tokens (H100 matches H100 SXM; L40 does not match L40S). "Cheapest" means cheapest among tracked providers, not the whole market.

Errors: {"error": {"code": "invalid_argument|invalid_cursor|not_found|feed_unavailable|feed_invalid", "message": ...}}.

Data and privacy

Deals: https://thelanternworks.com/api/v1/deals.json; stack pricing: https://thelanternworks.com/api/v1/stack-pricing.json; GPU prices: https://thelanternworks.com/api/v1/gpu-prices.json. Each is cached 5 min (a stale copy is served if a refetch fails). Requests send only User-Agent: lantern-works-deals-mcp/<version> (no user, host or install identifiers). Overrides: LANTERN_DEALS_FILE / LANTERN_DEALS_URL, LANTERN_GPU_PRICES_FILE / LANTERN_GPU_PRICES_URL, LANTERN_STACK_PRICING_FILE / LANTERN_STACK_PRICING_URL. Only an allow-list of public fields is returned.

From git (fallback)

git clone https://github.com/connormatthewdouglas/agent-work-stack-deals.git
cd agent-work-stack-deals
python3 -m venv .venv && .venv/bin/pip install -r mcp_server/requirements.txt
.venv/bin/python mcp_server/server.py

Test

.venv/bin/pip install pytest && .venv/bin/python -m pytest -q tests
python3 scripts/test_pypi_install.py --uvx   # clean venv + uvx install from PyPI, calls every tool over stdio

Package

pyproject.toml at the repo root builds lantern-works-deals-mcp (MIT) with a lantern-works-deals-mcp console command. Published on PyPI and in the MCP Registry as io.github.connormatthewdouglas/lantern-works-deals.

Metadata

Release files for lantern-works-deals-mcp 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lantern-works-deals-mcp 0.3.1
File Size Uploaded Provenance Actions
lantern_works_deals_mcp-0.3.1.tar.gz 27.9 kB Without provenance Details for lantern_works_deals_mcp-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lantern-works-deals-mcp 0.3.1
File Interpreter ABI Platform Actions
lantern_works_deals_mcp-0.3.1-py3-none-any.whl Python 3 none any Details for lantern_works_deals_mcp-0.3.1-py3-none-any.whl

Total release size: 49.8 kB

Release files / lantern_works_deals_mcp-0.3.1.tar.gz

Download URL lantern_works_deals_mcp-0.3.1.tar.gz
Size 27.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a3fcdac87fbd411a48546a314ae70c77500b5d6cc7aea4b6b4c1d375502aba2d
BLAKE2b-256 checksum
How to use checksums
f483937d43bf0c359c5704cd3015f1e17d8c775c77a85d855973e63d75818723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / lantern_works_deals_mcp-0.3.1-py3-none-any.whl

Download URL lantern_works_deals_mcp-0.3.1-py3-none-any.whl
Size 21.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7800d037738883b93bdbff12e606ca22b4c95d94e826f8760efe3a33ef773dc1
BLAKE2b-256 checksum
How to use checksums
01513ee408e4073a73838fcb87d359e1b5103c01dd563959d34cec0a8073052a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for lantern-works-deals-mcp 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page