get_company_facts
Pack: sec-xbrl · Endpoint: https://gateway.pipeworx.io/sec-xbrl/mcp
Get all XBRL financial facts for a company by CIK number. Returns all reported financial data (revenue, net income, assets, etc.) across all filings. Example: get_company_facts(cik: “320193”) for Apple Inc.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cik | string | yes | SEC Central Index Key (e.g., “320193” for Apple, “789019” for Microsoft) |
Example call
Arguments
{
"cik": "320193"
}
curl
curl -X POST https://gateway.pipeworx.io/sec-xbrl/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_company_facts","arguments":{"cik":"320193"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_company_facts', {
"cik": "320193"
});
More examples
{
"cik": "789019"
}
Response shape
Always returns: cik, entity_name, taxonomies
| Field | Type | Description |
|---|---|---|
cik | number | SEC Central Index Key as numeric value |
entity_name | string | Legal name of the company |
taxonomies | array | Summary of available XBRL taxonomies |
Full JSON Schema
{
"type": "object",
"properties": {
"cik": {
"type": "number",
"description": "SEC Central Index Key as numeric value"
},
"entity_name": {
"type": "string",
"description": "Legal name of the company"
},
"taxonomies": {
"type": "array",
"description": "Summary of available XBRL taxonomies",
"items": {
"type": "object",
"properties": {
"taxonomy": {
"type": "string",
"description": "Taxonomy name (e.g., us-gaap, ifrs-full)"
},
"concept_count": {
"type": "number",
"description": "Total number of concepts in taxonomy"
},
"sample_tags": {
"type": "array",
"description": "Up to 20 sample concept tags",
"items": {
"type": "string"
}
}
},
"required": [
"taxonomy",
"concept_count",
"sample_tags"
]
}
}
},
"required": [
"cik",
"entity_name",
"taxonomies"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"sec-xbrl": {
"url": "https://gateway.pipeworx.io/sec-xbrl/mcp"
}
}
}
See Getting Started for client-specific install steps.