Skip to main content
ClaudeWave
pipeworx-io avatar
pipeworx-io

mcp-california-jury-instructions

View on GitHub

California Jury Instructions — CACI (civil) and CALCRIM (criminal),

MCP ServersOfficial Registry0 stars0 forks● TypeScriptMITUpdated today
ClaudeWave Trust Score
95/100
✓ Verified
Passed
  • ✓Open-source license (MIT)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Topics declared
  • ✓Documented (README)
Last scanned: 10/17/2026
Install in Claude Code / Claude Desktop
Method: NPX · @pipeworx/mcp-california-jury-instructions
Claude Code CLI
claude mcp add mcp-california-jury-instructions -- npx -y @pipeworx/mcp-california-jury-instructions
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp-california-jury-instructions": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-california-jury-instructions"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# @pipeworx/california-jury-instructions

Official California jury instructions as adopted by the Judicial Council of
California — CACI (civil, e.g. "303" = Breach of Contract—Essential Factual
Elements) and CALCRIM (criminal, e.g. "200" = Duties of Judge and Jury),
current (2026) edition, full instruction text with Directions for Use/Bench
Notes, Sources and Authority/Authority, and revision history.

Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 1819+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

## Tools

- `caci_lookup(number)` — full official text of one CACI (civil) instruction or
  verdict form by number ("303", "VF-303"): instruction text, Directions for
  Use, Sources and Authority, Secondary Sources, revision history.
- `calcrim_lookup(number)` — full official text of one CALCRIM (criminal)
  instruction or verdict form by number ("200", "VF-200"): instruction text,
  Bench Notes (incl. Instructional Duty), Authority, Related Issues, Secondary
  Sources, Commentary where present, revision history.
- `ca_ji_search(query, set?)` — find the official instruction NUMBER for a
  claim or charge by keyword ("breach of contract" -> CACI No. 303), across
  CACI, CALCRIM, or both. Title search, not full-text search.
- `ca_ji_whats_new(set?, edition?)` — which instructions are new or revised in
  an edition, aggregated in one call (fleet #3171) — e.g. CALCRIM 2026 ->
  No. 1808 (Organized Retail Theft), 3235, 3238, 3459. For CACI this is the
  Judicial Council's own front-matter changed-numbers list for that edition;
  for CALCRIM (which carries no equivalent table) it is derived from each
  instruction's own revision-history line. Only the current edition is
  available; withdrawn/revoked numbers are not datable from this index (see
  Known limits below) and are always returned empty.
- `ca_ji_editions(set?)` — current edition year/adoption date and archived
  edition PDF links for either or both sets.

## Auth

Keyless. This reads the Judicial Council's own published, public PDFs — not a
third-party API, no registration of any kind.

## Data sources

- <https://www.courts.ca.gov/system/files/file/judicial_council_of_california_civil_jury_instructions_2026.pdf>
  — CACI (civil), current 2026 edition, the single source for every
  `caci_lookup` response.
- <https://courts.ca.gov/system/files/file/calcrim-2026.pdf> — CALCRIM
  (criminal), current 2026 edition, the single source for every
  `calcrim_lookup` response.
- <https://courts.ca.gov/partners/juryinstructions.htm> — the Judicial
  Council's own index page linking to both resource centers, current editions,
  and archived editions back to ~2019-2021 (surfaced via `ca_ji_editions`, not
  text-extracted).

### Why this pack bakes the index instead of fetching per call

Both editions are published as ONE full-edition PDF — CACI 2026 is ~3,560
pages/11MB, CALCRIM 2026 is ~2,680 pages/84MB. There is no per-instruction
endpoint, and parsing either document takes tens of seconds even outside a
Worker, so `scripts/bake-index.mjs` downloads and parses both ONCE (re-run when
a new edition is adopted, roughly annually) into `src/ca-ji-index-data.ts`,
which the gateway uploads to KV and injects as `args._bakedIndex` on first call
per isolate — see that script's header and `src/index.ts`'s top comment for the
full mechanism (same pattern as `south-dakota-code`, `hawaii-code`).

**`shared/src/pdf-text.ts` does not work on these PDFs.** Tested directly
against the real CACI PDF: it silently drops every inter-word space (this
typesetter encodes word gaps as TJ-array kerning adjustments, not space
glyphs — e.g. `"Thiseditionof CACI includes..."`) and mis-decodes several
ligatures (fi/fl -> "®", en-dash -> "±") via subsetted font encodings outside
its documented scope. `pdftotext` (poppler-utils) reconstructs spacing
correctly via real glyph positioning and is used instead — a **build-time
dependency only**; the Worker never runs the bake script. Re-running it (to
pick up a new edition) needs `pdftotext` on the machine that runs it
(`brew install poppler` / `apt install poppler-utils`).

**Parsing approach**: both documents' running headers name the instruction on
every content page ("CACI No. 303", "CALCRIM No. 200"), and every
series/category has its own divider page listing every instruction number +
official title — used as the ground-truth index, independent of body-text
parsing. Verified 2026-10-07 against the live 2026 editions: CACI 1,140/1,140
ground-truth numbers accounted for (1 — #4001 — correctly revoked, not a parse
gap); CALCRIM 780/780, 100%.

**Known limits** (said plainly, not papered over):
- Only the CURRENT edition's text is baked. Archived editions (back to
  ~2019-2021) are linked by URL via `ca_ji_editions`, not text-extracted —
  a past edition's exact wording is not retrievable from this pack.
- "Proposed revisions" (the Council's separate public-comment process for
  pending changes) are NOT covered at all. Everything served is ADOPTED,
  in-force text (`status: "adopted"` on every successful lookup).
- `ca_ji_search` matches official instruction/verdict-form TITLES and series
  names, not full instruction body text.
- `ca_ji_whats_new` cannot date a WITHDRAWAL to a specific edition: a
  revoked/reserved number's text (and any revocation date) is dropped from
  this index at bake time, so its `withdrawn` list is always empty (with a
  note saying so) — check `caci_lookup`/`calcrim_lookup` on a number instead
  to see whether it currently returns `status: "revoked_or_reserved"`. Only
  the current edition's new/revised list is available; any other `edition`
  returns a clear "not available" response.

**Licensing**: both documents carry an explicit reprint grant on their own
copyright page — "In accord with Cal. Rules of Court, Rule 2.1050(c), these
instructions and verdict forms are freely available for use and reproduction,
with appropriate citation to this publication." This pack cites the
publication via `source`/`source_url` on every response.

## Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

```json
{
  "mcpServers": {
    "california-jury-instructions": {
      "url": "https://gateway.pipeworx.io/california-jury-instructions/mcp"
    }
  }
}
```

### What this endpoint actually serves

`tools/list` at `https://gateway.pipeworx.io/california-jury-instructions/mcp` returns the tools in the table
above **plus the shared Pipeworx meta-tools** — `ask_pipeworx`,
`discover_tools`, `search_within`, `remember`/`recall` and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's `initialize` response states its exact scope, and
is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
`ask_pipeworx`, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed
directly, instead of just this one's:

```json
{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}
```

Both URLs reach the same gateway and the same 1819+ data sources. The
only difference is which pack's tools are listed **directly**; `ask_pipeworx`
reaches all of them from either one.

## No MCP client? Call it over HTTP

```bash
curl -X POST https://gateway.pipeworx.io/v1/tools/caci_lookup \
  -H 'Content-Type: application/json' \
  -d '{"number":"303"}'
```

No account needed for the first calls. Inspect any tool: `GET https://gateway.pipeworx.io/v1/tools/caci_lookup`. Find one: `POST https://gateway.pipeworx.io/v1/tools/search_packs` with `{"query":"..."}`.

## Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no
gateway round-trip:

```json
{
  "mcpServers": {
    "california-jury-instructions": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-california-jury-instructions"]
    }
  }
}
```

Or run it directly to confirm it starts:

```bash
npx -y @pipeworx/mcp-california-jury-instructions
```

It speaks MCP over stdin/stdout and answers `initialize`/`tools/list`/`tools/call`
for **only** this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.

## Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English —
this works on the pack endpoint above as well as on the full gateway:

```
ask_pipeworx({ question: "your question about California Jury Instructions data" })
```

The gateway picks the right tool and fills the arguments automatically.

## More

- [Docs and guides](https://pipeworx.io/docs)
- [pipeworx.io](https://pipeworx.io)

## License

MIT
california-jury-instructionsmcpmcp-servermodel-context-protocolpipeworx

What people ask about mcp-california-jury-instructions

What is pipeworx-io/mcp-california-jury-instructions?

+

pipeworx-io/mcp-california-jury-instructions is mcp servers for the Claude AI ecosystem. California Jury Instructions — CACI (civil) and CALCRIM (criminal), It has 0 GitHub stars and its last recorded update is dated 2026-10-16.

How do I install mcp-california-jury-instructions?

+

You can install mcp-california-jury-instructions by cloning the repository (https://github.com/pipeworx-io/mcp-california-jury-instructions) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is pipeworx-io/mcp-california-jury-instructions safe to use?

+

Our security agent has analyzed pipeworx-io/mcp-california-jury-instructions and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains pipeworx-io/mcp-california-jury-instructions?

+

pipeworx-io/mcp-california-jury-instructions is maintained by pipeworx-io. The last recorded GitHub activity is dated 2026-10-16, with 0 open issues.

Are there alternatives to mcp-california-jury-instructions?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy mcp-california-jury-instructions to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: pipeworx-io/mcp-california-jury-instructions
[![Featured on ClaudeWave](https://claudewave.com/api/badge/pipeworx-io-mcp-california-jury-instructions)](https://claudewave.com/repo/pipeworx-io-mcp-california-jury-instructions)
<a href="https://claudewave.com/repo/pipeworx-io-mcp-california-jury-instructions"><img src="https://claudewave.com/api/badge/pipeworx-io-mcp-california-jury-instructions" alt="Featured on ClaudeWave: pipeworx-io/mcp-california-jury-instructions" width="320" height="64" /></a>