content
Pack: gov-uk-content · Endpoint: https://gateway.pipeworx.io/gov-uk-content/mcp
Content for a gov.uk page by base_path.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
base_path | string | yes |
Example call
Arguments
{
"base_path": "/guidance/apply-for-a-uk-visa"
}
curl
curl -X POST https://gateway.pipeworx.io/gov-uk-content/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"content","arguments":{"base_path":"/guidance/apply-for-a-uk-visa"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('content', {
"base_path": "/guidance/apply-for-a-uk-visa"
});
More examples
{
"base_path": "/benefits/child-benefit"
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Content retrieved from GOV.UK API for a given base_path"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"gov-uk-content": {
"url": "https://gateway.pipeworx.io/gov-uk-content/mcp"
}
}
}
See Getting Started for client-specific install steps.