tap

Pack: simbad · 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 against the SIMBAD database (sync). Returns JSON by default.

Parameters

NameTypeRequiredDescription
querystringyesADQL, e.g. “SELECT TOP 5 main_id FROM basic WHERE otype = ‘G‘“
formatstringnojson (default) | votable | csv | tsv

Example call

Arguments

{
  "query": "SELECT TOP 5 main_id FROM basic WHERE otype = 'G'"
}

curl

curl -X POST https://gateway.pipeworx.io/simbad/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tap","arguments":{"query":"SELECT TOP 5 main_id FROM basic WHERE otype = '\''G'\''"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('tap', {
  "query": "SELECT TOP 5 main_id FROM basic WHERE otype = 'G'"
});

More examples

{
  "query": "SELECT main_id, ra, dec FROM basic WHERE otype = 'SN'",
  "format": "csv"
}

Response shape

Full JSON Schema
{
  "oneOf": [
    {
      "type": "object",
      "description": "Parsed JSON response from TAP query"
    },
    {
      "type": "object",
      "properties": {
        "format": {
          "type": "string",
          "description": "Response format (json, votable, csv, tsv)"
        },
        "body": {
          "type": "string",
          "description": "Raw text response body when JSON parsing fails"
        }
      },
      "required": [
        "format",
        "body"
      ]
    }
  ]
}

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 simbad pack
{
  "mcpServers": {
    "simbad": {
      "url": "https://gateway.pipeworx.io/simbad/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026