mcp-mast-nasa
Provides tools for searching the MAST (Mikulski Archive for Space Telescopes) archive, enabling cone searches, mission-scoped queries, CAOM queries, and target name resolution to access NASA's space telescope data.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
@pipeworx/mast-nasa
MAST — Mikulski Archive for Space Telescopes (STScI) MCP — Hubble, JWST, Pan-STARRS, GALEX, K2/Kepler, TESS data. Keyless.
Part of Pipeworx — an MCP gateway connecting AI agents to 1865+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
cone_search(ra, dec, radius_arcmin, mission?, limit?)— search MAST around a pointmission_search(mission, criteria, limit?)— search by mission with criteria objectcaom(query)— generic CAOM (Common Archive Observation Model) querylookup_name(name)— resolve target name → coords + observations
Related MCP server: mcp-exoplanet-archive
Data source
https://mast.stsci.edu/api/v0/ (legacy POST-based JSON API).
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"mast-nasa": {
"url": "https://gateway.pipeworx.io/mast-nasa/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/mast-nasa/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 1865+ 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/mast_nasa_cone_search \
-H 'Content-Type: application/json' \
-d '{"ra":83.6331,"dec":22.0145,"radius_arcmin":5,"mission":"HST","limit":100}'No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/mast_nasa_cone_search. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-mast-nasa 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/mast-nasa/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"mast-nasa": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-mast-nasa"]
}
}
}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 Mast Nasa data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
Related MCP Connectors
ESA Gaia MCP — the Gaia star catalogue, queried over the ESA TAP service.
NASA MCP — wraps NASA Open APIs (api.nasa.gov)
NASA astronomy photo of the day + imagery. $0.01/query. Register in-session — free testnet funds.
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides access to NASA's public APIs including Astronomy Picture of the Day, Mars Rover Images, and Near Earth Objects data, enabling users to query and retrieve space-related information through natural language.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables querying NASA Exoplanet Archive data using ADQL TAP, planet search, composite parameters, Kepler candidates, and microlensing events.483 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables querying the SIMBAD astronomical database for object resolution, script execution, ADQL TAP queries, and cone searches using natural language.202 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