1. Conduid
  2. RAG
  3. Xbrlkit
MCP server · RAG

Xbrlkit

Work with XBRL filings above Arelle: one parse, portable models

54Fair

Scored 4 hours ago · breakdown

About Xbrlkit

Xbrlkit is an MCP server published by RoboFinSystems in the RAG category: work with XBRL filings above Arelle: one parse, portable models. Conduid read 19 tools from its source: calculation, describe_filing, disclosures, documents, export_filing, fact_grid and 13 more. No package is published for it, so it installs from a source checkout.

The repository has 1 stars and 2 forks, and its last commit was on 1 Dec 2026. The latest release is v0.21.3 (15 Oct 2026): xbrlkit v0.21.3 Summary Maintenance release that modernizes the supported Python matrix: xbrlkit now targets Python 3.12–3.14, with 3.12 as the new minimum supported ver… It follows v0.21.2 (15 Oct 2026), and the 5 most recent releases go back to v0.20.9 (4 Oct 2026). Its topics include arelle, edgar, financial-analysis, financial-data, holon and json-ld.

Install

From source
git clone https://github.com/RoboFinSystems/xbrlkit

Tools (19)

calculationWhat sums to a total: the calculation-linkbase children of a concept with their weights, and per period the reported total, the sum computed from the children's consolidated facts, and the difference. Use for 'which line items make up operating expenses' or to check a subtotal. A concept that is a child rather than a parent reports what it contributes to.
describe_filingHow a loaded filing is laid out: entity, form and fiscal context; fact counts; the reporting periods with the `key` fact_grid and statement use; units; the primary statements by role and the notes by name (`disclosures` lists a note's blocks; under `--pure`, every presentation network by role); the dimensional axes present; and the text sections with their character offsets. For an 8-K it also returns the SEC's own item codes and what they mean (2.02 = an earnings release) with a note saying where that filing's substance actually is. Call this first — never guess names or keys.
disclosuresThe filing's disclosures — its information blocks as families, read from the filer's own role titles: each note with its policies, its tables and every details table; each statement with its parenthetical; the cover page. With no topic, the list — one row per family with block and fact counts. With a topic ('leases', 'income taxes', 'cover'), that family's index: each block's id, level, fact count, axes and text blocks. The cheap call: use it to find the block a question is about, then information_block for that block alone.
documentsWhat else was filed with this filing — the exhibits, and any second document the content actually lives in (an 8-K's EX-99.1 press release, a 13F's INFORMATION TABLE of holdings). An 8-K's EX-99 exhibits are also in its text while the text tools read whole documents; this lists them with the rest. Costs one small fetch the first time and nothing after. Every document carries its URL and says whether read_document can read it: a PDF or an image is listed with its address so a caller that can open one may fetch it directly. The XBRL package and the SEC's own rendered copies are not listed.
export_filingWrite the loaded filing as one of xbrlkit's projections into {export_dir} (the server's --out-dir) and return the path: `clawdog` (ClawDog JSON-LD), `holon` (RDF / JSON-LD, opens in the RoboSystems holon viewer), `tavi` (the Project TAVI compiled model, JSON), `oim` (xBRL-JSON), `lpg` (the property graph as a LadybugDB database, the one to query; needs the lpg extra), `icebug` (experimental: the same graph as an icebug-disk directory any LadybugDB reads in place; portable, but slow for multi-relationship queries on a large stack; needs pyarrow), or `model` (the parse itself as JSON — load_filing reloads it without Arelle). For `lpg` and `icebug`, `filings` stacks several loaded filings into one graph: what they share (the entity, periods, units, labels) is stored once and every fact stays on its own report.
fact_gridValues for one or more concepts across the filing's periods. By default the consolidated total per concept and period (facts with no dimensional qualifier), keeping the most precise of duplicate tags, newest period first. `period_end` (YYYY-MM-DD or YYYY) narrows the periods; `period_type` takes instant or duration (and, under the product profile, annual / quarterly buckets). Set include_dimensions, or name an axis / member (substring match), for segment and member breakdowns. Concepts may be qnames or bare names (`Revenues`).
information_blockOne information block read whole — a primary statement, the cover page, or any details table: rows in the filing's order with the consolidated value per period, the same rows broken out by the block's own axes (a segment table's segments, a maturity table's years), its calculation arcs with a footing check per period, and its tagged text blocks with the offset read_text pages from. THIS IS THE EXPENSIVE CALL: a details table with many members runs 15,000–30,000 characters. Call disclosures first for the family index, and narrow this one with `member` or `periods` when part of the block answers the question. `block` is an id from disclosures or describe_filing, a name or part of one, or a role URI. A `truncated` response continues from its `next_offset` as `offset`.
list_filingsThe filings this server has loaded, with their ids.
load_filingLoad a filing into the server and return a receipt — the entity, the form and fiscal context, and the fact counts. The layout is describe_filing's job: call it next for the period keys, the networks and the text sections. `source` is a local path (an inline XBRL .htm, an XBRL instance .xml, a filing directory, a .zip or .xbri package, or a JSON report: a ClawDog report, a TAVI compiled model, a holon, or a model.json written by export_filing), an http(s) URL — an XBRL document Arelle can load, or a JSON report published as an artifact — an EDGAR `cik:accession` (e.g. `1045810:0001045810-26-000021`), a ticker with an optional form (`NVDA`, `NVDA 10-Q`) for the latest filing of that form, or — outside the SEC — `lei:<LEI>` for that filer's latest filing on filings.xbrl.org, or one of that index's filing ids (e.g. `213800H2PQMIF3OVZY47-2022-03-31-ESEF-GB-0`). Any XBRL taxonomy loads: US GAAP, IFRS, ESEF, ACFR. A zip or directory with no report loads as a taxonomy; the receipt names the entry point, and `entry_point` picks another. Takes seconds to a minute; the taxonomy cache makes repeat loads fast, and a JSON report loads at once, with no Arelle and no taxonomy fetch.
read_documentRead up to {tools.MAX_READ} characters of one of the filing's other documents, from a character offset — the name comes from `documents`. An XML document (a 13F's holdings) comes back as its record tables rendered to text. Returns the next offset when more follows.
read_textRead up to {read_cap} characters of {text_scope}, from a character offset (from search_text, or a section offset in describe_filing). Returns the text and the next offset when more follows.
recordsThe record tables of an XML filing — a Form 4's transactions and holdings, a 13F's positions — as rows, with the document's header fields beside them. A 13F's positions are filed in its INFORMATION TABLE, not the cover page; records fetches that document and returns its `infoTable` first. Omit `table` for every table; describe_filing's `sections.records` lists the primary document's tables.
resolve_elementFind the XBRL concepts a filing reports for a phrase: 'revenue', 'lease liability', 'us-gaap:Assets'. Matches qnames, names and labels, ranked; each match carries its label, type, period type, balance, how many facts the filing reports for it, and the networks it appears in. Use the returned qnames in fact_grid and calculation.
run_cypherRun one read-only Cypher query over a property graph export_filing wrote (one filing or several stacked) and return the rows, at most 200. Query an lpg export; an icebug tree is experimental, and on one a pattern should join one relationship per MATCH, chained with WITH. `graph` names it (the `graph` export_filing returned); omit it for the newest. Start with `CALL show_tables() RETURN *` for the tables. Name the type of every relationship — -[:FACT_HAS_ELEMENT]-> — and end with a LIMIT; a query runs for 60 s at most.
search_filingsFind filings ACROSS EDGAR by phrase, form, date and filer — the discovery step before load_filing. `text_query` searches the filing documents themselves (quote a phrase for an exact match: '"material weakness in internal control"'), `forms` narrows by type (['10-K', '8-K']), `start_date` / `end_date` are YYYY-MM-DD, `ciks` restricts to given filers. Returns a page of hits and the total that matched; each hit's `source` is the `cik:accession` load_filing takes, so a result reads directly. EDGAR's full-text index begins in 2001 — an earlier date range finds nothing, however the filing reads. This is the corpus-wide search; `search_text` searches inside one loaded filing.
search_textCase-insensitive regular-expression search over {text_scope}. Returns up to max_hits matches (max 25), each with its character offset and a window of text centred on it (default 300 characters, max 1500), plus the total match count. Follow up with read_text at an offset.
statementRender one presentation network as a table: rows in the filing's own order with depth, label and the consolidated value per period column. `statement` is a network id, name (or part of one) or role URI from describe_filing; under the product profile a kind also works (balance_sheet, income_statement, cash_flow_statement, equity_statement, or a phrase like 'balance sheet'). `periods` limits the columns to those keys, end dates, or years; otherwise the most recent eight. A `truncated` response continues from its `next_offset` as `offset`.
unload_filingDrop a loaded filing from the server (its id from list_filings). Load another with load_filing; nothing else changes.
view_filingOpen a loaded filing in the browser-based report viewer and return the link. The document is serialized and served from an unguessable path on this machine's loopback interface, readable only by the viewer's own origin, for as long as this server runs. Give the returned `viewer_url` to the user; it renders the statements, notes and cover as a report.

Security checks

6 checks have not been run yet.

Releases

v0.21.3Release v0.21.3 · 15 Oct 2026xbrlkit v0.21.3 Summary Maintenance release that modernizes the supported Python matrix: `xbrlkit` now targets Python 3.12–3.14, with 3.12 as the new minimum supported version. No functional library changes are included. Key Changes Python…
v0.21.2Release v0.21.2 · 15 Oct 2026xbrlkit v0.21.2 Maintenance release. This is a CI/CD infrastructure update with no changes to library functionality — publishing now happens directly within the release workflow instead of via a separate release-branch push trigger. No…
v0.21.1Release v0.21.1 · 14 Oct 2026xbrlkit v0.21.1 A patch release that enhances TAVI serialization by automatically generating the draft's group tree from the source filing's section titles, improving structural fidelity when round-tripping filings. No breaking changes —…
v0.21.0Release v0.21.0 · 14 Oct 2026xbrlkit v0.21.0 This release enhances TAVI serialization with fact location metadata, emitting the draft's fact location alongside a QName set describing where a fact sits in the broader document structure. Documentation also gains a…
v0.20.9Release v0.20.9 · 4 Oct 2026xbrlkit v0.20.9 Summary This release improves 8-K handling in the MCP serve layer, so filings are read alongside their EX-99 exhibits, and fixes table extraction so values stay aligned with their source columns. Key Features & Improvements…
Questions

About Xbrlkit

How do I install Xbrlkit?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Xbrlkit safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Xbrlkit still maintained?

Yes — the latest release is v0.21.3 (15 Oct 2026), and the last commit was 16 hours ago. The repository has 1 stars.

What tools does Xbrlkit provide?

Conduid read 19 tools from the source: calculation, describe_filing, disclosures, documents, export_filing, fact_grid, information_block, list_filings and 11 more.