query_catalog
Pack: vizier · Endpoint: https://gateway.pipeworx.io/vizier/mcp
Query rows of a single catalogue (e.g. “I/345/gaia2”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
catalog | string | yes | |
constraint | string | no | Solr-style constraints, e.g. “Plx>20” |
columns | string | no | Comma-sep columns to return. |
max | number | no | 1-50000 (default 50). |
Example call
Arguments
{
"catalog": "I/345/gaia2"
}
curl
curl -X POST https://gateway.pipeworx.io/vizier/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_catalog","arguments":{"catalog":"I/345/gaia2"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('query_catalog', {
"catalog": "I/345/gaia2"
});
More examples
{
"catalog": "J/ApJ/896/72/table1",
"constraint": "Plx>20",
"columns": "RAJ2000,DEJ2000,Plx",
"max": 1000
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Single catalogue query results",
"oneOf": [
{
"type": "object",
"properties": {},
"additionalProperties": true
},
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"raw"
],
"description": "Format indicator when JSON parsing fails"
},
"body": {
"type": "string",
"description": "Raw text response (first 4000 chars)"
}
},
"required": [
"format",
"body"
]
}
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"vizier": {
"url": "https://gateway.pipeworx.io/vizier/mcp"
}
}
}
See Getting Started for client-specific install steps.