
Warn Mcp
io.github.APProj由 GitHub 帳號 APProj 發布v0.2.6更新於 Oct 28, 2026
Search 61,428+ US WARN Act layoff notices: 48 states, 1988-today, daily. Bundle needs no API key.
概覽
提供每日重建的美國 WARN 法案裁員通知資料集(48 州、1988 年至今),讓助理可檢索通知、企業與各州統計。
- 可以做什麼
- 依企業、州、日期範圍與最低人數檢索通知,回傳符合筆數與受影響員工人數
- 取得最近約 14 天新發布通知的滾動清單,可限定單一州
- 查詢某企業自 1988 年以來的完整 WARN 紀錄及曾申報的所有州
- 取得逐月的通知筆數與受影響人數,可做全國各州排行或單州時間序列
- 檢視資料集本身的變更紀錄(欄位修改、消失與重新出現的通知),並核對重建時間、資料落後的州與授權資訊
- 適用情境
- 適合回答美國大規模裁員或工廠關閉相關問題,並希望數字附帶日期與來源;也適合查核某機關是否悄悄修改或撤下通知。若只需要原始 CSV 檔則不必安裝。
- 執行需求
- 可作為本機 stdio 程序執行(.mcpb 套件需要 PATH 中有 python3,也可用 uvx 或純 Python),或連線遠端 Streamable HTTP 端點。託管於 Apify 的端點要求 Authorization 標頭攜帶呼叫者自己的 Apify API 權杖;本機套件無需金鑰。需要連線公開 WARN Feed 端點的網路;可選用 WARN_MCP_CACHE 與 WARN_MCP_TTL 設定。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Warn Mcp,將其新增到工作區。
- 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.APProj%2Fwarn-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"warn": {
"type": "http",
"url": "https://mqpacuiiqcnwk93jy.apify.actor/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
warn-mcp — US layoff data (WARN Act) as an MCP server
61,428 mass-layoff notices · 48 states · 1988 → today · rebuilt every morning · no API key · zero dependencies.
Every US state publishes the layoff notices employers must file under the WARN Act, and every state publishes them differently — a web page here, a pile of PDFs there, a search form somewhere else. WARN Feed scrapes all 48 of them daily and normalizes them into one schema. This is that dataset wired into the Model Context Protocol, so Claude, Cursor, Continue or your own agent can ask questions like:
"Has Starbucks filed any WARN notices this year, and in which states?" "What layoffs were announced in the last two weeks in Texas?" "Which state had the most workers affected in 2026?" "Did any agency quietly change or delete a notice this week?"
Install
Nothing to build and nothing to install into your Python environment — the server is standard library only.
Claude Desktop — one file, no terminal: download
warn-mcp.mcpb
and drag it onto Claude Desktop's Settings → Extensions window. That bundle is
this repo's server plus a manifest; it needs a python3 on your PATH and
nothing else. The same file is listed as the installable package for
io.github.APProj/warn-mcp in the
MCP registry.
Claude Desktop / Claude Code / anything that reads an mcpServers block:
Claude Code, one line:
No uv? Clone and run it with plain Python:
Hosted: a URL, no install (ChatGPT / Claude.ai connectors, n8n, any remote client)
If your client wants a remote MCP server rather than a subprocess, point it at:
Same six tools, same daily-rebuilt data, same code as this repo. One honest
caveat: the host (Apify) requires the caller's own API token, because it
meters the compute to the account that calls it. Create a free Apify account,
copy your token, and send it as Authorization: Bearer <your-apify-token>.
We charge nothing, we see nothing, and we store nothing about your queries.
If your client supports stdio, the .mcpb bundle above needs no token at all
and is the better route.
This endpoint is also listed as the remotes entry for
io.github.APProj/warn-mcp in the
official MCP registry.
Or run it over HTTP (Streamable HTTP transport)
The same six tools, same implementation, spoken over MCP's Streamable HTTP transport instead of stdio — for clients that want a URL rather than a subprocess, and for putting one shared instance behind your own team:
No Docker? python3 http/app.py does the same thing — it is standard library
only, like everything else here. PORT selects the port, /healthz returns
{"ok":true}, and the server is stateless, so you can run as many replicas as
you like behind any load balancer.
It is deliberately keyless: the data underneath is public and read-only, the server keeps no session state and stores nothing about callers. Do not bolt auth onto a public deployment of it and then advertise it as this server.
Tools
Every answer carries as_of and source, because a layoff figure with no date
and no attribution is not worth repeating. Where the data is weaker than it
looks, the tool says so in a caveat field rather than letting the model round
it off: headcount is only counted where the agency published one, employer names
are normalized by an auditable rule table rather than a corporate-registry join,
and row_absent in the revision log means the agency stopped publishing a
notice — not that the layoff was cancelled.
Why an MCP server and not just the CSV
The CSV is right there and it is free — take it. This exists for the case where a model needs one specific answer out of a 9 MB file: the tools do the filtering and the arithmetic locally, so an agent spends a few hundred tokens instead of a context window, and it gets the freshness stamp with the answer.
agency_revisions is the part you cannot reconstruct from any single copy of
the data. A state agency editing its own WARN page leaves no changelog, so a
mirror taken today simply is today's truth. WARN Feed diffs yesterday's
build against today's and keeps the field-level log — 638 logged changes
since 2026-08-31, including 274 notices that stopped appearing. One honest
caveat, stated in every response: a logged change can come from the agency
amending or withdrawing a notice or from an improvement to this project's
parser, and the log does not guess which — cause_class labels only what is
mechanically distinguishable (field_populated, field_cleared,
format_only, value_changed, unknown).
Caching and network
Tools read the free public WARN Feed endpoints over HTTPS and cache them on disk
(~/.cache/warn-mcp, override with WARN_MCP_CACHE) with ETag revalidation, so
ten tool calls in a row make at most one request per file per hour
(WARN_MCP_TTL, seconds). If the network is down and a cached copy exists, the
cached copy is served and its own as_of tells you how old it is.
There is no key, no signup, no rate limit and no telemetry — this server sends nothing anywhere except plain GETs for public files.
Data, license, attribution
Data is compiled from official state WARN publications and released under
CC BY 4.0 — credit "WARN Feed" and link back. This server's code is MIT.
Not affiliated with any state agency or the US Department of Labor; state
agencies' own postings are the authority and are occasionally revised (see
agency_revisions).
- Dataset repo: https://github.com/APVentureEngine/warn-act-notices
- Raw HTTP API and per-state files: https://approjects-warn-act-notices.static.hf.space/api.html
- Hugging Face: https://huggingface.co/datasets/APProjects/us-warn-act-layoffs-notices-daily
The one paid thing
Everything above is free and stays free. If you need to be told — your own list of employers matched against every daily refresh and pushed to a private alert page, a calendar feed, or a private RSS feed you point Slack, Discord or Teams at — that is WARN Watch, $49/year, with a free 30-day trial and no card. It is the only thing here that costs money.
Bugs, a state we should cover, a tool you want: open an issue.
來源:README.md,提交 13c61ce
工具
0版本歷史
4- v0.2.6最新Sep 24, 2026
- v0.2.4Sep 20, 2026
- v0.2.0Sep 17, 2026
- v0.1.0Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分