bcd
Pack: mdn-search · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/bcd for the schema, then POST the same URL with its arguments for the data.
Browser Compatibility Data block for a feature page.
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":"bcd","arguments":{"slug":"Web/API/fetch"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bcd', {
"slug": "Web/API/fetch"
});
More examples
{
"slug": "Web/JavaScript/Reference/Global_Objects/Promise",
"locale": "es"
}
Response shape
Always returns: slug, bcd
| Field | Type | Description |
|---|---|---|
slug | string | Feature slug |
bcd | unknown |
Full JSON Schema
{
"type": "object",
"description": "Browser compatibility data for a feature",
"properties": {
"slug": {
"type": "string",
"description": "Feature slug"
},
"bcd": {
"oneOf": [
{
"type": "object",
"description": "Browser compatibility data block",
"properties": {
"data": {
"type": "object",
"description": "BCD feature data"
},
"query": {
"type": "string",
"description": "BCD query string"
},
"dataURL": {
"type": "string",
"description": "URL to BCD data source"
}
}
},
{
"type": "null",
"description": "No BCD data found for this page"
}
]
}
},
"required": [
"slug",
"bcd"
]
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the mdn-search pack
{
"mcpServers": {
"mdn-search": {
"url": "https://gateway.pipeworx.io/mdn-search/mcp"
}
}
}
See Getting Started for client-specific install steps.