Washington State Legislature MCP Server

by awalcutt

144 downloads
Not rated
GitHub

About

Model Context Protocol (MCP) Server for Washington State Legislative Web Services

Details

Author
awalcutt
Downloads
144
Categories
Other

- Bill tracking and information retrieval
- Committee meeting schedules and agendas
- Legislator lookup and sponsor information
- Bill status and history tracking
- Legislative document access in XML, HTM, and PDF

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Washington State Legislature MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install with pip install . (production) or pip install -e ".[dev]" (development). Run locally using mcp dev src/wa_leg_mcp/server.py or python src/wa_leg_mcp/server.py. Configure via a .env file with variables like WSL_API_TIMEOUT and WSL_CACHE_TTL. Integrate with Claude Desktop by adding a JSON entry to its MCP configuration. For remote deployment, use the mcp-remote adapter with an AWS Lambda endpoint.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "washington state legislature mcp server": {
            "wa-leg-mcp": {
                "command": "python",
                "args": [
                    "src/wa_leg_mcp/server.py"
                ]
            }
        }
    }
}

McpServers

{
    "wa-leg-mcp": {
        "command": "python",
        "args": [
            "src/wa_leg_mcp/server.py"
        ]
    }
}

Washington State Legislature MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with access to Washington State Legislature data, enabling civic engagement through conversational interfaces.

Overview

This MCP server connects AI assistants to the Washington State Legislative Web Services (WSLWS), providing tools for:
- Bill tracking and information retrieval
- Committee meeting schedules and agendas
- Legislator lookup and sponsor information
- Bill status and history tracking
- Legislative document access

Features

Core Tools

- getBillInfo - Retrieve detailed information about specific bills - searchBills - Search for bills using keywords and optional filtering - getBillsByYear - Retrieve all bills from a specific year with filtering options - getCommitteeMeetings - Get committee meeting schedules and agendas - findLegislator - Find legislators by district or lookup sponsors - getBillStatus - Get current status and history of a bill - getBillDocuments - Retrieve bill document metadata with links - getBillContent - Retrieve the actual content of a bill in AI-friendly format

MCP Resources

- bill://xml/{biennium}/{chamber}/{bill_number} - Access bill documents in structured XML format - bill://htm/{biennium}/{chamber}/{bill_number} - Access bill documents in HTML format - bill://pdf/{biennium}/{chamber}/{bill_number} - Get URLs for bill PDF documents - bill://document/{format}/{biennium}/{chamber}/{bill_number} - Generic format for accessing bill documents

Installation

Prerequisites

- Python 3.10+ - pip package manager

Development Installation

pip install -e ".[dev]"

Production Installation

pip install .

Quick Start

Local Development

```bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.