get_filing

Pack: propublica-nonprofit · Endpoint: https://gateway.pipeworx.io/propublica-nonprofit/mcp

Get a specific IRS filing for a nonprofit. Returns financial data from one tax period including revenue, expenses, assets, and liabilities. Example: get_filing(131710957, 202112).

Parameters

NameTypeRequiredDescription
einnumberyesEmployer Identification Number
tax_periodnumberyesTax period in YYYYMM format (e.g., 202112 for December 2021)

Example call

Arguments

{
  "ein": 131710957,
  "tax_period": 202112
}

curl

curl -X POST https://gateway.pipeworx.io/propublica-nonprofit/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_filing","arguments":{"ein":131710957,"tax_period":202112}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_filing', {
  "ein": 131710957,
  "tax_period": 202112
});

Response shape

Always returns: ein, organization_name, filing

FieldTypeDescription
einnumberEmployer Identification Number
organization_namestring | nullOrganization name
filingobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "ein": {
      "type": "number",
      "description": "Employer Identification Number"
    },
    "organization_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Organization name"
    },
    "filing": {
      "type": "object",
      "properties": {
        "tax_period": {
          "type": [
            "number",
            "null"
          ],
          "description": "Tax period identifier"
        },
        "tax_period_year": {
          "type": [
            "number",
            "null"
          ],
          "description": "Tax period year"
        },
        "form_type": {
          "type": [
            "string",
            "null"
          ],
          "description": "IRS form type (e.g., '990', '990-N')"
        },
        "pdf_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to PDF filing"
        },
        "updated": {
          "type": [
            "string",
            "null"
          ],
          "description": "Last update timestamp"
        },
        "total_revenue": {
          "type": [
            "number",
            "null"
          ],
          "description": "Total revenue for period"
        },
        "total_expenses": {
          "type": [
            "number",
            "null"
          ],
          "description": "Total functional expenses"
        },
        "total_assets": {
          "type": [
            "number",
            "null"
          ],
          "description": "Total assets at end of period"
        },
        "total_liabilities": {
          "type": [
            "number",
            "null"
          ],
          "description": "Total liabilities at end of period"
        },
        "pct_officer_compensation": {
          "type": [
            "number",
            "null"
          ],
          "description": "Officer compensation percentage"
        }
      }
    }
  },
  "required": [
    "ein",
    "organization_name",
    "filing"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "propublica-nonprofit": {
      "url": "https://gateway.pipeworx.io/propublica-nonprofit/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026