Skill · MCP server

Bring your assistant.

A skill and an MCP server connect Claude, Grok or any MCP client to the governments that serve your address. Explore what's there, find what's missing, and fill the gaps from the terminal or the chat you already use.

The server speaks MCP over Streamable HTTP at https://jurisdictional.org/mcp. Exploring works right away, with no account.

Claude Code

Two commands install the gather skill and connect it to the jurisdictional.org API.

Requires Claude Code.

> /plugin marketplace add jurisdictional/jurisdictional-skill
> /plugin install jurisdictional@jurisdictional

Start a new session, then:

> /gather 300 Hemlock St, Vacaville, CA

To use the server without the skill:

$ claude mcp add --transport http jurisdictional https://jurisdictional.org/mcp

Grok

Grok reaches the same server three ways, each from a page in xAI's documentation. Pick the one you use.

  1. 01 · grok.com

    Add a custom connector

    Open grok.com/connectors, choose New Connector, then Custom, and paste the server URL:

    https://jurisdictional.org/mcp

    Grok discovers the tools the server exposes and offers them in your conversations. Ask it who governs an address, and it calls set_location and explore for you.

    Steps per xAI's connector docs. On Grok Business and Enterprise, a team admin adds the connector in the xAI console first, under Grok Business → Connectors → Add Connector → Other.

  2. 02 · Grok Build

    One command in xAI's terminal agent

    It adds the server to ~/.grok/config.toml:

    $ grok mcp add --transport http jurisdictional https://jurisdictional.org/mcp

    In a session, /mcps lists it, and grok mcp doctor checks the connection.

    xAI's docs say Grok Build also reads Claude Code marketplaces, plugins and skills, so the gather skill installed for Claude Code shows up there too. Setup per Grok Build's MCP docs.

  3. 03 · xAI API

    Pass the server as a remote MCP tool

    In the Responses API at https://api.x.ai/v1/responses, add this to tools:

    {
      "type": "mcp",
      "server_url": "https://jurisdictional.org/mcp",
      "server_label": "jurisdictional",
      "authorization": "<your jurisdictional.org token, optional>"
    }

    server_url and server_label are required; leave authorization out to explore anonymously. The xAI SDK names the same options mcp(server_url, server_label, authorization).

    Fields per xAI's remote MCP docs.

Any MCP client

Point a client that speaks Streamable HTTP at https://jurisdictional.org/mcp. The server negotiates protocol revisions 2024-11-05 through 2025-11-25, and tools/list needs no token.

Details, including the OAuth discovery metadata, are in llms.txt and on the developers page.

How it works

Four steps, in a conversation. Nothing is submitted until you approve it.

  1. 01

    Set your location

    Give an address or city. The skill geocodes it and returns your juricode: every layer of government from federal to school district.

  2. 02

    Explore what's known

    See the agencies, bodies, officials, and services already on file. Pick a topic, such as education, housing or public safety, or browse everything. Gaps are named: "No one has added the planning commission yet."

  3. 03

    Research and fill gaps

    The skill fetches government websites with a headless browser (the gather tool), extracts structured data, and presents it for your review. You correct what's wrong, add what you know, and approve before anything is submitted.

  4. 04

    Submit directly to jurisdictional.org

    Contributions go through the MCP API: create_entity for new agencies and bodies, propose_change for field updates. Each returns a link you can open to verify on the site. Changes appear in real time.

Data hierarchy

Civic data builds up in layers. The skill follows this order: no people without positions, no positions without bodies, no bodies without agencies.

Jurisdiction  (already exists via juricode)
  └── Agency  (city departments, offices)
        ├── Service  (permits, programs, hotlines)
        ├── Body  (council, commission, board)
        │     └── Position  (Mayor, Council Seat 1)
        │           └── Person → Tenure
        └── Position  (department head, director)

Signing in

Exploring works without signing in. The MCP read tools are public.

Researching pages and submitting contributions need a signed-in person, and a token also gives you your own limit of 2,000 reads a day instead of the shared anonymous one.

Claude Code

  1. Run /mcp, choose jurisdictional and Authenticate. From a shell, claude mcp login jurisdictional does the same.
  2. Approve the sign-in on jurisdictional.org in the browser that opens.

Claude Code keeps the token and refreshes it for you.

Grok

Grok sends a token you give it. Get one first: visit jurisdictional.org/auth/cli and copy it, then save it with the command under The token file below, so it never passes through a chat.

Grok Build
Add the server with a static header that the shell fills from the token file:
$ grok mcp add --transport http jurisdictional https://jurisdictional.org/mcp --header "Authorization: Bearer $(cat ~/.jurisdictional/token)"

Run it in place of the anonymous command above; Grok Build stores the header in its config. xAI's docs also describe a browser sign-in for OAuth servers (/mcps, then i); the header is the path we have confirmed.

xAI API
Set the tool's authorization field to the token. It becomes the Authorization header on every request to the server.
grok.com
The read tools work as soon as the connector is added. xAI's docs say to "complete any required authentication" when adding a custom connector, and don't list which sign-in methods a custom connector supports; we haven't confirmed a signed-in connection from grok.com yet.

The token file

Any client that can't sign in through the browser sends a token instead. The Claude Code plugin and the Grok Build command above both read it from one file.

  1. Visit jurisdictional.org/auth/cli and copy your token.
  2. Save it where the clients read it, without pasting it into the chat:
> ! mkdir -p ~/.jurisdictional && pbpaste > ~/.jurisdictional/token && chmod 600 ~/.jurisdictional/token

The leading ! runs it as a shell command from the Claude Code prompt; drop it in a plain terminal. On Linux, use xclip -o -selection clipboard in place of pbpaste.

  1. In Claude Code, run /mcp and reconnect jurisdictional, or start a new session. In Grok Build, run the signed-in grok mcp add command above.

The Claude Code plugin sends the token only when that file exists, and a token file takes precedence over the browser sign-in. Tokens are managed in Settings.

What you can contribute

Everything you contribute is published under the ODbL 1.0, with each record under the DbCL 1.0 .

Agencies
City departments, offices, authorities
Governing bodies
Councils, commissions, boards
Officials and positions
Who holds office and what seats exist
Services
Permits, programs, hotlines
Contact info
Phone, email, address, website
Meeting schedules
When governing bodies meet

Real-time feedback

Open jurisdictional.org while running the skill. Every create_entity and propose_change appears on the site at once: entity pages, your contributions list, and the juricode activity feed all update live.

The skill returns a direct URL for every contribution. Open it to verify. Come back to the conversation with corrections.

Pick your city

Start with where you live.