Skip to main content
Glama
MaxwellCalkin

N2YO Satellite Tracker MCP Server

get_satellite_tle

Retrieve Two-Line Element (TLE) data for a satellite using its NORAD ID. This tool enables precise satellite tracking and orbital predictions by accessing up-to-date TLE information from the N2YO Satellite Tracker MCP Server.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noradIdYesNORAD catalog number

Implementation Reference

  • The core handler function that validates the NORAD ID, fetches TLE data from the N2YO client, and returns it as JSON.
    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)
    Registration of the 'get_satellite_tle' tool in the getTools() method, including name, description, and input schema.
    { 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 specifying the required 'noradId' parameter as a string.
    inputSchema: { type: "object", properties: { noradId: { type: "string", description: "NORAD catalog number", }, }, required: ["noradId"], },
  • Dispatch case in callTool method that routes the tool call to the getSatelliteTle 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