get_articles
Pack: spacenews · Endpoint: https://gateway.pipeworx.io/spacenews/mcp
Fetch the latest spaceflight news articles sorted by publication date. Returns title, summary, URL, image, and source.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Number of articles to return (default 10, max 100) |
Example call
Arguments
{
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/spacenews/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_articles","arguments":{"limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_articles', {
"limit": 10
});
More examples
{
"limit": 25
}
Response shape
Always returns: total, returned, articles
| Field | Type | Description |
|---|---|---|
total | number | Total number of articles available |
returned | number | Number of articles returned in this response |
articles | array |
Full JSON Schema
{
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total number of articles available"
},
"returned": {
"type": "number",
"description": "Number of articles returned in this response"
},
"articles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Article ID"
},
"title": {
"type": "string",
"description": "Article title"
},
"summary": {
"type": "string",
"description": "Article summary"
},
"url": {
"type": "string",
"description": "Article URL"
},
"image_url": {
"type": "string",
"description": "Article image URL"
},
"source": {
"type": "string",
"description": "News site source"
},
"published_at": {
"type": "string",
"description": "Publication date (ISO 8601)"
}
},
"required": [
"id",
"title",
"summary",
"url",
"image_url",
"source",
"published_at"
]
}
}
},
"required": [
"total",
"returned",
"articles"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"spacenews": {
"url": "https://gateway.pipeworx.io/spacenews/mcp"
}
}
}
See Getting Started for client-specific install steps.