Skip to main content
Glama
propublica-npo-mcp

propublica-npo-mcp

by 2b3pro

propublica-npo-mcp

MCP 服务器,通过 ProPublica Nonprofit Explorer API 提供精选的非营利组织及申报摘要。

安装

npm install

Related MCP server: Charity MCP Server

运行

npm run start

本地开发:

npm run dev

Claude Desktop / Cline 配置

{
  "mcpServers": {
    "propublica-npo": {
      "command": "npx",
      "args": ["tsx", "/absolute/path/to/propublica-npo-mcp/src/index.ts"]
    }
  }
}

工具

search_nonprofits 通过名称或关键词搜索 ProPublica Nonprofit Explorer 索引,支持可选的州、NTEE 主要类别、501(c) 子类型和页面筛选器。

get_organization 返回组织元数据以及默认情况下最近五份申报的精选摘要。传入 verbose: true 可获取原始上游负载。

list_organization_filings 返回特定 EIN 的所有申报记录,按最新日期排序。默认输出为精选摘要;verbose: true 返回原始申报数组。

compare_nonprofits 使用 2-5 个组织的最新申报数据进行并排对比,同时将每个 EIN 的 404 错误保留为行级错误。

注意事项

该服务器使用具有 1 小时 TTL 的 100 条目内存 LRU 缓存。每个上游请求均有 15 秒超时限制,并在网络故障或 5xx 错误时重试一次。ProPublica 数据公开但仍受速率限制;如果遇到 429 错误,请等待后重试,不要循环请求。


支持

如果本项目对您的非营利组织研究或构建智能体有所帮助,请考虑请我喝杯咖啡!这将有助于保持更新。

https://paypal.me/2b3/5


许可证

MIT 许可证 - 由 Ian Shen 创建。

Available Tools

4 tools
compare_nonprofitsA

Compare 2-5 nonprofits side by side on key financial metrics from their most recent filing with data.

Inputs: eins (required).

get_organizationA

Get full details for a single nonprofit by EIN, including organization metadata and a summary of the most recent IRS Form 990 filings. Pass verbose=true for the raw upstream payload.

Inputs: ein (required), verbose.

list_organization_filingsA

List all IRS Form 990 filings on file for a nonprofit, newest first. By default returns curated summaries; pass verbose=true for the raw filing arrays.

Inputs: ein (required), verbose.

search_nonprofitsB

Search US nonprofits in the ProPublica Nonprofit Explorer database by name or keyword, with optional filters for state, NTEE major category, and 501(c) subtype.

Inputs: query (required), state, ntee_category, c_code, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: search for nonprofits, get details by EIN, list filings, and compare multiple nonprofits. There is no overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case (compare_nonprofits, get_organization, list_organization_filings, search_nonprofits), ensuring predictability.

    Tool Count5/5

    With 4 tools, the server is well-scoped for its purpose of exploring and comparing nonprofit data. Each tool contributes a core operation without redundancy.

    Completeness4/5

    The tool set covers key operations: search, retrieve details, list filings, and compare. A minor gap is the lack of a tool to retrieve details of a specific filing beyond the summary, but verbose options partially address this.

    Related MCP Connectors

    Related MCP Servers