Bring Astronomy
to OpenAI Agents SDK
Create your Vinkius account to connect NASA to OpenAI Agents SDK and start using all 9 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the NASA MCP Server?
Connect to NASA's open APIs through any AI agent and explore space science through natural conversation.
What you can do
- Astronomy Picture of the Day — Fetch today's APOD or any historical image with title, explanation and media URL
- Mars Rover Photos — Browse photos from Curiosity, Perseverance, Opportunity and Spirit rovers by date and camera
- Earth Satellite Imagery — View Landsat 8 satellite imagery for any coordinate on Earth with date filtering
- EPIC Earth Images — See full-disk Earth images from the DSCOVR satellite's Deep Space Camera
- Near-Earth Objects — Track asteroids and their size, velocity and hazard rating over a date range
- NASA Library Search — Search NASA's extensive image and video library with free-text queries
- Patent & Technology Transfer — Search NASA patents and discover technologies available for licensing
How it works
- Subscribe to this server
- Enter your NASA API Key (free at api.nasa.gov)
- Start exploring space from Claude, Cursor, or any MCP-compatible client
No more navigating multiple NASA websites to find Mars photos or check asteroid data. Your AI acts as a dedicated space science assistant.
Who is this for?
- Educators — quickly find APOD images, Mars photos and space data for lessons and presentations
- Developers — discover NASA datasets, search the media library and explore technology transfer opportunities
- Space Enthusiasts — track near-Earth objects, browse rover photos and view satellite imagery of any location
Built-in capabilities (9)
If no date is specified, returns today's APOD. Optionally specify a single date, a date range (start_date and end_date), or a count of random APODs. Returns the image/video URL, title, explanation, copyright and date. This is one of NASA's most popular APIs. Get NASA Astronomy Picture of the Day (APOD)
Requires longitude and latitude coordinates. Optionally specify a date (YYYY-MM-DD) to get imagery from a specific time. Returns the image URL and metadata. Useful for viewing geographic changes over time. Get satellite imagery of Earth from NASA
Optionally specify a date (YYYY-MM-DD) and whether to use enhanced-color images (true) or natural-color (false, default). Returns image URLs, coordinates and acquisition time. Get Earth Polychromatic Imaging Camera (EPIC) images from NASA
Optionally filter by Earth date (YYYY-MM-DD), camera type (FHAZ, RHAZ, MAST, CHEMCAM, MAHLI, MARDI, NAVCAM, PANCAM, MINITES), and page number. Each photo includes the image URL, rover name, camera, Earth date and Mars sol date. Get Mars Rover photos from NASA
Useful for discovering which rovers are active and when they last took photos. Get information about NASA Mars rovers
Optionally specify a start and end date (YYYY-MM-DD, max 7 days range). Returns asteroid count per day, estimated diameters, velocity, and whether they are potentially hazardous. Great for space awareness and planetary defense tracking. Get Near-Earth Object (NEO) feed from NASA
Optionally filter by category (software, patent). Returns descriptions, contact information and availability status. Get NASA technology transfer information
Accepts a free-text query and returns matching media with titles, descriptions, NASA center information and media type (image, video, audio). Optionally set page number for pagination. This is the primary search endpoint for NASA media assets. Search the NASA Image and Video Library
Requires a search query. Returns patent titles, numbers, abstracts and licensing availability. Useful for technology transfer and commercialization research. Search NASA patents
Why OpenAI Agents SDK?
The OpenAI Agents SDK auto-discovers all 9 tools from NASA through native MCP integration. Build agents with built-in guardrails, tracing, and handoff patterns. chain multiple agents where one queries NASA, another analyzes results, and a third generates reports, all orchestrated through Vinkius.
- —
Native MCP integration via
MCPServerSse, pass the URL and the SDK auto-discovers all tools with full type safety - —
Built-in guardrails, tracing, and handoff patterns let you build production-grade agents without reinventing safety infrastructure
- —
Lightweight and composable: chain multiple agents and MCP servers in a single pipeline with minimal boilerplate
- —
First-party OpenAI support ensures optimal compatibility with GPT models for tool calling and structured output
NASA in OpenAI Agents SDK
Why run NASA with Vinkius?
The NASA connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 9 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect NASA using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
NASA and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect NASA to OpenAI Agents SDK through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
NASA for OpenAI Agents SDK
Every request between OpenAI Agents SDK and NASA is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get a NASA API key?
Visit api.nasa.gov and sign up with your email — it's completely free. You'll receive an API key instantly. For quick testing, you can use DEMO_KEY which allows 30 requests/hour and 50/day. Registered keys get 1,000 requests/hour.
Can I get Mars rover photos from today?
Mars rovers don't take photos every Earth day due to communication delays and mission schedules. Use get_mars_photos with rover name 'curiosity' or 'perseverance' and an earth_date parameter. If no photos exist for that date, the API returns an empty list. Try recent dates or browse available dates with get_mars_rovers.
What are Near-Earth Objects (NEOs)?
NEOs are asteroids and comets whose orbits bring them close to Earth. NASA tracks them for planetary defense. Use get_neo_feed to see asteroid counts and data over a date range. Each NEO includes estimated diameter, velocity, miss distance, and whether it's classified as 'potentially hazardous'.
Can I search NASA's image library?
Yes! Use search_nasa_library with a free-text query (e.g. 'Apollo 11', 'Mars', 'ISS', 'Hubble'). It searches thousands of images, videos and audio files. Results include title, description, NASA center, media type and URL. Optionally set page number for pagination.
How does the OpenAI Agents SDK connect to MCP?
Use MCPServerSse(url=...) to create a server connection. The SDK auto-discovers all tools and makes them available to your agent with full type information.
Can I use multiple MCP servers in one agent?
Yes. Pass a list of MCPServerSse instances to the agent constructor. The agent can use tools from all connected servers within a single run.
Does the SDK support streaming responses?
Yes. The SDK supports SSE and Streamable HTTP transports, both of which work natively with Vinkius.
MCPServerStreamableHttp not found
Ensure you have the latest version: pip install --upgrade openai-agents
Agent not calling tools
Make sure your prompt explicitly references the task the tools can help with.
Explore More MCP Servers
View all →
SportsDB
12 toolsAccess global sports data via AI — search teams, players, and events, track scores, league tables, and match history across 200+ leagues.

Project Gutenberg
3 toolsUniversal public domain library — search and retrieve thousands of free books via AI.

WellnessLiving
9 toolsManage schedules, clients, staff, memberships, locations, and reports for your WellnessLiving-powered studio through natural conversation.

Humanitix
10 toolsManage events, tickets, and attendees via Humanitix API.
