get_docket_filing
Pack: court-listener · Endpoint: https://gateway.pipeworx.io/court-listener/mcp
Get one filing from a US federal court docket by its document id — the entry description as the clerk wrote it, the filing date, page count, the docket_id it belongs to, a text excerpt where the document has been scanned, and a direct PDF link. Use after list_docket_filings or search_court_filings to read a specific document. Returns pdf_available false when RECAP has the docket entry but not the document itself.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
document_id | number | yes | RECAP document id, from list_docket_filings or search_court_filings. |
Example call
Arguments
{
"document_id": 458047975
}
curl
curl -X POST https://gateway.pipeworx.io/court-listener/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_docket_filing","arguments":{"document_id":458047975}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_docket_filing', {
"document_id": 458047975
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"court-listener": {
"url": "https://gateway.pipeworx.io/court-listener/mcp"
}
}
}
See Getting Started for client-specific install steps.