get_case
Pack: oyez · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_case for the schema, then POST the same URL with its arguments for the data.
Get a full SCOTUS case from Oyez by term and docket number — question presented, facts, conclusion, decision (winning party, vote split, decision type), which justices were in the majority vs. dissent, advocates, and whether oral-argument audio exists. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
term | number | yes | SCOTUS term year, e.g. 2023. |
docket_number | string | yes | Docket number, e.g. “22-448” (CFPB v. Community Financial Services). |
Example call
Arguments
{
"term": 2023,
"docket_number": "22-448"
}
curl
curl -X POST https://gateway.pipeworx.io/oyez/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_case","arguments":{"term":2023,"docket_number":"22-448"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_case', {
"term": 2023,
"docket_number": "22-448"
});
More examples
{
"term": 2022,
"docket_number": "21-1086"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the oyez pack
{
"mcpServers": {
"oyez": {
"url": "https://gateway.pipeworx.io/oyez/mcp"
}
}
}
See Getting Started for client-specific install steps.