get_past_launches
Pack: spacex · Endpoint: https://gateway.pipeworx.io/spacex/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_past_launches for the schema, then POST the same URL with its arguments for the data.
Get recent past SpaceX launches sorted by date descending. Returns name, date (UTC), status, and success for each launch.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Number of launches to return (default 10, max ${CAP_PAST}) |
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/spacex/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_past_launches","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_past_launches', {});
More examples
{
"limit": 5
}
Response shape
| Field | Type | Description |
|---|---|---|
total | number | |
launches | array | Array of past launches |
_source | string | |
_fetched_at | string |
Full JSON Schema
{
"type": "object",
"properties": {
"total": {
"type": "number"
},
"launches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Launch name"
},
"status": {
"type": "string"
},
"success": {
"type": [
"null",
"boolean"
],
"description": "Launch success status"
},
"date_utc": {
"type": "string",
"description": "Launch date in UTC"
}
}
},
"description": "Array of past launches"
},
"_source": {
"type": "string"
},
"_fetched_at": {
"type": "string"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"spacex": {
"url": "https://gateway.pipeworx.io/spacex/mcp"
}
}
}
See Getting Started for client-specific install steps.