Skip to main content
Glama
MaxwellCalkin

N2YO Satellite Tracker MCP Server

get_satellite_tle

Retrieve Two-Line Element (TLE) data for satellite tracking using NORAD ID to obtain orbital parameters for position calculations.

Instructions

Get Two-Line Element (TLE) data for a satellite by NORAD ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noradIdYesNORAD catalog number

Implementation Reference

  • Core handler function for the 'get_satellite_tle' tool. Validates NORAD ID, fetches TLE data via N2YO client, and returns formatted JSON response.
    private async getSatelliteTle(noradId: string): Promise<CallToolResult> { SatelliteValidator.validateNoradId(noradId); const tleData = await this.n2yoClient.getTle(noradId); return { content: [ { type: "text", text: JSON.stringify(tleData, null, 2), }, ], }; }
  • src/server.ts:89-103 (registration)
    Tool registration in getTools() method, defining name, description, and input schema for 'get_satellite_tle'.
    { name: "get_satellite_tle", description: "Get Two-Line Element (TLE) data for a satellite by NORAD ID", inputSchema: { type: "object", properties: { noradId: { type: "string", description: "NORAD catalog number", }, }, required: ["noradId"], }, },
  • Input schema definition for the tool, specifying noradId as required string parameter.
    inputSchema: { type: "object", properties: { noradId: { type: "string", description: "NORAD catalog number", }, }, required: ["noradId"], },
  • Dispatch case in callTool method that routes 'get_satellite_tle' calls to the specific handler.
    case "get_satellite_tle": return await this.getSatelliteTle(args.noradId);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaxwellCalkin/N2YO-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server