TAP Protocol • Astronomical ADQL Queries

NASA Exoplanet Archive TAP ADQL MCP

Astronomical archives rely on IVOA Table Access Protocol (TAP) and Astronomical Data Query Language (ADQL) rather than plain keyword search. nasa_exoplanet_tap bridges ADQL cleanly into standard MCP tools/call JSON.

Gateway Runtime0-LLM Stdlib
Featured Organs3 Verified
Live Probe Avg2364 ms
Empty / Error Cost$0.00

Executing Bounded ADQL Over Streamable HTTP MCP

By parameterizing {adql_query} against exoplanetarchive.ipac.caltech.edu/TAP/sync?query={adql_query}&format=json, agents run structured SQL-like projections such as 'select top 2 pl_name,hostname,disc_year from pscomppars' and receive typed tabular JSON rows.

Query Timeout Hygiene & 14-Day Caching

Bounded TOP and WHERE clauses prevent synchronous TAP timeouts. Empty JSON arrays or TAP error payloads return non-billable $0 responses, while valid planetary tables cache for 14 days (1,209,600s).

Live-Verified Organ Matrix & Schema Fields

Primary upstream endpoint for nasa_exoplanet_tap: https://exoplanetarchive.ipac.caltech.edu/TAP/sync?query={adql_query}&format=json. Empty-result guard: Return non-billable empty result if JSON array is empty ([]) or TAP error payload appears.

Organ & MCP ToolAPI & SubdomainProtocolCache TTLLive ProbeVerified Sample Fields
nasa_exoplanet_tap
MCP: airesearch_nasa_exoplanet_tap
NASA Exoplanet Archive TAP Service
chemistry_physics_materials
tap14d (1209600s)HTTP 200 (2035 ms)pl_name, hostname, disc_year
nasa_images_library
MCP: airesearch_nasa_images_library
NASA Image and Video Library Search API
chemistry_physics_materials
rest_json14d (1209600s)HTTP 200 (2258 ms)collection
inspire_hep_literature
MCP: airesearch_inspire_hep_literature
INSPIRE-HEP High-Energy Physics Literature API
chemistry_physics_materials
rest_json14d (1209600s)HTTP 200 (2798 ms)hits, links, hits.hits[0].created, hits.hits[0].updated, hits.hits[0].links

Invoke via Streamable HTTP MCP or REST

Connect to https://devour-ai.fastmesh.dev/mcp or SuperBus https://mcp.fastmesh.dev/mcp (JSON-RPC 2.0):

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "airesearch_nasa_exoplanet_tap",
    "arguments": {
      "adql_query": "select top 2 pl_name,hostname,disc_year from pscomppars"
    }
  }
}

Or call the deterministic REST endpoint directly:

curl -sS -X POST https://devour-ai.fastmesh.dev/v1/organs/nasa_exoplanet_tap/invoke \
  -H "Content-Type: application/json" \
  -d '{"params": {"adql_query": "select top 2 pl_name,hostname,disc_year from pscomppars"}}'

Technical FAQ

Why use TOP or WHERE clauses in ADQL queries?

Synchronous TAP endpoints enforce execution timeouts; bounding row counts keeps responses fast and deterministic.

Related Research Organ Guides