GnistAI GnistAI
Log in

US Nonprofits (IRS 990)

Search 1.6M+ US nonprofits and access IRS 990 financial filings — revenue, expenses, assets, compensation, and tax-exempt status.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 3 tools tools 3 3 Government

Data source: ProPublica Nonprofit Explorer API

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/nonprofits/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-nonprofits": {
      "url": "https://context.gnist.ai/mcp/nonprofits/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/nonprofits/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_nonprofits", "arguments": {"query": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/nonprofits/

3 endpoints available:

Shell
curl "https://context.gnist.ai/rest/nonprofits/search_nonprofits?query=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/nonprofits/search_nonprofits",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "query": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc nonprofits

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (3)

search_nonprofits
Search 1.6M+ IRS-registered US nonprofit organizations.
ParameterTypeRequiredDescription
querystringrequiredSearch query — name, city, or keyword. Example: 'red cross'.
stateanyoptionalTwo-letter US state code. Example: 'CA'.
nteeanyoptionalNTEE major group: 1=Arts, 2=Education, 3=Environment, 4=Health, 5=Human Services, 6=International, 7=Public Benefit, 8=Religion, 9=Mutual Benefit, 10=Unknown.
c_codeanyoptional501(c) subsection code. Use 3 for 501(c)(3) charitable orgs.
pageintegeroptionalPage number (0-indexed, 25 results per page). (default: 0)
get_nonprofit
Get detailed information and IRS 990 financial filings for a US nonprofit.
ParameterTypeRequiredDescription
einstringrequiredEmployer Identification Number. Example: '14-2007220' or '142007220'.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related