NASA API Integration with MCP
@jmand626
Basic information
About NASA API Integration with MCP
The MCP Project for CSE 473 Winter 2025. Coded with the assistance of Cursor AI and Claude 3.7
Overview
What is NASA API Integration with MCP?
NASA API Integration with MCP is a Python application that connects NASA’s public APIs to a Model Context Protocol (MCP) environment using Ollama and the llama3.2 language model. It lets users query NASA data through natural language, running as a command-line tool intended for developers and space enthusiasts.
How to use NASA API Integration with MCP?
First, install Ollama and the llama3.2 model. Then clone the repository, create a Python virtual environment (python -m venv venv), activate it (Windows: venv\Scripts\activate, Unix: source venv/bin/activate), and install dependencies with pip install -r requirements.txt. Run the main application with python mcp_chat.py. A test suite is available via python test_suite.py.
Key features of NASA API Integration with MCP
- Integrates NASA APIs with MCP via Ollama and llama3.2
- Supports natural‑language queries for space data
- Covers Astronomy Picture of the Day, Mars Rover photos, asteroids, Earth imagery
- Includes a dedicated test suite (
test_suite.py) - Straightforward command‑line interface (
mcp_chat.py)
Use cases of NASA API Integration with MCP
- Retrieve today’s Astronomy Picture of the Day with explanation
- Request recent photos taken by the Curiosity rover on Mars
- Query near‑Earth asteroid data for current flybys
- Obtain satellite‑like images of Earth from space
FAQ from NASA API Integration with MCP
What do I need to install to get started?
You need Ollama with the llama3.2 model, a Python 3 virtual environment, and the dependencies listed in requirements.txt.
How do I launch the application?
After setting up the environment and dependencies, run python mcp_chat.py from the project root.
What example queries can I try?
The README provides examples: “Show me today's astronomy picture,” “What photos did Curiosity take recently?,” “Are there any asteroids passing near Earth?,” and “Show me images of Earth from space.”
Is there a way to verify the integration works?
Yes, you can run python test_suite.py to execute the project’s test suite.
More IDE & Code Editors MCP clients
Repomix
yamadashy📦 Repomix (formerly Repopack) is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama,
US Government Open Data MCP
lzingaMCP server with 188 tools for 36 U.S. government APIs. Access Treasury, FRED, Congress, FDA, CDC, FEC, lobbying disclosures, SEC, USGS, and many more. Cross-references data automatically across sources. 18 APIs need no key.
Cursor Apple Notes Indexer
packetnomadAn MCP app for Cursor that searches and indexes Apple Notes locally
OmniTaskAgent
acnet-aiLet AI assistants operate your Linux servers — behind a human consent gate the model can't self-approve.
MHasnainJafridevops-mcp lets AI assistants (Claude Desktop, Cursor, Windsurf) connect, scan, plan, and deploy on real Linux servers — without handing the model the keys to the kingdom. Reading is always allowed; anything that changes state on a production-like server is refused unless the use
Comments