Fjc Court Codes
fjc_court_codesFind the Federal Judicial Center (FJC) Integrated Database numeric code for a federal district court or circuit by name, e.g. "Eastern District of Texas" returns district code 40, "Fifth Circuit" returns circuit code 5. Accepts a full name, a Bluebook form ("E.D. Tex."), a PACER-style short form ("txed") or a state name (returns every district in that state); give kind "district", "circuit" or "all" with no query to list every court of that kind (94 districts, 12 circuits). An unrecognised name returns the nearest matches, never an empty result. The codes are the ones the other FJC tools take as district_or_circuit (they also accept names directly). Source: FJC Integrated Database codebooks. Keyless.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "Eastern District of Texas"
},
"name": "fjc_court_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Restrict to district courts or circuits; with no query, "all" lists every court. | |
| query | No | Court name, abbreviation, state or code, e.g. "Eastern District of Texas", "E.D. Tex.", "Texas", "Ninth Circuit". Omit it and pass kind to list courts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Set when the result is the nearest matches | |
| count | No | Courts returned | |
| error | No | Set when neither query nor kind was given | |
| query | No | The query asked, null when listing | |
| courts | No | Matching courts | |
| source | No | Dataset the codes come from | |
| matched | No | exact, nearest or all | |
| publisher | No | Publisher of the code lists |