item
Pack: the-guardian · Endpoint: https://gateway.pipeworx.io/the-guardian/mcp
Fetch a single Guardian article by its content ID (e.g. “world/2024/jan/15/…”). Returns full body text, tags, related elements, and references. Use after search returns an article you want the full text of.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
show_fields | string | no | |
show_tags | string | no | |
show_blocks | string | no | |
show_references | string | no |
Example call
Arguments
{
"id": "world/2024/jan/15/article-title"
}
curl
curl -X POST https://gateway.pipeworx.io/the-guardian/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"item","arguments":{"id":"world/2024/jan/15/article-title"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('item', {
"id": "world/2024/jan/15/article-title"
});
More examples
{
"id": "politics/2024/feb/20/article-title",
"show_fields": "byline,standfirst,body",
"show_tags": "all"
}
Response shape
| Field | Type | Description |
|---|---|---|
response | object |
Full JSON Schema
{
"type": "object",
"description": "Single article details from The Guardian",
"properties": {
"response": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Response status"
},
"userTier": {
"type": "string",
"description": "User tier level"
},
"content": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Article ID"
},
"type": {
"type": "string",
"description": "Content type"
},
"sectionId": {
"type": "string",
"description": "Section ID"
},
"sectionName": {
"type": "string",
"description": "Section name"
},
"webPublicationDate": {
"type": "string",
"description": "Web publication date ISO string"
},
"webTitle": {
"type": "string",
"description": "Article web title"
},
"webUrl": {
"type": "string",
"description": "Article web URL"
},
"apiUrl": {
"type": "string",
"description": "API endpoint for this article"
},
"fields": {
"type": "object",
"description": "Additional fields if requested"
},
"tags": {
"type": "array",
"description": "Associated tags if requested",
"items": {
"type": "object"
}
},
"blocks": {
"type": "array",
"description": "Content blocks if requested",
"items": {
"type": "object"
}
},
"references": {
"type": "array",
"description": "Article references if requested",
"items": {
"type": "object"
}
}
}
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"the-guardian": {
"url": "https://gateway.pipeworx.io/the-guardian/mcp"
}
}
}
See Getting Started for client-specific install steps.