
IRS SOI (income by ZIP)
io.github.mcpwright由 GitHub 帳號 mcpwright 發布v0.1.2更新於 Oct 24, 2026
IRS income & tax stats by ZIP in your agent: AGI distribution, tax, credits, deductions.
概覽
本機 MCP 伺服器,讓助理依美國 ZIP 代碼查詢 IRS 收入統計資料(唯讀):收入、AGI 分級、稅額、抵減與扣除額。
- 可以做什麼
- 查詢某個 ZIP 是否有 SOI 資料,回傳州、申報數、人數與稅務年度。讀取收入資料:AGI、每份申報平均 AGI、薪資、利息、股利、營業所得與資本利得。依六個 IRS AGI 級距拆分該 ZIP 的申報數與 AGI,或依指定指標排序多個 ZIP。讀取稅額、抵減(依合格子女數區分的 EITC、兒童稅額抵減)與扣除額(標準與列舉、SALT)。取得申報身分與電子申報數量、全州彙總與級距組成,或單一 SOI 欄位代碼的原始值。
- 適用情境
- 適合讓助理回答美國各 ZIP 地區收入水準、稅負或抵減使用情況的問題,或比較社區與州,且不需 API 金鑰。
- 執行需求
- 透過 stdio 在本機執行;需要 Python 3.12+ 以及 uv/uvx 啟動 PyPI 套件。首次呼叫會從 IRS 下載約 200 MB 的 CSV 到作業系統快取目錄下的本機 SQLite 儲存;選用環境變數 SOI_MCP_STORE 可覆寫該路徑。不需 API 金鑰或帳號。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 IRS SOI (income by ZIP),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
soi-mcp
IRS income & tax statistics by ZIP code, inside your agent. An MCP
server that lets an LLM pull the income distribution, tax, credits, and deductions of any U.S. ZIP
straight from the IRS Statistics of Income (SOI) — built on Anthropic's official
mcp Python SDK.
All tools are read-only and the data is public domain (a U.S. government work) — no API key required. The dataset is downloaded once into a local SQLite store and served offline.
Status: published —
uvx mcpwright-soi(PyPI) and listed in the official MCP Registry asio.github.mcpwright/soi-mcp. 10 tools, working today (see below). The IRS SOI ZIP release lags ~2–3 years; the latest available year (currently Tax Year 2022) loads by default, and older years are onerefresh <year>away. See the roadmap for what's next.
Tools
All dollar amounts are returned in whole USD (the source reports thousands). Counts are numbers of returns, rounded by the IRS to the nearest 10.
Install
Requires Python 3.12+. The zero-clone way to run it (the PyPI package is mcpwright-soi; the
command, server, and tools are all "soi"):
The first tool call downloads the latest SOI ZIP file (~200 MB) into a local SQLite store under your OS cache directory and serves everything offline thereafter. To pre-load (or to pick a specific tax year) without waiting for the first query:
Claude Code
Claude Desktop
Add to claude_desktop_config.json:
OpenAI Agents SDK (Python)
It's a standard MCP server, so it works with any MCP-capable client — not just Claude. With the OpenAI Agents SDK:
Any other MCP client (Cursor, VS Code, Cline, Goose, Zed, …)
They all launch a stdio MCP server the same way — point yours at:
Hosted chat connectors (e.g. ChatGPT connectors) expect a remote MCP server over Streamable HTTP;
mcpwright-soiruns locally over stdio.
Storage: the dataset lives in a SQLite file under your OS cache dir (override with the
SOI_MCP_STOREenv var). Delete it any time;setup/refreshrebuilds it.
A note on suppression: the IRS excludes ZIPs with fewer than 100 returns (folding them into a "99999" bucket) and suppresses line items with fewer than 20 returns. Summed ZIP totals can therefore slightly understate reality and won't exactly equal the state total. All figures are aggregates of filed returns, not a population census.
Develop
Roadmap
-
lookup_zip/get_income/get_agi_distribution— the income backbone -
get_tax/get_credits/get_deductions/get_filing_status— the tax side -
compare_zips— rank ZIPs by a metric -
get_state_totals— state rollups from the IRS 00000 row -
get_soi_field— raw-field escape hatch -
setup/refresh [year]— download once, re-pull or pick an older tax year - Publish to PyPI (
mcpwright-soi) + the official MCP Registry (io.github.mcpwright/soi-mcp) - Multi-year queries in one call (trend a ZIP across tax years)
Privacy
soi-mcp runs entirely on your machine. It collects, stores, or transmits no personal data
— no accounts, no tracking, no telemetry. Its only outbound requests go to the U.S. IRS static
file host (www.irs.gov/pub/irs-soi) to download the public SOI ZIP-code CSV; no API key is
needed and nothing about your queries leaves your machine. The downloaded dataset is cached on
disk as a local SQLite file (under your OS cache dir, or SOI_MCP_STORE); delete it any time.
Full policy: https://mcpwright.com/privacy/
Questions & feedback
- Questions, ideas, or "could it do X?" → Discussions
- Bugs & concrete feature requests → Issues
Contributions welcome — and if you build something with it, I'd love to hear about it.
Part of mcpwright · built by Devender Gollapally
來源:README.md,提交 3b1614d
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分