SkyQuery
Provides integration with NASA's Astronomy Picture of the Day (APOD) service, allowing retrieval of the daily astronomy image and its explanation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SkyQueryWhere is asteroid 99942 Apophis now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
✦ SkyQuery
The sky, queryable. Your questions, real data, one conversation.
A free, local, open-source MCP server that puts the working astronomer's whole toolkit, object lookups, catalog cross-matches, ephemerides, literature, and observation planning, behind one conversational interface. Point any AI assistant at it and ask the sky anything. Runs entirely on your machine.
Website · Install · The demo · How it works · Tools
The honest version, first
SkyQuery is a normalization and MCP layer on top of astroquery, which it credits loudly. It wraps free, publicly funded astronomy services (SIMBAD, JPL Horizons, VizieR, Gaia, ADS, and more), honors their rate limits, and attaches a citation to every value it returns. It is local-first: there is no SkyQuery server, nothing phones home, and your queries, keys, and downloaded data never leave your machine except to talk to those public services directly. You can read every line that touches the network.
It is not affiliated with NASA, JPL, CDS/Strasbourg, STScI, ESA, the Astropy project, or the unrelated JHU catalog tool of a similar name. It is not proprietary-data access, not telescope control, and not a hosted service. The answer to "can you host it for me" is "run it yourself, that is the point."
Related MCP server: nasa-exoplanet-mcp
Why it exists
The data is public and abundant. The interfaces are fragmented and unforgiving. To answer one ordinary question, "where is comet Apophis tonight, how big is it, and what's the latest paper on it?", you touch a JPL prompt, a SIMBAD form, and ADS query syntax, each with its own units and conventions, and you end up copying numbers between tabs by hand. Ask an LLM directly and it will happily invent an ephemeris that looks right and is wrong.
SkyQuery is the missing layer. It hands the assistant results that are typed, unit-tagged, and provenance-carrying instead of raw floats, so the model can reason over real data without guessing what "deg versus hourangle" or "J2000 versus ICRS" means.
The demo that sells it
"Where is asteroid Apophis on its 2029 approach, how big is it, and what's a paper about it?"
$ skyquery demo
99942 Apophis (2004 MN4)
size: 0.34 km H: 19.09 mag
closest approach: 2029-Apr-13 22:00 0.000257245 AU (0.100 lunar distances)
visual magnitude at approach: 4.257 mag
paper: Radar and Optical Observations of Near-Earth Asteroid 99942 Apophis (2024)
99942 Apophis (2004 MN4) is about 0.34 km. On 2029-Apr-13 22:00 it passes 0.000257 AU
from Earth (0.10 lunar distances), inside geostationary orbit. Source: JPL Horizons and SBDB.JPL Horizons, the Small-Body Database, and the literature, answered in one breath, with the units, the frame, and the citation intact. That runs offline against shipped fixtures, so it works the moment you install it.
Install in under five minutes
# 1. Install (pick one)
uv tool install skyquery-mcp # recommended
pipx install skyquery-mcp
# 2. Try it right now, offline, no keys
skyquery demo
skyquery resolve Vega
skyquery ephemeris "99942 Apophis" --start 2029-04-13 --stop 2029-04-14Then point your assistant at it. Add one stdio block to your MCP client config (for example Claude
Desktop's claude_desktop_config.json):
{
"mcpServers": {
"skyquery": { "command": "skyquery-mcp" }
}
}That is the whole integration. SIMBAD, VizieR, and JPL Horizons need no key at all, so it is useful out of the box. Optional free keys unlock more, and go straight to your OS keychain, never a file:
skyquery login ads # free ADS researcher token, unlocks literature
skyquery login nasa # free NASA key, unlocks the APOD "wonder" layerSee SETUP.md for the exact steps and the --live flag.
How it works
Your assistant ──MCP──▶ SkyQuery ──▶ SIMBAD · Horizons · VizieR · Gaia · ADS · ...
◀── normalized + provenance ──Every service response is parsed into one small set of typed models, Object, CatalogTable,
Ephemeris, Paper, ObservationWindow, DataProduct, with values wrapped in astropy units and
coordinates carried in explicit frames and epochs. One source of truth feeds both the MCP tools and
the CLI.
One coordinate frame. Everything lands in ICRS degrees with its epoch explicit.
Every value sourced. Each field knows the service, the exact query, and the acknowledgment that service asks you to cite. Run
skyquery citefor a ready-to-paste block.Deterministic, not guessed. The correctness-critical logic (unit and frame conversion, cross-match, provenance) is pure and separated from I/O, and tested against known reference values.
A good citizen by construction. Human-scale rate limits and an on-disk cache are hard-coded floors, so a free service is never hammered.
The tool surface
The MCP server exposes normalized, well-documented tools an assistant can chain (resolve a name, get its ephemeris, find its papers):
Domain | Tools |
Object intelligence |
|
Ephemerides & small bodies |
|
Catalogs & cross-match |
|
Literature |
|
Analysis (no network) |
|
Wonder layer |
|
Provenance |
|
The CLI mirrors these: resolve, ephemeris, small-body, cone, literature, convert,
frame, apod, demo, cite, plus setup, login, status. Every command takes --json for
machine output and --live to leave replay mode and query the real services.
For the auditor
You should be able to verify the trust model from readable code and passing tests:
git clone https://github.com/KarthikSubramanian07/skyquery && cd skyquery
uv pip install -e ".[dev]"
pytest # green with zero network and zero keysThe suite proves the three things that matter: numerical correctness (unit and frame conversions checked against astropy's own transforms and real captured reference values), good citizenship (the rate-limiter throttles bursts and backs off), and credential secrecy (keys touch only the keychain, and a test greps all log output to prove no token ever leaks). See DECISIONS.md for the architecture and the OSS ledger.
Built on the shoulders of
astropy · astroquery · astroplan · the Model Context Protocol SDK · and the free public services listed above. This tool is a thank-you note to all of them.
Support
SkyQuery is free forever and costs nothing to run. If it saved you a late-night tab-juggling session, you can buy me a coffee ☕.
License
MIT. Go build something with the sky.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/KarthikSubramanian07/skyquery'
If you have feedback or need assistance with the MCP directory API, please join our Discord server