Skip to main content

Public APIs MCP Server

A Model Context Protocol (MCP) server wrapping multiple free public APIs:

  • 🌤️ Weather (Open-Meteo) — free, no API key needed
  • 🌍 Country Info (REST Countries) — free, no API key needed
  • 📝 Test Data (JSONPlaceholder) — free, no API key needed
  • 🚀 NASA Space Data (NEO, APOD) — free, uses public demo key

All APIs are completely free and require no API keys (NASA uses a public DEMO_KEY).

Usage via uvx

{
  "mcpServers": {
    "public-apis": {
      "command": "uvx",
      "args": ["public-apis-mcp-server"]
    }
  }
}

Available Tools

  • get_weather(city, latitude, longitude, timezone, forecast_days) — weather report
  • get_country_info(name) — country details
  • get_posts(limit, user_id) — test posts
  • get_users() — test users
  • get_asteroid_info(date) — near-earth objects
  • get_astronomy_picture(date) — NASA APOD

Metadata

Release files for public-apis-mcp-server 1.0.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 public-apis-mcp-server 1.0.0
File Size Uploaded Provenance
public_apis_mcp_server-1.0.0.tar.gz 5.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for public-apis-mcp-server 1.0.0
File Interpreter ABI Platform
public_apis_mcp_server-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / public_apis_mcp_server-1.0.0.tar.gz

Download URL public_apis_mcp_server-1.0.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b7ff86d8169480f162a76ef65e6358251635a349d3972fc698997712c086a931
BLAKE2b-256 checksum
How to use checksums
54978b069627340129e9639b91a0e2a8462385aec8a5d4bcee2ea42c8698ae87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / public_apis_mcp_server-1.0.0-py3-none-any.whl

Download URL public_apis_mcp_server-1.0.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e130fd457e6483a7acb73dcde7a50ee63b6fe92e5913e8e0e9d8b80b93df8e49
BLAKE2b-256 checksum
How to use checksums
47b3ee01716986ca3f1cdd9317b532af296883d33d9d1ac6a9bdb0a66eff5d6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for public-apis-mcp-server 1.0.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.0.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