tap

Pack: exoplanet-archive · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/tap for the schema, then POST the same URL with its arguments for the data.

ADQL TAP query.

Parameters

NameTypeRequiredDescription
querystringyese.g. “SELECT TOP 5 pl_name, sy_dist FROM ps”
formatstringnojson (default) | csv | votable

Example call

Arguments

{
  "query": "SELECT TOP 5 pl_name, sy_dist FROM ps"
}

curl

curl -X POST https://gateway.pipeworx.io/exoplanet-archive/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tap","arguments":{"query":"SELECT TOP 5 pl_name, sy_dist FROM ps"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('tap', {
  "query": "SELECT TOP 5 pl_name, sy_dist FROM ps"
});

More examples

{
  "query": "SELECT TOP 20 pl_name, pl_massj, pl_orbper FROM ps WHERE pl_massj > 1.0",
  "format": "csv"
}

Response shape

FieldTypeDescription
itemsarray
countnumber
formatstringResponse format (json, csv, or votable)
bodystringNon-JSON response body (first 16000 chars)
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "pl_name": {
            "type": "string"
          },
          "sy_dist": {
            "type": "number"
          }
        }
      }
    },
    "count": {
      "type": "number"
    },
    "format": {
      "type": "string",
      "description": "Response format (json, csv, or votable)"
    },
    "body": {
      "type": "string",
      "description": "Non-JSON response body (first 16000 chars)"
    }
  },
  "description": "Query result from NASA Exoplanet Archive TAP service"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the exoplanet-archive pack
{
  "mcpServers": {
    "exoplanet-archive": {
      "url": "https://gateway.pipeworx.io/exoplanet-archive/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026