{"openapi":"3.0.3","info":{"title":"Gnist Context — US Nonprofits (IRS 990)","description":"Search 1.6M+ US nonprofits and access IRS 990 financial filings — revenue, expenses, assets, compensation, and tax-exempt status.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/nonprofits/`\n- **Toolkit page:** `/toolkits/nonprofits`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/nonprofits/search_nonprofits":{"post":{"tags":["Government"],"summary":"search_nonprofits","description":"Search 1.6M+ IRS-registered US nonprofit organizations.\n\nFind nonprofits by name, location, category (NTEE code), or tax-exempt type.\nReturns basic info: EIN, name, city, state, NTEE code, and tax-exempt subsection.\n\nExamples:\n    search_nonprofits(\"hospital\", state=\"NY\") → New York hospitals\n    search_nonprofits(\"climate\", ntee=3) → Environmental nonprofits about climate\n    search_nonprofits(\"ProPublica\") → Find a specific organization\n\nReturns:\n    total_results, page, num_pages, organizations (list of matches).","operationId":"nonprofits_search_nonprofits","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"query":{"description":"Search query — name, city, or keyword. Example: 'red cross'.","type":"string"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Two-letter US state code. Example: 'CA'."},"ntee":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"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":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"501(c) subsection code. Use 3 for 501(c)(3) charitable orgs."},"page":{"default":0,"description":"Page number (0-indexed, 25 results per page).","type":"integer"}},"required":["query"],"type":"object"}}}}}},"/rest/nonprofits/get_nonprofit":{"post":{"tags":["Government"],"summary":"get_nonprofit","description":"Get detailed information and IRS 990 financial filings for a US nonprofit.\n\nReturns organization details (address, NTEE code, ruling date, income, assets)\nplus parsed financial data from all available Form 990/990-EZ/990-PF filings:\nrevenue, expenses, assets, liabilities, compensation, and more.\n\nExamples:\n    get_nonprofit(\"14-2007220\") → ProPublica Inc financials\n    get_nonprofit(\"530196605\") → American Red Cross\n\nReturns:\n    Organization details and list of filings with key financial fields.","operationId":"nonprofits_get_nonprofit","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"ein":{"description":"Employer Identification Number. Example: '14-2007220' or '142007220'.","type":"string"}},"required":["ein"],"type":"object"}}}}}},"/rest/nonprofits/report_feedback":{"post":{"tags":["Government"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"nonprofits_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Government","description":"Data sources: Government"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}