lookup

Pack: horizons-nasa · Endpoint: https://gateway.pipeworx.io/horizons-nasa/mcp

Resolve an object name → SPK id.

Parameters

NameTypeRequiredDescription
querystringyes

Example call

Arguments

{
  "query": "Mars"
}

curl

curl -X POST https://gateway.pipeworx.io/horizons-nasa/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"lookup","arguments":{"query":"Mars"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('lookup', {
  "query": "Mars"
});

More examples

{
  "query": "ISS"
}

Response shape

FieldTypeDescription
signatureobjectAPI signature information
resultobjectLookup results containing matched objects
Full JSON Schema
{
  "type": "object",
  "description": "Response from JPL Horizons lookup API",
  "properties": {
    "signature": {
      "type": "object",
      "description": "API signature information"
    },
    "result": {
      "type": "object",
      "description": "Lookup results containing matched objects",
      "properties": {
        "total_results": {
          "type": "integer",
          "description": "Total number of results found"
        },
        "truncated_results": {
          "type": "boolean",
          "description": "Whether results were truncated"
        },
        "results": {
          "type": "array",
          "description": "Array of matched objects",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "SPK ID of the object"
              },
              "name": {
                "type": "string",
                "description": "Object name"
              },
              "designation": {
                "type": "string",
                "description": "Object designation"
              }
            }
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "horizons-nasa": {
      "url": "https://gateway.pipeworx.io/horizons-nasa/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026