bcd
Pack: mdn-search · Endpoint: https://gateway.pipeworx.io/mdn-search/mcp
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, 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.