Skip to main content
Glama
awalcutt

Washington State Legislature MCP Server

by awalcutt

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging levelINFO
SERVER_NAMENoCustom server nameWashington State Legislature MCP Server
WSL_CACHE_TTLNoCache time-to-live (seconds)300
WSL_API_TIMEOUTNoAPI request timeout (seconds)30

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_bill_infoA

Retrieve detailed information about a specific bill.

Args: bill_number: Bill number as an integer (e.g., 1234 for HB1234, 5678 for SB5678) biennium: Legislative biennium in format "YYYY-YY" (e.g., "2025-26") (optional, defaults to current)

Returns: Dict containing bill details including description, sponsor, status, etc.

search_billsA

Search for bills using keywords and optional filtering.

This function uses the WSL Search API to find bills matching the provided query with optional filtering by biennium and agency.

Args: query: Search query text (e.g., "climate change", "transportation") bienniums: List of bienniums to search (format: "YYYY-YY") (optional, defaults to current) agency: Filter by originating agency ("House", "Senate", or "Both") (optional, defaults to "Both") max_results: Maximum number of total results to return (max 100)

Returns: Dict containing list of bills matching the search criteria

get_bills_by_yearA

Retrieve all bills from a specific year with optional filtering.

This function retrieves all legislation for a year and allows filtering by agency (House or Senate) and active status.

Args: year: Year in format "YYYY" (e.g., "2025") (optional, defaults to current) agency: Filter by originating agency ("House" or "Senate") (optional) active_only: If True, only return active bills

Returns: Dict containing list of bills matching the criteria

get_committee_meetingsA

Retrieve committee meetings and agendas.

Args: start_date: Start date in YYYY-MM-DD format end_date: End date in YYYY-MM-DD format committee: Filter by specific committee (optional)

Returns: Dict containing list of committee meetings

find_legislatorA

Find legislators (sponsors) for a specific biennium, optionally filtered by chamber and/or district.

Args: biennium: Legislative biennium in format "2025-26" (optional, defaults to current) chamber: Filter by chamber ("house" or "senate") (optional) district: Filter by legislative district number (optional)

Returns: Dict containing list of legislators matching the criteria

get_bill_statusA

Get the current status and history of a specific bill.

Args: bill_number: Bill number as an integer (e.g., 1234 for HB1234, 5678 for SB5678) biennium: Legislative biennium in format "YYYY-YY" (e.g., "2025-26") (optional, defaults to current)

Returns: Dict containing current status and history

get_bill_documentsA

Retrieve bill documents including bill text and amendments.

Args: bill_number: Bill number as an integer (e.g., 1234 for HB1234, 5678 for SB5678) biennium: Legislative biennium in format "YYYY-YY" (e.g., "2025-26") (optional, defaults to current) document_type: Filter by type - "bill", "amendment", "report" (optional)

Returns: Dict containing document metadata with links to HTML and PDF versions

Note: This tool returns metadata about available documents. To get the actual content of a bill in AI-friendly format, use the get_bill_content tool.

get_bill_contentA

Retrieve the content of a bill in an AI-friendly format.

This tool fetches the actual content of a bill document, defaulting to XML format which is most suitable for AI processing due to its structured nature. It can also return HTML content or a link to the PDF version.

Args: bill_number: Bill number as an integer (e.g., 1234 for HB1234, 5678 for SB5678) biennium: Legislative biennium in format "YYYY-YY" (e.g., "2025-26") (optional, defaults to current) chamber: Chamber name - "House" or "Senate" (optional if bill_number is unique across chambers) bill_format: Document format - "xml" (default), "htm", or "pdf"

Returns: For XML and HTM formats: Dict containing the document content and metadata For PDF format: Dict containing the URL to access the PDF and metadata

Note: This tool complements the get_bill_documents tool, which provides metadata about available documents. This tool provides the actual content of the bill.

When citing bill content in responses, consider including a link to the PDF version
using the format: https://lawfilesext.leg.wa.gov/biennium/{biennium}/Pdf/Bills/{chamber}%20Bills/{bill_number}.pdf
pingA

Simple health check to verify the server is running.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/awalcutt/wa-leg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server