The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Harris County listing page.
Status: incubator. Not wired into MCP_PACKS, so nothing routes here.
Fleet #1085. This pack holds the two halves that are finished and measured;
the tools are not written yet because they read a mirror table that does not
exist. See ../README.md for the promotion checklist.
Part of Pipeworx — an MCP gateway connecting AI agents to 1683+ live data sources.
"Is Company X being sued in Harris County state court, and by whom." That is
the question court-listener structurally cannot answer — it covers federal
dockets and appellate opinions, not Texas state civil filings. Harris County is
the largest single-county state civil corpus we have a sanctioned bulk path to.
Measured against the 20260829 weekly index: AMAZON LOGISTICS INC 12 cases,
KROGER 21, WALMART INC 15, HALLIBURTON COMPANY 3, SYSCO HOUSTON INC 3.
| File | What it does |
|---|---|
src/bulk.ts | Fetches the files. ASP.NET WebForms postback, two requests, no static URL. |
src/parse.ts | Parses both files and decodes the coded fields. |
src/field-codes.json | The clerk's own data dictionary, 14 sheets, ~5,000 codes. Generated. |
scripts/regen-field-codes.mjs | Regenerates that JSON from the live FIELD_CODES.xlsx. No API key, no deps. |
All of this was measured on 2026-09-02 against the real files, not inferred.
Reachability from a deployed Cloudflare Worker — PASS. GET /admin/harris_probe
on the deployed registry-api (not wrangler dev, not a laptop):
Weekly fixed-width layout — 42 fields, 0 misaligned rows out of 31,539.
Offsets came from the header's label positions and are asserted on every parse
by assertWeeklyHeader(). 228 case numbers legitimately end in a letter
(severed/ancillary matters).
Field decoding — 17 of 17 status codes present in the file are mapped, none
unmapped: A ACTIVE 12,861 · D DISPOSED (FINAL) 12,454 · E READY DOCKET
3,342 · H HOLD FOR JUDGMENT 1,317 · O POST JUDGMENT 868 · IP INACTIVE
(PENDING) 63 · … Raw D is not a case status anyone can read; that is what
FIELD_CODES.xlsx is for.
$ in the postback control names must arrive as %24. Get it wrong
and the server answers 200 with the page re-rendered — a 224 KB HTML
document where the file should be. curl --data-urlencode leaves $
literal; URLSearchParams encodes it. downloadHarrisFile asserts on
Content-Disposition: attachment, never on the status code.assertWeeklyHeader() is the only thing between that and the
database — call summarizeWeekly() at ingest and require misaligned === 0.***** NO DEFENDANT RECORD found ***** is a sentinel, not a name.
787 rows carry it. Ingested literally it becomes the third most-sued party in
Harris County, ahead of the City of Houston. parseWeeklyLine blanks it.Everything except the load itself is now written and typechecked: the schema, the ingest, its manual trigger, and the four tools. What remains needs database credentials the machine that wrote it does not carry, so it stopped at the last step that could be honestly verified from there rather than at a half-loaded table.
The operator runbook — the exact variable names, the load procedure and the
promotion checklist — is docs/harris-county-handoff.md. It lives there and
not here because this README ships in the public standalone repo.
| Piece | Where |
|---|---|
| Schema, 2 tables + trigram indexes | supabase/migrations/dockets_004_harris_civil.sql |
| Ingest, batched upsert + dry-run mode | workers/registry-api/src/harris_civil.ts |
| Manual trigger, internal-secret gated | POST /admin/harris_civil_sync on registry-api |
| The four tools | src/tools.ts — exported as the pack default, still inert |
Proven locally against the real files 2026-09-02 — the full path from download through parse and decode to the exact row objects that would be written, i.e. every step except the write itself:
That last line is the question this pack exists to answer, answered from the parsed corpus. It is NOT a substitute for the live smoke test the promotion checklist requires — that needs the table to exist.
misaligned must be 0; a moved column still slices cleanly, so
nothing else would catch it.Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
tools/list at https://gateway.pipeworx.io/harris-county/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:
Both URLs reach the same gateway and the same 1683+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/harris_civil_search_party. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
Or run it directly to confirm it starts:
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.
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:
The gateway picks the right tool and fills the arguments automatically.
MIT