Astronomy
Parse a TLE, show the six Keplerian elements (with derived semi-major axis & period), propagate with SGP4 for ECI position, sub-satellite point, ground track, elevation visibility and Doppler shift
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/keplerian-orbital-element-tle-satrec-position' \
-H 'Content-Type: application/json' \
-d '{"line1":"1 25544U 98067A 25220.50000000 .00000000 00000-0 00000-0 0 9996","line2":"2 25544 51.6400 200.0000 0001000 90.0000 270.0000 15.50000000123455","propTime":"","observerLat":0,"observerLon":0,"txFreqMHz":0,"trackSamples":60}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/keplerian-orbital-element-tle-satrec-position| Name | Type | Required | Description |
|---|---|---|---|
| line1 | textarea | Yes | — |
| line2 | textarea | Yes | — |
| propTime | text | No | — |
| observerLat | number | No | — |
| observerLon | number | No | — |
| txFreqMHz |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-keplerian-orbital-element-tle-satrec-position": {
"name": "keplerian-orbital-element-tle-satrec-position",
"description": "Parse a TLE, show the six Keplerian elements (with derived semi-major axis & period), propagate with SGP4 for ECI position, sub-satellite point, ground track, elevation visibility and Doppler shift",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=keplerian-orbital-element-tle-satrec-position",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "keplerian-orbital-element-tle-satrec-position",
"arguments": {
"line1": "1 25544U 98067A 25220.50000000 .00000000 00000-0 00000-0 0 9996",
"line2": "2 25544 51.6400 200.0000 0001000 90.0000 270.0000 15.50000000123455",
"propTime": "",
"observerLat": 0,
"observerLon": 0,
"txFreqMHz": 0,
"trackSamples": 60
}
}
}| number |
| No |
| — |
| trackSamples | number | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]