MCP ExplorerExplorer

Mcp Server Nasa

@fdmochoon a year ago
1 MIT
FreeCommunity
AI Systems
MCP demo server

Overview

What is Mcp Server Nasa

mcp_server_nasa is a demonstration server designed for integrating with NASA’s Near Earth Object (NEO) API, allowing users to retrieve information about near-Earth objects based on specific dates.

Use cases

Use cases include developing educational tools for teaching astronomy, creating applications that monitor near-Earth objects for potential hazards, and integrating NEO data into scientific research projects.

How to use

To use mcp_server_nasa, clone the repository and run the installation command ‘uv install’. Configure your MCP server settings in your LLM using the provided example configuration file, and ensure to add your API key in ‘apiconfig.py’.

Key features

Key features include the ability to retrieve NEO information by date, a command-line interface for easy server management, and integration with the Claude desktop application for enhanced functionality.

Where to use

mcp_server_nasa can be used in fields such as space research, education, and software development, particularly for applications that require access to astronomical data and NEO tracking.

Content

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()

{
  "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):

uv run mcp dev <MYPYTHONFILE>

# Example output:
Starting MCP inspector...
⚙️ Proxy server listening on port <PORT>
🔍 MCP Inspector is up and running at http://127.0.0.1:<PORT> 🚀

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers