fda_device_event_counts
Pack: fda-devices · Endpoint: https://gateway.pipeworx.io/fda-devices/mcp
Aggregate MAUDE reports for a device query by event type, manufacturer, product code, or receive date. Counts reflect reporting and database artifacts—not event rates or causal risk—and must not be compared without exposure denominators.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Required raw openFDA MAUDE filter. |
count_field | string | yes | |
limit | number | no | Buckets (1-100, default 20). |
Example call
Arguments
{
"query": "device.device_report_product_code:MDS",
"count_field": "event_type.exact",
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/fda-devices/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fda_device_event_counts","arguments":{"query":"device.device_report_product_code:MDS","count_field":"event_type.exact","limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('fda_device_event_counts', {
"query": "device.device_report_product_code:MDS",
"count_field": "event_type.exact",
"limit": 10
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"fda-devices": {
"url": "https://gateway.pipeworx.io/fda-devices/mcp"
}
}
}
See Getting Started for client-specific install steps.