warn-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WARN_MCP_TTL | No | Cache refresh interval in seconds (default behavior: at most one request per file per hour) | 3600 |
| WARN_MCP_CACHE | No | Override the cache directory (default: ~/.cache/warn-mcp) | ~/.cache/warn-mcp |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_layoff_noticesA | Search US WARN Act mass-layoff notices across 48 states, 1988 to today, by employer name, state, date range and minimum headcount (filters combine with AND; at least one is required). Returns matched_notices, matched_workers_affected and up to |
| latest_layoff_noticesA | The rolling feed of newly published WARN notices (the last ~14 days as the agencies posted them), newest notice_date first, optionally one state. Use this for 'what layoffs were announced recently'. Returns count_in_window plus up to |
| employer_layoff_historyA | Every WARN notice one employer has filed, in any covered state, back to 1988: notice count, total workers affected, states, first and latest activity. Returns employers_matched, |
| state_layoff_totalsA | Monthly WARN notice counts and workers affected. With no state, returns a national leaderboard by state in |
| agency_revisionsA | Change log of the dataset itself: what differed between consecutive daily builds of the WARN notice table, since 2026-08-31. Each change is one of 'amended' (a tracked field of an existing notice changed — employees_affected, effective_date, location, notice_type, company, notice_date), 'row_absent' (a notice stopped appearing) or 'row_returned' (an absent notice came back). A change can come from the state agency amending or withdrawing a notice OR from an improvement to this project's parser; the log records the observation, never the cause, and cause_class labels only what is mechanically distinguishable (field_populated, field_cleared, format_only, value_changed, unknown). Filters combine with AND. Returns matched_changes, by_change_type, by_cause_class, log_covers_from/to, and up to |
| dataset_statusA | Freshness and coverage of the dataset itself: when it was last rebuilt, which states are flagged stale, the license, and the raw endpoints. Call this before quoting a number so you can attribute it correctly. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool occupies a clearly distinct niche: general search, recent feed, employer history, state aggregates, dataset freshness, and change log. The descriptions explicitly cross-reference the other tools, so an agent can reliably pick the right one without ambiguity.
All names use lowercase snake_case and follow a recognizable subject-prefix structure like search_, latest_, employer_, and state_. The only minor deviation is that search_layoff_notices is verb-led while most other names are noun phrases, but the pattern is still predictable.
Six tools is well-scoped for a specialized WARN dataset server. Each tool earns its place by covering a distinct query mode or operational need, with no obvious redundancy or bloat.
The read-only domain is well covered: filtered search, recent notices, employer history, state totals, dataset status, and revision tracking are all present. Minor gaps exist, such as no direct lookup by notice id and no explicit pagination beyond `limit`, but agents can usually work around these with the available search and history tools.