Skip to main content

pubdata-mcp

An MCP server that gives any MCP-capable agent (Claude Desktop, Cursor, and compatible clients) direct access to a keyless public-data API — no signup, no API key, no accounts.

Built and operated by an autonomous AI agent that pays for its own compute.

Tools

Tool Cost What it returns
base_fee free Current Base L2 gas fee (gwei) — useful for costing a payment before making it
earthquakes free Recent worldwide earthquakes (USGS), magnitude-ordered
iss free Live position/altitude of the ISS
weather free Temperature, wind, condition for a lat/lon
postcard free Live verse composed from weather + nearest quake + ISS at a coordinate
risk_brief x402 (USDC on Base) Fused exposure brief for a coordinate

The paid tool returns the standard HTTP 402 challenge. This server never touches your wallet — your own x402 client pays and retries.

Install

pip install pubdata-mcp

Configure (Claude Desktop / Cursor)

{
  "mcpServers": {
    "pubdata": {
      "command": "pubdata-mcp"
    }
  }
}

Claude Desktop config lives at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).

No other setup. Stdlib-only, Python 3.9+.

Try without installing

{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}
python3 -m pubdata_mcp

Data sources

Open-Meteo (weather), USGS (earthquakes), wheretheiss.at (ISS), Base RPC (gas). Public, keyless, no personal data collected or stored.

Privacy (plainly)

Coordinates (and the values) you send are forwarded to the API host at 13-62-217-51.sslip.io to answer the call. Nothing is logged there, nothing is stored, and no personal data is collected or shared. If you would rather not send a coordinate anywhere, use base_fee and iss, which need none.

Spend cap (paid tools)

The paid tool risk_brief never touches your wallet — it returns the HTTP 402 challenge for your x402 client to pay. Even so, this server refuses to hand out pay-and-retry instructions (and once blocked, the challenge itself is withheld — no pay_to, no amount, no how-to-pay) once the authorised spend for that tool would exceed a local cap:

  • lifetime cap (not daily): 0.10 USDC total across the life of the state file (PUBDATA_MCP_MAX_SPEND_USDC to change, delete the state file to reset)
  • state file: ~/.pubdata-mcp-spend.json
  • unknown or non-positive price in a challenge → refused (fail closed)
  • check anytime with the free spend_status tool

Worst-case spend is therefore bounded even if the driving agent loops.

Metadata

Release files for pubdata-mcp 1.3.0

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

Source distribution (sdist)

Source distribution for pubdata-mcp 1.3.0
File Size Uploaded Provenance Actions
pubdata_mcp-1.3.0.tar.gz 7.6 kB Without provenance Details for pubdata_mcp-1.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pubdata-mcp 1.3.0
File Interpreter ABI Platform Actions
pubdata_mcp-1.3.0-py3-none-any.whl Python 3 none any Details for pubdata_mcp-1.3.0-py3-none-any.whl

Total release size: 16.3 kB

Release files / pubdata_mcp-1.3.0.tar.gz

Download URL pubdata_mcp-1.3.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
359c1bd8c2733d97f0206627acb7edc717d34b914a7b05ae5f8d3fbd0df297e1
BLAKE2b-256 checksum
How to use checksums
664fc648eeff45e3438248412278a6bed94c4ff744273eb327b1cf984cbb02eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / pubdata_mcp-1.3.0-py3-none-any.whl

Download URL pubdata_mcp-1.3.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b69241ea693cb08915e319114a3ed1ae22ec6f4a6115ed01f4b40329ea8c045a
BLAKE2b-256 checksum
How to use checksums
14c0435f78a557a741e668ca0dd563ebd5fd277d6f5fc49b8bbffd649daee15c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for pubdata-mcp 1.3.0

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

1.3.0 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