MCP (Model Context Protocol) server for Taiwan Judicial Yuan — provides 7 tools for accessing open data and judgments via natural language.
auth_token— Get authorization token for judgment API (usesJUDICIAL_USER/JUDICIAL_PASSWORDenv vars by default)member_token— Get member token for open data API (usesJUDICIAL_USER/JUDICIAL_PASSWORDenv vars by default)
list_judgments— Get judgment change list (requiresauth_token)get_judgment— Get judgment content by JID (requiresauth_token)
list_categories— List topic categories (requiresmember_token)list_resources— List data sources for a category (requiresmember_token+categoryNo)download_file— Download a data file with pagination support (requiresmember_token+fileSetId)
JUDICIAL_USER=your_username
JUDICIAL_PASSWORD=your_passwordAdd to your MCP configuration (.mcp.json or ~/.claude/settings.json):
{
"mcpServers": {
"judicial": {
"command": "bunx",
"args": ["@jurislm/judicial-mcp@latest"],
"env": {
"JUDICIAL_USER": "your_username",
"JUDICIAL_PASSWORD": "your_password"
}
}
}
}If you use the jurislm-tools Claude Code plugin, jt:judicial is included:
/plugin marketplace update jurislm-tools
Then set environment variables in ~/.zshenv:
export JUDICIAL_USER=your_username
export JUDICIAL_PASSWORD=your_passwordnpm install
npm test # Run tests
npm run lint # oxlintMIT