krs_company_get

Pack: krs-pl · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/krs_company_get for the schema, then POST the same URL with its arguments for the data.

Polish company or organisation by KRS number (National Court Register, Krajowy Rejestr Sadowy). e.g. {krs:“0000019193”} (PKP S.A.). Returns {found, company:{krs, register, legal_name, legal_form, regon, nip, registration_date, registered_address, website, share_capital, main_activity, status, status_basis, procedures}, data_as_of, source}. Lookup is by KRS number only (the register has no name search); found:false with reason when the number is not registered. No officers or personal data are returned.

Parameters

NameTypeRequiredDescription
krsstringyesKRS number, 1-10 digits, e.g. “0000019193” or “19193”.
registerstringnoOptional: P = entrepreneurs, S = associations/foundations/public bodies. Default: tries P then S.

Example call

Arguments

{
  "krs": "0000019193"
}

curl

curl -X POST https://gateway.pipeworx.io/krs-pl/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"krs_company_get","arguments":{"krs":"0000019193"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('krs_company_get', {
  "krs": "0000019193"
});

Response shape

FieldTypeDescription
foundboolean
reasonstring | null
notestring | null
data_as_ofstring | null
sourcestring | null
companyobject
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    },
    "data_as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "company": {
      "type": "object",
      "properties": {
        "krs": {
          "type": [
            "string",
            "null"
          ]
        },
        "register": {
          "type": [
            "string",
            "null"
          ]
        },
        "legal_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "legal_name_native": {
          "type": [
            "string",
            "null"
          ]
        },
        "legal_form": {
          "type": [
            "string",
            "null"
          ]
        },
        "regon": {
          "type": [
            "string",
            "null"
          ]
        },
        "nip": {
          "type": [
            "string",
            "null"
          ]
        },
        "registration_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_entry_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "website": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "status_basis": {
          "type": [
            "string",
            "null"
          ]
        },
        "registered_address": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true
        },
        "share_capital": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true
        },
        "main_activity": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true
        },
        "procedures": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "officers": {
          "type": [
            "array",
            "null"
          ]
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the krs-pl pack
{
  "mcpServers": {
    "krs-pl": {
      "url": "https://gateway.pipeworx.io/krs-pl/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026