NASA API Integration with MCP logo

NASA API Integration with MCP

by jmand626

This project integrates the NASA API with an MCP (presumably a chat application or interface). It allows users to query NASA's vast data collection through simple, natural language questions.

View on GitHub

Last updated: N/A

NASA API Integration with MCP

Quick Setup

  1. Install Ollama and the llama3.2 model
  2. Clone this repository
  3. Create a virtual environment: python -m venv venv
  4. Activate:
    • Windows: venv\Scripts\activate
    • Unix: source venv/bin/activate
  5. 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