MCP Server for NASA API
by fdmocho
This MCP server allows you to retrieve Near Earth Object (NEO) information from the NASA API by date. It's designed to integrate with LLMs via MCP (Message Communication Protocol).
Last updated: N/A
What is MCP Server for NASA API?
This is an MCP server that provides access to NASA's Near Earth Object (NEO) API. It allows you to retrieve information about NEOs within a specified date range.
How to use MCP Server for NASA API?
- Clone the repository. 2. Install dependencies using
uv install
. 3. Add your MCP server configuration to your LLM's configuration file (e.g., claude_desktop_config.json). 4. Add your NASA API key toapiconfig.py
. 5. Use thegetNeo
tool with a start and end date to retrieve NEO data.
Key features of MCP Server for NASA API
NEO data retrieval by date
Integration with LLMs via MCP
Uses NASA API
Configurable API key
Use cases of MCP Server for NASA API
Retrieving NEO data for research
Integrating NEO data into LLM-based applications
Educational purposes
Building astronomy-related tools
FAQ from MCP Server for NASA API
What is MCP?
What is MCP?
MCP (Message Communication Protocol) is a protocol for communication between applications, often used in the context of LLMs.
Where do I get a NASA API key?
Where do I get a NASA API key?
You can obtain a NASA API key from the NASA Open APIs website (api.nasa.gov).
How do I specify the date range?
How do I specify the date range?
The getNeo
tool accepts start_date
and end_date
arguments in the format YYYY-MM-DD.
What kind of data does the API return?
What kind of data does the API return?
The API returns data about Near Earth Objects, including their name, estimated diameter, close approach data, and more.
How do I run the server in development mode?
How do I run the server in development mode?
Use the command uv run mcp dev <MYPYTHONFILE>
to start the server with the MCP Inspector.