mcp-exoplanet-archive
Provides tools for querying the NASA Exoplanet Archive, including ADQL TAP queries, quick planet searches, composite planet parameters, Kepler candidates, and microlensing events.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
@pipeworx/exoplanet-archive
NASA Exoplanet Archive MCP — ~6,451 confirmed exoplanets + candidates + light curves. Keyless TAP service.
Part of Pipeworx — an MCP gateway connecting AI agents to 1864+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
A row-grain trap: ps vs pscomppars
The archive publishes two planet tables with different row grains, and mixing them up silently over-counts planets by ~6x:
ps(Planetary Systems) — one row per published parameter solution. A planet re-measured across several papers gets several rows, soCOUNT(*) FROM pscounts solutions, not planets (40,350 rows for 6,451 confirmed planets, 2026-10-16).pscomppars(Planetary Systems Composite Parameters) — one row per confirmed planet. This is the right table for "how many confirmed exoplanets" and for any per-planet listing.
Use confirmed_planet_count or composite for planet counts/listings. If you
query ps directly (via planets or tap), filter default_flag = 1 or
count DISTINCT pl_name to get one row per planet; every response from this
pack names its row unit so this can't be missed silently.
Related MCP server: mcp-mast-nasa
Tools
tap(query, format?)— ADQL TAP query against the archive (default table:ps). A rawCOUNT(*) FROM pswithoutdefault_flag/DISTINCTcomes back with awarningfield, not a bare number.planets(query?, limit?)— per-solution search against thepstable; every response carries aunitfield naming the row graincomposite(query?, limit?)— query the composite planet parameter tablepscomppars(one row per confirmed planet)confirmed_planet_count(query?)— count of confirmed exoplanets frompscomppars, with its unit and the date of the live query; optional WHERE-clause filter (e.g.disc_year = 2023)kepler_candidates(query?, limit?)— Kepler Object of Interest (KOI) table (unconfirmed candidates)microlensing(query?, limit?)— microlensing event table
Data source
NASA Exoplanet Archive, TAP service.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"exoplanet-archive": {
"url": "https://gateway.pipeworx.io/exoplanet-archive/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/exoplanet-archive/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Both URLs reach the same gateway and the same 1864+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/exoplanet_archive_tap \
-H 'Content-Type: application/json' \
-d '{"query":"SELECT TOP 5 pl_name, sy_dist FROM ps"}'No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/exoplanet_archive_tap. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-exoplanet-archive is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with npx, and it forwards every call to the same
https://gateway.pipeworx.io/exoplanet-archive/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"exoplanet-archive": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-exoplanet-archive"]
}
}
}Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
"env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to
also list ask_pipeworx and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by
default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check
your Node version's documentation.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Exoplanet Archive data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
ESA Gaia MCP — the Gaia star catalogue, queried over the ESA TAP service.
MAST MCP — Space Telescopes archive.
Query Clinical.ly clinical-research data via read-only API tools using your OAuth permissions.
Query NASA POWER solar, wind, building, and agroclimatology data.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables querying of the Cassini-Huygens mission dataset with tools for listing, searching, counting, aggregating, and browsing activities.MIT
- AlicenseNot gradedqualityBmaintenanceEnables querying the NASA MAST archive of space telescopes for astronomical data, including cone searches, mission-specific queries, and target name resolution.640 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables querying the ESA Gaia star catalogue (DR3) for astrometric and photometric data via cone searches, source ID lookups, and arbitrary ADQL queries over the TAP service.501 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables searching the NASA Astrophysics Data System literature with full ADS query syntax, retrieving complete paper records, and exploring citation and reference graphs.389 npmMIT