
NASA API Integration with MCP
By jmand626
GitHub
The MCP Project for CSE 473 Winter 2025. Coded with the assistance of Cursor AI and Claude 3.7
Overview
what is the MCP Project?
The MCP Project is an integration of NASA's API with a custom application, designed for CSE 473 in Winter 2025, utilizing AI assistance from Cursor AI and Claude 3.7.
how to use the MCP Project?
To use the MCP Project, follow these steps:
- Install Ollama and the llama3.2 model.
- Clone the repository from GitHub.
- Create and activate a virtual environment.
- Install the required dependencies.
- Run the main application using the command
python mcp_chat.py
.
key features of the MCP Project?
- Integration with NASA's API for real-time data.
- Ability to query various NASA resources such as images and astronomy pictures.
- Customizable application for educational purposes.
use cases of the MCP Project?
- Fetching today's astronomy picture.
- Retrieving recent photos taken by the Curiosity rover.
- Checking for asteroids passing near Earth.
- Displaying images of Earth from space.
FAQ from the MCP Project?
- What programming language is used in the MCP Project?
The project is coded in Python.
- Is there a test suite available?
Yes, you can run the test suite using the command
python test_suite.py
.
- Where can I find the project documentation?
The project documentation is available in the report linked in the GitHub repository.
Content
NASA API Integration with MCP
Quick Setup
- Install Ollama and the llama3.2 model
- Clone this repository
- Create a virtual environment:
python -m venv venv
- Activate:
- Windows:
venv\Scripts\activate
- Unix:
source venv/bin/activate
- Windows:
- Install dependencies:
pip install -r requirements.txt
Running the Project
Run the main application:
python mcp_chat.py
Run the test suite:
python test_suite.py
Example Queries
- "Show me today's astronomy picture"
- "What photos did Curiosity take recently?"
- "Are there any asteroids passing near Earth?"
- "Show me images of Earth from space"
Project Documentation
See my report for more info
No tools information available.
No content found.