tags
Pack: the-guardian · Endpoint: https://gateway.pipeworx.io/the-guardian/mcp
Browse The Guardian’s content tags (topics, series, contributors, and keywords like “climate-change” or “long-read”). Filter by q substring, type (keyword/series/contributor), or section. Returns tag IDs for use in search(tag=…).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | no | |
type | string | no | |
section | string | no | |
page | number | no | |
page_size | number | no |
Example call
Arguments
{
"q": "london",
"type": "keyword",
"page_size": 20
}
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":"tags","arguments":{"q":"london","type":"keyword","page_size":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tags', {
"q": "london",
"type": "keyword",
"page_size": 20
});
Response shape
| Field | Type | Description |
|---|---|---|
response | object |
Full JSON Schema
{
"type": "object",
"description": "List of Guardian tags",
"properties": {
"response": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Response status"
},
"userTier": {
"type": "string",
"description": "User tier level"
},
"total": {
"type": "number",
"description": "Total number of tags"
},
"startIndex": {
"type": "number",
"description": "Start index of current page"
},
"pageSize": {
"type": "number",
"description": "Number of tags per page"
},
"currentPage": {
"type": "number",
"description": "Current page number"
},
"pages": {
"type": "number",
"description": "Total number of pages"
},
"results": {
"type": "array",
"description": "Array of tag results",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Tag ID"
},
"type": {
"type": "string",
"description": "Tag type"
},
"webTitle": {
"type": "string",
"description": "Tag web title"
},
"webUrl": {
"type": "string",
"description": "Tag web URL"
},
"apiUrl": {
"type": "string",
"description": "Tag API endpoint"
}
}
}
}
}
}
}
}
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.