Data source: ProPublica Nonprofit Explorer API
https://context.gnist.ai/mcp/nonprofits/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (3)
search_nonprofitsSearch 1.6M+ IRS-registered US nonprofit organizations.
Find nonprofits by name, location, category (NTEE code), or tax-exempt type.
Returns basic info: EIN, name, city, state, NTEE code, and tax-exempt subsection.
Examples:
search_nonprofits("hospital", state="NY") → New York hospitals
search_nonprofits("climate", ntee=3) → Environmental nonprofits about climate
search_nonprofits("ProPublica") → Find a specific organization
Returns:
total_results, page, num_pages, organizations (list of matches).
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search query — name, city, or keyword. Example: 'red cross'. |
state | any | optional | Two-letter US state code. Example: 'CA'. |
ntee | any | optional | NTEE 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_code | any | optional | 501(c) subsection code. Use 3 for 501(c)(3) charitable orgs. |
page | integer | optional | Page number (0-indexed, 25 results per page). (default: 0) |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "search_nonprofits",
"arguments": {
"query": "example"
}
}
}get_nonprofitGet detailed information and IRS 990 financial filings for a US nonprofit.
Returns organization details (address, NTEE code, ruling date, income, assets)
plus parsed financial data from all available Form 990/990-EZ/990-PF filings:
revenue, expenses, assets, liabilities, compensation, and more.
Examples:
get_nonprofit("14-2007220") → ProPublica Inc financials
get_nonprofit("530196605") → American Red Cross
Returns:
Organization details and list of filings with key financial fields.
| Parameter | Type | Required | Description |
|---|---|---|---|
ein | string | required | Employer Identification Number. Example: '14-2007220' or '142007220'. |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "get_nonprofit",
"arguments": {
"ein": "123456789"
}
}
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "report_feedback",
"arguments": {
"feedback": "example"
}
}
}Quick Start
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"}}}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/mcp/nonprofits/",
headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
json={
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "search_nonprofits",
"arguments": {
"query": "example"
}
}
},
)
print(resp.json())