Fedlex Connector
FC
Fedlex Connector
/get_law_text

get law text

Retrieve the official consolidated text of a Swiss federal act (or a specific title/chapter) directly from Fedlex (fedlex.admin.ch). This is the PRIMARY tool fo

liveunknown~5s typical
mcpfedlexconnector
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ch-fedlex-connector-fedlex-connector /get_law_text for me.

Input

FieldTypeDescription
rs_number*stringRS/SR number (e.g. '210' for CC, '220' for CO)
sectionstringLimit to a specific title, chapter, or part (e.g. 'Titre huitième', 'Zweiter Teil'). If om
languagestring (fr | de | it)Language (default: de)
pagenumberPage number for paginated results (default: 1). Large acts are split across multiple pages

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"mcp-ch-fedlex-connector-fedlex-connector","endpoint":"/get_law_text","input":{"rs_number":"..."}}'
cli
npx cracked-ai run -p mcp-ch-fedlex-connector-fedlex-connector -e /get_law_text -i '{"rs_number":"..."}'
mcp
run_tool({ provider: "mcp-ch-fedlex-connector-fedlex-connector", endpoint: "/get_law_text", input: {"rs_number":"..."} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.