NASA MCP

NASA MCP

Provides compact, assistant-friendly tools for NASA's public APIs, including APOD, space weather, Earth events, and media library, without flooding the context window.

Category
Visit Server

README

NASA MCP

A local stdio MCP server that turns NASA's public APIs into compact, assistant-friendly tools instead of pouring raw telemetry into the context window.

Tools

  • nasa_daily_brief — APOD, recent space-weather notices, current Earth events, and the latest full-disc Earth image in one fault-tolerant call.
  • nasa_apod — Astronomy Picture of the Day by date or random sample.
  • nasa_search_media — search NASA's image, video, and audio library.
  • nasa_media_asset — retrieve downloadable files for a NASA media ID.
  • nasa_earth_events — current/recent wildfires, storms, volcanoes, icebergs, floods, and other EONET events.
  • nasa_space_weather — DONKI notifications or event feeds such as flares, CMEs, and geomagnetic storms.
  • nasa_epic_earth — recent DSCOVR/EPIC full-disc Earth imagery with direct image URLs.
  • nasa_power_daily — historical daily weather, solar-resource, and agricultural data for a latitude/longitude in compact columnar series.
  • nasa_power_climatology — monthly and annual climate normals for a location using NASA POWER's standard 2001–2020 baseline.

NASA POWER tools provide weather, solar, and agriculture presets, or up to ten explicitly selected parameter codes. The agriculture preset defaults to POWER's AG community; other requests default to RE, with SB also available when community-specific units are needed. Daily requests are limited to 366 calendar days and 2,000 parameter-day values, radiation parameters begin on 1984-01-01, and responses clearly identify the data as historical rather than a forecast.

Setup

npm install
npm test
npm run smoke

The smoke test always exercises the six keyless live tools. It exercises APOD, DONKI, and the combined daily brief only when a registered NASA_API_KEY is configured; degraded API-keyed sections do not receive a false green.

NASA_API_KEY is optional. Without it, the server uses NASA's DEMO_KEY (30 requests/hour and 50/day per IP). EONET, EPIC, NASA POWER, and the NASA media library are keyless. For regular use, create a free key at https://api.nasa.gov/ and expose it as NASA_API_KEY in the MCP server environment.

Run

NASA_API_KEY=... node dist/index.js

The server speaks MCP over stdio. Logs go to stderr; stdout is reserved for protocol frames.

Data behavior

  • Date ranges, numeric limits, enum values, and extra arguments are strictly validated.
  • Free-text and ID inputs are length-limited; outputs are normalized, truncated, and capped to avoid context flooding.
  • Requests are restricted to fixed NASA HTTPS origins, use 20-second timeouts, and retry transient 5xx responses once.
  • nasa_daily_brief returns partial results when one upstream API is unavailable, including shared DEMO_KEY throttling.
  • NASA API keys are redacted from returned source URLs; rate-limit headers are surfaced when available.

Sources: NASA Open APIs, NASA Image and Video Library, EONET v3, DONKI, EPIC, and NASA POWER.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured