# Wyoming Code [Health: Active]

**Category:** ⚖️ Legal  
**Repository:** https://github.com/pipeworx-io/mcp-wyoming-code  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1049  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/wyoming-code

## Description
Wyoming Statutes (W.S.) — state statutes by citation and by topic.

## Tools
Capabilities this server exposes over MCP:

- **wy_statute** — Get the FULL TEXT of a section of the Wyoming Statutes (W.S.) — Wyoming state law — by citation. "6-2-101" is murder in the first degree (Title 6, Crimes and Offenses); "20-1-105" is divorce grounds (Title 20). Accepts natural forms: "6-2-101", "W.S. 6-2-101", "§ 6-2-101". Returns the current statutory text, the section heading, and — where the source carries one cleanly — an enactment/amendment "history" note; many sections have no such note (Wyoming does not uniformly separate amendment history from body text). Wyoming publishes the CURRENT edition only; no historical/prior-year version is available online. Title 97 (the Constitution) is not covered — it uses "Article N, Section N" citations, a different scheme. Keyless. Use for "what does W.S. 6-2-101 say" or to check a Wyoming statute a case or contract relies on.
- **wy_search** — Search the Wyoming Statutes BY TOPIC or keyword rather than citation — "landlord security deposit", "concealed firearm permit", "murder penalty". Full-text search over the statutory body text across all titles (except Title 97, the Constitution). Returns matching citations and headings; call wy_statute with a citation for the full text. Keyless.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "wyoming-code": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-wyoming-code"]
  }
}
```

## Documentation

## What Wyoming Code does

Wyoming Code exposes Wyoming statutory content through MCP tools for legal research and statute discovery. The source is the Wyoming Legislative Service Office site at wyoleg.gov, and the integration covers 44 titles that use Wyoming's title-chapter-section citation format: titles 1 through 42, decimal title 34.1, and title 99. Title 97, the Wyoming Constitution, is excluded because it uses article-and-section citations rather than the covered format.

The dataset contains 21,268 ingested sections. It represents the current statutory edition identified by the source as existing on July 1, 2026. Wyoming Code is an independent integration and is not affiliated with or endorsed by the upstream provider.

## How it works

Each title's PDF is processed into a JSON bundle and stored in the shared Pipeworx dataset storage. A full-text FTS5 search shard indexes the statutory body text across the covered titles. Citation requests normally read the requested section directly from its title bundle rather than downloading an entire PDF.

If a hosted bundle is unavailable, or a standalone installation has no R2 binding, the citation lookup can fetch only the PDF for the requested title. It does not download the full collection for an individual request. Section extraction identifies citation-shaped headings in the flattened PDF text and uses a longest-match approach to distinguish a real section heading from an inline cross-reference.

The hosted MCP endpoint is:

```text
https://gateway.pipeworx.io/wyoming-code/mcp
```

The service is keyless. Add that URL as a remote MCP server in a compatible client such as Claude Desktop, Cursor, or Windsurf.

## Tools and capabilities

- `wy_statute(citation)` returns a section's heading and full text. It accepts forms such as `6-2-101`, `W.S. 6-2-101`, and `§ 6-2-101`.
- `wy_search(query, limit?)` searches statutory body text across all 44 covered titles and returns matching citations and headings. Use `wy_statute` after searching to retrieve complete sections.
- Citation formats include standard values such as `6-2-101` and decimal-title values such as `34.1-1-101`.
- Some sections include an extracted `history` field when the source has a clean trailing enactment-history note.

The endpoint also exposes shared Pipeworx gateway tools, including discovery, search, question-answering, and memory tools. The exact tool list is returned during MCP initialization.

## Limitations and notes

Amendment history is incomplete. Many sections return a null `history` value, while some titles contain usable parenthetical enactment notes. Other amendment or repeal information may remain inline in the statutory text.

Historical versions are not available. The source provides the current edition without a year selector or archive mechanism, so Wyoming Code cannot retrieve a section as it appeared before a particular amendment or in an earlier edition. The Constitution is also outside the supported corpus.

The source PDFs are periodically ingested rather than refreshed daily. The repository includes a manual ingestion command for refreshing the dataset, reflecting the legislature's annual cycle.

_Full upstream README: https://allmcps.com/mcp/wyoming-code/readme_

