list_documents
Pack: regulations-gov · Endpoint: https://gateway.pipeworx.io/regulations-gov/mcp
Documents within a docket (or matching a query). Returns title, type (Rule / Proposed Rule / Notice / Supporting), comment counts, posted date, document ID.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
docket_id | string | no | Filter to one docket |
query | string | no | Free-text query across documents |
document_type | string | no | Rule | Proposed Rule | Notice | Supporting & Related Material | Other |
page_size | number | no | 5-250 |
page_number | number | no | 1-based page |
Example call
Arguments
{
"docket_id": "EPA-HQ-OAR-2021-0317",
"document_type": "Proposed Rule"
}
curl
curl -X POST https://gateway.pipeworx.io/regulations-gov/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_documents","arguments":{"docket_id":"EPA-HQ-OAR-2021-0317","document_type":"Proposed Rule"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_documents', {
"docket_id": "EPA-HQ-OAR-2021-0317",
"document_type": "Proposed Rule"
});
More examples
{
"query": "greenhouse gas",
"page_size": 100
}
Response shape
Always returns: total, page, page_size, total_pages, returned, results
| Field | Type | Description |
|---|---|---|
total | integer | null | Total number of documents matching the query |
page | integer | null | Current page number |
page_size | integer | null | Number of results per page |
total_pages | integer | null | Total number of pages |
returned | integer | Number of results in this response |
results | array | List of document objects |
Full JSON Schema
{
"type": "object",
"properties": {
"total": {
"type": [
"integer",
"null"
],
"description": "Total number of documents matching the query"
},
"page": {
"type": [
"integer",
"null"
],
"description": "Current page number"
},
"page_size": {
"type": [
"integer",
"null"
],
"description": "Number of results per page"
},
"total_pages": {
"type": [
"integer",
"null"
],
"description": "Total number of pages"
},
"returned": {
"type": "integer",
"description": "Number of results in this response"
},
"results": {
"type": "array",
"description": "List of document objects",
"items": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"description": "Document ID"
},
"type": {
"type": [
"string",
"null"
],
"description": "Resource type"
}
},
"additionalProperties": true
}
}
},
"required": [
"total",
"page",
"page_size",
"total_pages",
"returned",
"results"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"regulations-gov": {
"url": "https://gateway.pipeworx.io/regulations-gov/mcp"
}
}
}
See Getting Started for client-specific install steps.