MCP Server for NASA API integration.
About
A server that provides access to NASA's Near Earth Object (NEO) API, allowing retrieval of asteroid data by date range for use with MCP-compatible LLMs.
Details
- Author
- fdmocho
- GitHub stars
- 1
- Downloads
- 301
- Categories
- Developer Tools
Jump to
- Retrieves Near Earth Object data for a date range
- Single tool: getNeo
- Requires a NASA API key
- Uses uv for Python environment and dependency management
- Ready for Claude Desktop via MCP configuration
Clone the repository, run uv install, then add your NASA API key to apiconfig.py. Configure the MCP server in your LLM client (e.g., claude_desktop_config.json) using uv as the command and pointing to main.py. Invoke the getNeo tool with start_date and end_date parameters.
MCP Server for NASA API integration.
NASA NEO API request by date
- Near Earth Object information retrieval by date
Clone repo and run:
uv install
Add you mcp server config to your LLM
Example Claude config file (_claude_desktop_config.json_)
{
"mcpServers": {
"nasa": {
"command": "uv",
"args": [
"--directory",
"<PATH TO YOUR PY>",
"run",
"main.py"
]
}
}
}
Tools:
_getNeo()_
- add your own api key in apiconfig.py (eg: apiconfig.example.py)
{
"method": "tools/call",
"params": {
"name": "getNeo",
"arguments": {
"start_date": "<START_DATE>",
"end_date": "<END_DATE>"
},
"_meta": {
"progressToken": 0
}
}
}
Other instructions (uv examples)
Create environment
uv init mcp-server-demo
cd mcp-server-demo
uv add "mcp[cli]"
uv run mcp
Usage: _mcp [OPTIONS] COMMAND [ARGS]_
MCP development tools
- Options
--help
Commands
_version_ > Show the MCP version
_dev_ > Run a MCP server with the MCP Inspector
_run_ > Run a MCP Server
_install_ > Install a MCP server in the Claude desktop app
Example _(open MCP dev Inspector)_:
```Bash
uv run mcp dev <MYPYTHONFILE>
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





