aphis_inspection_reports
Pack: aphis-animal-care · Endpoint: https://gateway.pipeworx.io/aphis-animal-care/mcp
Search USDA APHIS Animal Care inspection reports — the inspections behind Animal Welfare Act enforcement. Answers “inspection reports for USDA dog breeders in Missouri”, “which breeders had critical violations”, “show me inspections citing 3.1(a) housing”, “inspection history for certificate 43-A-6814”. Each report carries the inspection date, the licensee and facility location, counts of critical / direct / non-critical violations and teachable moments, and report_pdf_url — a direct link to the official signed inspection report. Sourced from the USDA APHIS eFile Public Search Tool. Filter by animal_category (e.g. “DOGS”) or by the specific regulation cited; there is no date filter upstream, so narrow by inspection_date on the returned rows.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
state | string | no | State name or two-letter code, e.g. “Missouri” or “MO”. |
license_type | string | no | Licence class of the inspected facility, e.g. “BREEDER”, “EXHIBITOR”, “DEALER”, “RESEARCH FACILITY”. |
name | string | no | Customer / organization name, partial match. |
city | string | no | Facility city. |
zip | string | no | Facility ZIP code. |
certificate_number | string | no | Exact certificate number, e.g. “43-A-6814” — the inspection history for one licensee. |
customer_number | string | no | APHIS customer number. |
animal_category | string | no | Restrict to inspections covering this animal category, e.g. “DOGS”, “CATS”, “NONHUMAN PRIMATES”, “MARINE MAMMALS”. Call aphis_inspection_filter_options for all 34. |
citation | string | no | Restrict to inspections citing this AWA regulation section, e.g. “3.1(a)” or “3.1(a) - Housing facilities, general”. 2,165 section codes exist — call aphis_inspection_filter_options with a query to find the right one. |
teachable_moments_only | boolean | no | Only inspections that recorded a teachable moment (an issue corrected on the spot rather than cited). Default false. |
limit | number | no | Rows per page (1-100, default 20). |
page | number | no | 0-based page number (default 0). page * limit must stay <= 2000 — an upstream hard cap. |
Example call
Arguments
{
"certificate_number": "43-A-6814",
"limit": 3
}
curl
curl -X POST https://gateway.pipeworx.io/aphis-animal-care/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"aphis_inspection_reports","arguments":{"certificate_number":"43-A-6814","limit":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('aphis_inspection_reports', {
"certificate_number": "43-A-6814",
"limit": 3
});
More examples
{
"state": "MO",
"license_type": "BREEDER",
"animal_category": "DOGS",
"limit": 2
}
{
"state": "MO",
"license_type": "BREEDER",
"citation": "3.1(a) - Housing facilities, general.",
"limit": 2
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"aphis-animal-care": {
"url": "https://gateway.pipeworx.io/aphis-animal-care/mcp"
}
}
}
See Getting Started for client-specific install steps.