summary
Pack: mdn-search · Endpoint: https://gateway.pipeworx.io/mdn-search/mcp
Page summary by slug (e.g. “Web/API/fetch” or “Web/CSS/grid”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | yes | |
locale | string | no |
Example call
Arguments
{
"slug": "Web/API/fetch"
}
curl
curl -X POST https://gateway.pipeworx.io/mdn-search/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"summary","arguments":{"slug":"Web/API/fetch"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('summary', {
"slug": "Web/API/fetch"
});
More examples
{
"slug": "Web/CSS/grid",
"locale": "fr"
}
Response shape
| Field | Type | Description |
|---|---|---|
doc | object | Document object |
Full JSON Schema
{
"type": "object",
"description": "MDN page summary with document metadata and content",
"properties": {
"doc": {
"type": "object",
"description": "Document object",
"properties": {
"title": {
"type": "string",
"description": "Page title"
},
"slug": {
"type": "string",
"description": "Page slug"
},
"locale": {
"type": "string",
"description": "Page locale"
},
"body": {
"type": "array",
"description": "Array of body content blocks",
"items": {
"type": "object"
}
},
"metadata": {
"type": "object",
"description": "Page metadata"
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"mdn-search": {
"url": "https://gateway.pipeworx.io/mdn-search/mcp"
}
}
}
See Getting Started for client-specific install steps.