Nasa Images
MCP server for searching NASA's image library with an interactive image viewer
- Pricing
- Open source
- Platforms
- API, CLI, self-hosted
- Runs
- Locally
- Version
- 1.1.3
- Listing updated
- today
Similar MCP servers
About Nasa Images
Nasa Images is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
The README describes this as an MCP server that searches NASA's public image library by keyword and shows the results in a browser-style viewer rendered through the MCP Apps pattern. Results are stepped through one at a time with a next-image tool, so an AI client can page through a search without re-querying.
It runs in two modes: a stdio transport for local clients such as Claude Desktop, launched via npx or a local build, and a Streamable HTTP transport on a configurable port that keeps a session per client. Search state is kept per session. A NASA API key is required, and the README notes the shared DEMO_KEY is limited to 30 requests per hour.
The project suits developers experimenting with MCP UI resources and anyone who wants AI-assisted browsing of NASA imagery such as mission photos or planetary pictures.
Install
Run in a terminal
claude mcp add nasa-images --env NASA_API_KEY='<NASA_API_KEY>' -- npx -y @kaitoy/nasa-images-mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"nasa-images": {
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"nasa-images": {
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"nasa-images": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"nasa-images": {
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"nasa-images": {
"command": "npx",
"args": [
"-y",
"@kaitoy/nasa-images-mcp-server"
],
"env": {
"NASA_API_KEY": "<NASA_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
NASA_API_KEYYour API key for the NASA Images APIRequired
Tools this server provides (2)
Taken from the project documentation; the running server may differ.
- search_nasa_images
- Search NASA's image library by query.
- get_next_image
- Display the next image from the current search results.
What it does
- Keyword image search
- Searches NASA's Images API by free-text query, such as mission names or subjects.
- Interactive image viewer
- Serves an HTML viewer resource that displays search results inside MCP-capable clients.
- Sequential navigation
- A get_next_image tool moves through the current result set one image at a time.
- Dual transport support
- Runs over stdio for local clients or Streamable HTTP for remote and multi-client setups.
- Session state management
- Keeps search position per session when using the HTTP transport.
Good for
- Browsing Apollo or Mars rover photos from inside Claude Desktop
- Prototyping an MCP server that ships an HTML UI resource
- Fetching NASA image URLs for use in an AI-assisted writing or slide task
- Testing Streamable HTTP MCP sessions with MCP Inspector
Pricing
Open source
Free, MIT-licensed; requires a free NASA API key
Nasa Images FAQ
Do I need an API key?
Yes. The README says NASA_API_KEY is required, and it can be obtained free from api.nasa.gov. The DEMO_KEY is limited to 30 requests per hour and 50 per day.
Which transports are supported?
Both stdio and Streamable HTTP. The stdio mode is recommended for Claude Desktop, and the HTTP mode starts on port 3000 by default.
What is the license?
The README lists the license as MIT.
What Node.js version is needed?
Node.js 18 or higher, according to the README requirements.
Is Nasa Images free?
Yes. Nasa Images is open source, so you can use and self-host it for free.
How do I add Nasa Images to Claude Code?
Run this command in your terminal: claude mcp add nasa-images --env NASA_API_KEY='<NASA_API_KEY>' -- npx -y @kaitoy/nasa-images-mcp-server
What are the best alternatives to Nasa Images?
The closest alternatives to Nasa Images are NASA Image of the Day — space & astronomy photos (nasaiotd), Spaceflight News, Zenserp MCP by usefulapi, AI Photo Editor MCP and AI Image Editor MCP.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

