
An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

An MCP server that provides AI models with a standardized interface to NASA data sources and APIs.
NASA MCP Server is cataloged as an MCP server attributed to programcomputer. An MCP server that provides AI models with a standardized interface to NASA data sources and APIs. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: ISC License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for NASA MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It covers the NASA Open API (NEO and InSight weather), keyless APIs such as APOD, DONKI, EONET, TLE and TechPort, JPL Solar System Dynamics APIs, and Earth data APIs such as GIBS, CMR, EPIC and FIRMS.
Most tools need no API key; the NASA key is only used by a few tools, and a separate FIRMS key is only used for fire data.
README.md · b5d549ef5bb5 · 采集于 2026-11-13 08:43:25 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server for NASA APIs, providing a standardized interface for AI models to interact with NASA's vast array of data sources. This server implements the official Model Context Protocol specification.
Big thanks to the MCP community for their support and guidance!
Ask your MCP client things like:
This project is not affiliated with, endorsed by, or related to NASA (National Aeronautics and Space Administration) or any of its subsidiaries or its affiliates. It is an independent implementation that accesses NASA's publicly available APIs. All NASA data used is publicly available and subject to NASA's data usage policies.
You don't start an MCP server yourself. Your AI app (Claude, Cursor, VS Code, Codex and others) launches it in the background, so installing it means adding an entry to that app's MCP configuration. The only prerequisite is Node.js 22 or newer; npx downloads the server the first time the app starts it.
Most tools need no API key. NASA_API_KEY (free at https://api.nasa.gov/; DEMO_KEY works for light use) is only used by nasa_neo, nasa_insight_weather and nasa_mars_rover, and FIRMS_MAP_KEY only by nasa_firms. Leave out the env block if you don't need them.
Using an AI coding agent (Claude Code, Codex, Cursor, VS Code agent mode)? Paste this into it:
Install the NASA MCP server from https://github.com/ProgramComputer/NASA-MCP-server
for the app you're running in. Follow that app's section under Installation in the
README, add it for all projects, and don't add an API key. Tell me exactly what you
changed and whether I need to restart.
Most clients use this JSON shape:
{
"mcpServers": {
"nasa": {
"command": "npx",
"args": ["-y", "@programcomputer/nasa-mcp-server@latest"],
"env": {
"NASA_API_KEY": "YOUR_API_KEY"
}
}
}
}
If the file already has an mcpServers object, add the "nasa" entry inside it instead of pasting a second mcpServers.
Open Settings → Developer → Edit Config. This opens claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonPaste the standard config, save, then fully quit and reopen Claude Desktop.
claude mcp add --env NASA_API_KEY=YOUR_API_KEY --scope user nasa -- npx -y @programcomputer/nasa-mcp-server@latest
--scope user makes the server available in every project; leave it out to add it to the current project only. On native Windows, replace npx with cmd /c npx.
The button installs the server without an API key. To install by hand, or to add a key, paste the standard config into ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).
The buttons install the server without an API key. VS Code uses a top-level servers key instead of mcpServers. To install by hand, add this to .vscode/mcp.json in your workspace, or run MCP: Open User Configuration from the Command Palette for all workspaces. VS Code asks for the key the first time the server starts and stores it securely; leave it blank to skip it.
{
"inputs": [
{
"type": "promptString",
"id": "nasa-api-key",
"description": "NASA API key (optional)",
"password": true
}
],
"servers": {
"nasa": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@programcomputer/nasa-mcp-server@latest"],
"env": {
"NASA_API_KEY": "${input:nasa-api-key}"
}
}
}
}
codex mcp add nasa --env NASA_API_KEY=YOUR_API_KEY -- npx -y @programcomputer/nasa-mcp-server@latest
This writes the following to ~/.codex/config.toml, which the Codex CLI, IDE extension and desktop app share. You can also add it by hand:
[mcp_servers.nasa]
command = "npx"
args = ["-y", "@programcomputer/nasa-mcp-server@latest"]
[mcp_servers.nasa.env]
NASA_API_KEY = "YOUR_API_KEY"
Paste the standard config into ~/.gemini/settings.json (all projects) or .gemini/settings.json (one project).
Most other MCP clients accept the standard config. If a client asks for the command and arguments separately, the command is npx and the arguments are -y @programcomputer/nasa-mcp-server@latest.
To run a local clone instead of the npm package (see Manual Installation), use "command": "node" with "args": ["/absolute/path/to/NASA-MCP-server/dist/index.js"].
Restart or reload your client and check that a server named nasa appears in its MCP or tools list. Then ask something like "What's today's Astronomy Picture of the Day?"
If the server doesn't appear:
node --version and make sure it prints v22 or newer.mcpServers object.npx can't be found, use "command": "cmd" with "args": ["/c", "npx", "-y", "@programcomputer/nasa-mcp-server@latest"].You only need this for testing; your MCP client starts the server for you.
env NASA_API_KEY=YOUR_API_KEY npx -y @programcomputer/nasa-mcp-server@latest
You can also pass the API key as a command line argument:
npx -y @programcomputer/nasa-mcp-server@latest --nasa-api-key=YOUR_API_KEY
# Clone the repository
git clone https://github.com/ProgramComputer/NASA-MCP-server.git
# Install dependencies
cd NASA-MCP-server
npm install
# Build
npm run build
# Run with your API key
NASA_API_KEY=YOUR_API_KEY npm start
Replace YOUR_API_KEY with your NASA API key from https://api.nasa.gov/. Requires Node.js 22 or newer.
The server can be configured with the following environment variables:
| Variable | Description |
|---|---|
NASA_API_KEY | Your NASA API key (get at api.nasa.gov); used by NEO and InSight weather |
FIRMS_MAP_KEY | Your FIRMS MAP_KEY for fire data (get at firms.modaps.eosdis.nasa.gov/api/map_key); separate from NASA_API_KEY |
NASA_MCP_CMR_URL | Optional CMR search URL (default: https://cmr.earthdata.nasa.gov/search) |
MCP_TRANSPORT | Transport mode: stdio (default) or http for Streamable HTTP |
MCP_HTTP_HOST | Host for Streamable HTTP mode (default: 127.0.0.1) |
MCP_HTTP_PORT | Port for Streamable HTTP mode (default: 3000) |
MCP_HTTP_PATH | MCP endpoint path for Streamable HTTP mode (default: /mcp) |
By default, the server runs over stdio for local MCP clients such as Cursor.
To run the optional Streamable HTTP transport:
MCP_TRANSPORT=http MCP_HTTP_PORT=3000 NASA_API_KEY=YOUR_API_KEY npm start
The Streamable HTTP endpoint will be available at:
http://127.0.0.1:3000/mcp
This MCP server integrates the following NASA APIs:
NASA Open API (api.nasa.gov, needs NASA_API_KEY):
Other NASA APIs (no key needed):
JPL Solar System Dynamics API (ssd-api.jpl.nasa.gov):
Earth Data APIs:
Each NASA API is exposed through standardized MCP methods:
{
"method": "nasa/apod",
"params": {
"date": "2023-01-01", // Optional: YYYY-MM-DD (1995-06-16 or later); defaults to the latest picture
"max_images": 1 // Optional: how many pictures to embed (0-5)
}
}
For a range, send start_date and end_date (up to 100 days) instead of date. APOD now comes from the NASA Science APOD API, which needs no key and has no random count or thumbs option.
{
"method": "nasa/neo",
"params": {
"start_date": "2023-01-01", // Required: YYYY-MM-DD format
"end_date": "2023-01-07" // Required: YYYY-MM-DD format (max 7 days from start)
}
}
{
"method": "nasa/gibs",
"params": {
"layer": "MODIS_Terra_CorrectedReflectance_TrueColor", // Required: Layer ID
"date": "2023-01-01", // Required: YYYY-MM-DD format
"format": "png" // Optional: "png" or "jpg"
}
}
{
"method": "nasa/power",
"params": {
"parameters": "T2M,PRECTOTCORR,WS10M", // Required: Comma-separated list
"community": "re", // Required: Community identifier
"latitude": 40.7128, // Required: Latitude
"longitude": -74.0060, // Required: Longitude
"start": "20220101", // Required: Start date (YYYYMMDD)
"end": "20220107" // Required: End date (YYYYMMDD)
}
}
{
"method": "nasa/cmr",
"params": {
"keyword": "sea surface temperature", // Optional: Collections only
"search_type": "collections", // Optional: "collections" (default) or "granules"
"bounding_box": "-100,10,-60,40", // Optional: west,south,east,north ("bbox" also works)
"temporal": "2024-06-01T00:00:00Z,2024-09-30T23:59:59Z", // Optional: start,end
"limit": 5 // Optional: 1-100, default 10
}
}
Results come back in a compact format by default ("response_mode": "raw" returns CMR's own metadata, and fields picks which fields to return). To get the next page, send back only the next_cursor from the response:
{
"method": "nasa/cmr",
"params": {
"cursor": "cmr1..." // Required: next_cursor from the previous response
}
}
{
"method": "nasa/firms",
"params": {
"bbox": "-125,32,-114,42", // Required: west,south,east,north (or latitude, longitude and radius_km)
"days": 1, // Optional: 1-5
"source": "VIIRS_SNPP_NRT" // Optional: FIRMS data source
}
}
For complete documentation of all available methods and parameters, see the API reference in the /docs directory.
The server includes comprehensive logging:
Example log messages:
[INFO] NASA MCP Server initialized successfully
[INFO] Processing APOD request for date: 2023-01-01
[WARNING] Rate limit threshold reached (80%)
[ERROR] Invalid parameter: 'date' must be in YYYY-MM-DD format
This MCP server implements security best practices following the Model Context Protocol specifications:
# Clone the repository
git clone https://github.com/ProgramComputer/NASA-MCP-server.git
# Install dependencies
npm install
# Copy the example environment file and update with your API keys
cp .env.example .env
# Build the TypeScript code
npm run build
# Start the server
npm start
# Run tests
npm test
To test the tools interactively, build the project and start the official MCP Inspector with the server:
npm run build
npx @modelcontextprotocol/inspector node dist/index.js
The server reads NASA_API_KEY and FIRMS_MAP_KEY from a .env file in the working directory (see Development above). The Inspector prints a local URL; open it to list and call the tools.
The repository includes example test requests for each API that you can copy and paste into the MCP Inspector:
# View the example test requests
cat docs/inspector-test-examples.md
For detailed examples, see the Inspector Test Examples document.
This server follows the official Model Context Protocol. For local clients, use the stdio configuration in Installation. For Streamable HTTP mode, start the server with MCP_TRANSPORT=http, then connect with the MCP SDK:
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
import { CallToolResultSchema } from "@modelcontextprotocol/sdk/types.js";
const transport = new StreamableHTTPClientTransport(
new URL("http://127.0.0.1:3000/mcp")
);
const client = new Client({
name: "mcp-client",
version: "1.0.0",
});
await client.connect(transport);
// Example: Get today's Astronomy Picture of the Day
const apodResult = await client.request({
method: "tools/call",
params: {
name: "nasa/apod",
arguments: {}
}
}, CallToolResultSchema);
// Example: Search for Near Earth Objects
const neoResults = await client.request({
method: "tools/call",
params: {
name: "nasa/neo",
arguments: {
start_date: "2023-01-01",
end_date: "2023-01-07"
}
}
}, CallToolResultSchema);
// Example: Get satellite imagery from GIBS
const satelliteImage = await client.request({
method: "tools/call",
params: {
name: "nasa/gibs",
arguments: {
layer: "MODIS_Terra_CorrectedReflectance_TrueColor",
date: "2023-01-01"
}
}
}, CallToolResultSchema);
// Example: Use the new POWER API
const powerData = await client.request({
method: "tools/call",
params: {
name: "nasa/power",
arguments: {
parameters: "T2M,PRECTOTCORR,WS10M",
community: "re",
latitude: 40.7128,
longitude: -74.0060,
start: "20220101",
end: "20220107"
}
}
}, CallToolResultSchema);
npm testISC License - see LICENSE file for details
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for NASA MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/nasa-apis)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Runs a free Answer Engine Optimization and AI visibility report for a domain and returns a shareable report plus a structured summary.

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.