search_articles
Pack: spacenews · Endpoint: https://gateway.pipeworx.io/spacenews/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/search_articles for the schema, then POST the same URL with its arguments for the data.
Search spaceflight news articles by keyword. Returns matching articles with title, summary, URL, and publication date.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Search query (e.g. “SpaceX Starship launch”) |
limit | number | no | Number of results to return (default 10, max 100) |
Example call
Arguments
{
"query": "SpaceX Starship launch"
}
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":"search_articles","arguments":{"query":"SpaceX Starship launch"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_articles', {
"query": "SpaceX Starship launch"
});
More examples
{
"query": "NASA Moon mission",
"limit": 15
}
Response shape
Always returns: query, total, returned, articles
| Field | Type | Description |
|---|---|---|
query | string | The search query used |
total | number | Total number of matching articles |
returned | number | Number of articles returned in this response |
articles | array |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query used"
},
"total": {
"type": "number",
"description": "Total number of matching articles"
},
"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": [
"query",
"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.