Ch Bger

liveGovernmentLegal

Swiss Federal Supreme Court (Bundesgericht / Tribunal federal / Tribunale federale) -- published decisions from 2000 onward.

2tools
0msauth
free tier50 calls/day

Tools

ch_bger_get

Fetch one Federal Supreme Court decision by id (from ch_bger_search, e.g. "2008-11-11-1C_489-2008"): the published decision text, paged with max_chars/offset. The text is the court's published, anonym

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/ch-bger/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/ch-bger/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"ch_bger_search","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("ch_bger_search", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("swiss federal supreme court (bundesgericht / tribunal federal / tribunale federale) -- published decisions from 2000 onward");