NASA-MCP
The NASA-MCP server integrates with NASA APIs to retrieve astronomical and space-related data via the Model Context Protocol (MCP). Key capabilities include:
Accessing Astronomy Picture of the Day (APOD) with options for specific dates, counts, and thumbnails
Querying Near Earth Objects (NEOs) data by date range or asteroid ID
Retrieving Space Weather data including coronal mass ejections, geomagnetic storms, and solar flares
Obtaining DONKI notifications for space weather events
Accessing Earth imagery from both Landsat 8 satellite and EPIC camera
Querying the Exoplanet Archive for information about planets outside our solar system
Retrieving Mars rover photos and mission manifests for Curiosity, Opportunity, and Spirit
Enables querying NASA APIs for astronomical data including Astronomy Picture of the Day (APOD), Near Earth Objects, Space Weather (DONKI), Earth imagery from Landsat 8, EPIC camera images, and Exoplanet Archive database information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NASA-MCPshow me today's astronomy picture of the day"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
NASA-MCP. Integration via MCP with NASA APIs
NASA is the National Aeronautics and Space Administration of the United States.
NASA-MCP allows you to retrieve astronomical data, space weather information, Earth imagery, and more from NASA's APIs directly from Claude AI and other MCP compatible clients, using the Model Context Protocol (MCP).
NASA-MCP is an MCP server that exposes tools enabling LLMs to query data from various NASA APIs, including APOD (Astronomy Picture of the Day), Asteroids NeoWs, DONKI (Space Weather Database), Earth imagery, EPIC (Earth Polychromatic Imaging Camera), and Exoplanet data.
It includes secure handling of API keys and proper error management for all API requests.
Key Features
Access to Astronomy Picture of the Day (APOD) with explanations and imagery
Query Near Earth Objects data and asteroid information
Retrieve Space Weather data from DONKI, including solar flares, geomagnetic storms, and more
Get Earth imagery from Landsat 8 satellite for specific coordinates
Access EPIC camera images showing the full Earth disk
Query the Exoplanet Archive database for information about planets outside our solar system
Related MCP server: nasa-exoplanet-mcp
Installation
Installing via Smithery
To install NASA API Integration Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @AnCode666/nasa-mcp --client claudeInstall with uv
Prerequisites
Python 3.10 or higher
uv package manager
Installing uv
The first step is to install uv, a package manager for Python.
It can be installed from the command line.
On macOS and Linux:
curl -LsSf https://astral.sh/uv/install.sh | shOn Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"You can also install it with pip:
pip install uvFor more information about installing uv, visit the uv documentation.
Integration with clients like Claude for Desktop
Once uv is installed, you can use the MCP server from any compatible client such as Claude for Desktop, in which case the steps to follow are:
Go to Claude > Settings > Developer > Edit Config >
claude_desktop_config.jsonAdd the following block inside
"mcpServers":
"nasa-mcp": {
"command": "uvx",
"args": [
"nasa_mcp"
],
"env": {
"NASA_API_KEY": "YOUR_NASA_API_KEY"
}
}Get a free API key from NASA at: https://api.nasa.gov/
Replace
YOUR_NASA_API_KEYwith your actual API key (leave the quotes). You can also use "DEMO_KEY" for limited testing.If you already have another MCP server configured, separate each with a comma
,.
In general, to integrate it into any other MCP-compatible client such as Cursor, CODEGPT, or Roo Code, simply go to the MCP server configuration of your client and add the same code block.
Usage Examples
Once properly configured, you can ask things like:
"Show me today's astronomy picture of the day"
"Find asteroids that will pass near Earth in the next week"
"Get information about solar flares from January 2023"
"Show me Earth imagery for coordinates 29.78, -95.33"
"Find exoplanets in the habitable zone"
DISTRIBUTIONS
Smithery
MCP Review
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides a standardized interface for AI models to interact with NASA's vast array of data sources including APOD, Mars Rover photos, satellite imagery, and space weather data.Last updated2318192ISC
- AlicenseAqualityAmaintenanceAn MCP server that gives AI assistants direct access to NASA's Exoplanet Archive — the authoritative database of every confirmed exoplanet, candidate planet, and host star.Last updated6MIT
- AlicenseAqualityCmaintenanceMCP server providing AI agents with access to NASA and space/astronomy data including APOD, Mars rover photos, near-Earth asteroids, exoplanets, Earth imagery, natural events, and space weather.Last updated11MIT
- Flicense-qualityCmaintenanceMCP server that wraps three NASA public APIs (Astronomy Picture of the Day, Mars rover photos, and near-Earth objects) as tools for AI assistants.Last updated
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AnCode666/nasa-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server