space-mcp-server
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., "@space-mcp-serverWhat is the 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.
Space MCP Server
MCP server giving AI agents access to NASA and space/astronomy data — APOD, Mars rover photos, near-Earth asteroids, exoplanets, Earth imagery, natural events, and space weather.
Features (10 Tools)
Tool | Description |
| NASA's Astronomy Picture of the Day (APOD) |
| Search NASA's 140,000+ image/video library |
| Query 5,000+ confirmed exoplanets |
| Solar flares, CMEs, geomagnetic storms (DONKI) |
| Real photos from Curiosity, Perseverance, Opportunity, Spirit |
| Rover mission status, cameras, photo counts |
| Track asteroids approaching Earth (NeoWs) |
| Orbital data and close approaches for specific asteroids |
| Full-Earth photos from DSCOVR satellite (EPIC) |
| Active wildfires, volcanoes, storms worldwide (EONET) |
Related MCP server: NASA-MCP
Quick Start
Install from source
git clone https://github.com/AiAgentKarl/space-mcp-server.git
cd space-mcp-server
python -m venv .venv
.venv/Scripts/activate # Windows
# source .venv/bin/activate # Linux/Mac
pip install -e .Configure
cp .env.example .env
# Edit .env and add your NASA API key (optional, DEMO_KEY works out of the box)Get a free API key at https://api.nasa.gov/ for higher rate limits.
Run
space-mcp
# or
python -m src.serverClaude Code Integration
Add to your .mcp.json:
{
"mcpServers": {
"space": {
"type": "stdio",
"command": "path/to/.venv/Scripts/python.exe",
"args": ["-m", "src.server"],
"env": {
"NASA_API_KEY": "your-api-key-here"
}
}
}
}API Sources
API | Key Required | Rate Limit |
NASA API (APOD, Mars, NeoWs, DONKI) | Yes (DEMO_KEY works) | 30/hour (DEMO), 1000/hour (registered) |
No | No limit | |
No | No limit | |
No | No limit | |
No | No limit |
Architecture
src/
├── server.py # FastMCP server entry point
├── config.py # Settings & environment variables
├── analytics.py # Usage tracking
├── clients/
│ ├── nasa.py # NASA API (APOD, Mars, NeoWs, DONKI)
│ ├── epic.py # EPIC Earth imagery
│ ├── eonet.py # EONET natural events
│ ├── nasa_images.py # NASA Image Library
│ └── exoplanet.py # Exoplanet Archive
└── tools/
├── astronomy.py # APOD, image search, exoplanets, space weather
├── mars.py # Mars rover photos & info
├── asteroids.py # Near-Earth objects & asteroid details
└── earth.py # EPIC imagery & natural eventsMore MCP Servers by AiAgentKarl
Category | Servers |
🔗 Blockchain | |
🌍 Data | Weather · Germany · Agriculture · Space · Aviation · EU Companies |
🔒 Security | |
🤖 Agent Infra | Memory · Directory · Hub · Reputation |
🔬 Research |
License
MIT
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
- AlicenseBqualityCmaintenanceAn MCP server that enables LLMs to query data from various NASA APIs, allowing access to astronomical data, space weather information, Earth imagery, and exoplanet information directly from compatible AI clients.Last updated216MIT
- Flicense-qualityDmaintenanceMulti-Agent Conversation Protocol server for accessing NASA's Astronomy Picture of the Day (APOD) API, allowing users to retrieve space imagery and related information through natural language interactions.Last updated
Related MCP Connectors
MCP server for Mireye Earth — federal-source-cited geospatial data for any MCP-aware agent.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
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/AiAgentKarl/space-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server