nonprofit-explorer-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nonprofit-explorer-mcp Find Pedal Project in Washington and pull its latest financials."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
nonprofit-explorer-mcp
An MCP (Model Context Protocol) server that exposes ProPublica's Nonprofit Explorer API as tools, so an MCP-aware assistant can search IRS Form 990 nonprofit tax filing data and pull org-level financial/compensation detail directly, instead of being hand-fed curl commands or screen-scraped pages.
This is an independent, unofficial project — not affiliated with or endorsed by ProPublica. It's a thin wrapper around their public, unauthenticated API. See propublica/990-xml-reader (IRSx) for a complementary tool that parses bulk raw IRS XML 990 filings rather than querying the hosted search API.
Tools
search_organizations— keyword search over org name/alt name/city, with optional filters for state, NTEE category, and 501(c) subsection. WrapsGET /search.json.get_organization— full detail for one org by EIN: filing history and extracted financials per tax year (revenue, expenses, assets, liabilities, and aggregate officer compensation), plus links to source PDF/XML filings. WrapsGET /organizations/:ein.json.
The underlying API only documents these two endpoints — no auth, no API key, reasonable use expected (it's a public service, not built for bulk scraping).
Related MCP server: Charity MCP Server
Installation
pip install -e .Requires Python >= 3.10.
Usage with Claude Code
claude mcp add nonprofit-explorer -- nonprofit-explorer-mcpOr point at it directly in an MCP client config:
{
"mcpServers": {
"nonprofit-explorer": {
"command": "nonprofit-explorer-mcp"
}
}
}Example
Search for "Pedal Project" in Washington state, then look up its EIN.
search_organizations(q="Pedal Project", state="WA")
-> {"ein": 911817868, "name": "Pedal Project", "city": "Bellingham", "state": "WA", ...}
get_organization(ein=911817868)
-> full filing history, financials, and officer compensation by yearKnown limitations
No per-person compensation.
get_organizationreturns only an aggregate officer/director compensation figure per tax year (e.g.compnsatncurrofcrfor full Form 990 filers,pct_compnsatncurrofcrfor 990-EZ filers). It does not return the named officer/key-employee compensation table (Part IV of the 990-EZ, or Schedule J / Part VII of the full 990) — that breakdown is rendered by the ProPublica website from the underlying filing XML, but isn't in this API's JSON response. To get a named breakdown today you'd need to fetch and parse the filing's XML/PDF separately (e.g. with IRSx).Regular employee wages are invisible. For 990-EZ filers, total salary/wage expense appears only as a lump-sum line in Part I (not surfaced by this API at all — you'd have to read the source PDF/XML), with no per-employee detail. For full 990 filers, only officers/directors/key employees above the reporting threshold are itemized; rank-and-file pay isn't disclosed anywhere in the filing.
Extracted data lags the live site. A newly filed return (e.g. filed mid-year) may show up on the ProPublica website before this API's
filings_with_dataarray is backfilled with its extracted figures.Filing/PDF downloads aren't included.
pdf_urlvalues returned by the API are gated behind ProPublica's bot protection and can't be fetched with a plain HTTP client (they return an interstitial "Security Check" page instead of the PDF) — only the API's own JSON endpoints are reliably scriptable.990-N ("e-Postcard") filers return no financial data at all. Organizations with gross receipts under $50,000/year can file the minimal Form 990-N instead of a 990/990-EZ, which discloses no revenue, expense, asset, or compensation figures — just a confirmation that the org still qualifies. For these orgs,
get_organizationreturns emptyfilings_with_dataandfilings_without_dataarrays with no indication of why (as opposed to the org simply having no filings on record at all). The ProPublica website distinguishes this case ("Years with postcard filings (no financial data)"); this API does not.
Development
pip install -e ".[dev]"(No dev dependencies yet — add test tooling here as the project grows.)
License
MIT
Available Tools
2 toolsget_organizationA
Look up a single nonprofit organization by EIN.
Returns organization details plus its full filing history: for each tax year, extracted financial data where available (revenue, expenses, assets/liabilities, and compensation reported for officers/key employees), and links to the underlying 990/990-EZ/990-PF PDF and XML documents.
Args: ein: The organization's 9-digit Employer Identification Number as an integer with no dashes (e.g. 911817868 for EIN 91-1817868).
Inputs: ein (required).
search_organizationsA
Search ProPublica's Nonprofit Explorer for organizations.
Matches against organization name, alternate name, and city. Results are
paginated 25 at a time; use page to page through num_pages.
Args:
q: Keyword search string. Supports "exact phrases" in quotes, +required
terms, and -excluded terms (e.g. delta -dental). Terms not
prefixed with + or - are OR'd together.
state: Two-letter USPS state/territory abbreviation (e.g. "WA"). Use
"ZZ" for entities outside the US that file a US Form 990.
ntee: National Taxonomy of Exempt Entities major group, 1-10
(1=Arts/Culture/Humanities, 2=Education, 3=Environment/Animals,
4=Health, 5=Human Services, 6=International/Foreign Affairs,
7=Public/Societal Benefit, 8=Religion Related,
9=Mutual/Membership Benefit, 10=Unknown/Unclassified).
c_code: 501(c) subsection, e.g. 3 for 501(c)(3), 4 for 501(c)(4), or
92 for section 4947(a)(1) trusts.
page: Zero-indexed result page.
Inputs: q, ntee, page, state, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
search_organizations (keyword/filter discovery) and get_organization (EIN-based detail lookup) have clearly distinct purposes with no overlap. An agent can unambiguously pick the right tool for discovery versus retrieval.
Both tools follow a consistent verb_noun pattern (search_organizations, get_organization) with matching snake_case and matching domain noun. The only variation is plural vs singular, which reflects the semantics.
Two tools is on the thin side of the typical 3-15 range, but each maps cleanly to a distinct operation on a read-only public-data API. The scope is genuinely narrow enough that a third tool isn't obviously required.
The core workflow — search for an organization, then retrieve its EIN-keyed details and filing history — is fully covered. Minor gaps exist (e.g., no direct filing-level retrieval or cross-organization financial filtering), but agents can work around them via the search filters.
Maintenance
Related MCP Connectors
ProPublica Nonprofit MCP — ProPublica Nonprofit Explorer API (free, no auth)
MCP server for nonprofit financials via ProPublica: IRS Form 990 data for 1.8M+ nonprofits.
Nonprofit lookup and IRS 990 filing data: revenue, assets, and compensation via ProPublica
Official-data MCP server for French charities. Search, profile and compare 170,000+ French associations and foundations by name, cause, city or département, using SIREN/RNA identifiers from official public registries (INSEE Sirene, RNA, JOAFE). Each profile includes a transparency score built on four public criteria (transparency, impact, governance, finances), verified donation links and donor guides on French tax deductions. Read-only, no login needed, free tier included. 8 tools: search_ngos, get_ngo, compare_ngos, top_ngos, list_causes, get_donation_paths, search_guides, get_guide.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that provides access to ProPublica's Nonprofit Explorer API, enabling AI models to search and analyze nonprofit organizations' Form 990 data for CRM integration and prospect research.1MIT
- FlicenseAqualityDmaintenanceEnables AI assistants to look up IRS nonprofit data, verify tax-deductible charity status, and search for organizations by name or location using the CharityAPI database.43-
- AlicenseAqualityDmaintenanceProvides tools to search and retrieve nonprofit organization data and IRS filing summaries from ProPublica's Nonprofit Explorer, including side-by-side comparisons.4MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying nonprofit organization data through the ProPublica Nonprofit Explorer API, providing access to financial and operational information without authentication.67 npmMIT