Canli Fundamentals

v0.10.0
io.github.arhancanli/canli-fundamentals-mcp Checked 1 day ago Published 23 days ago

SEC fundamentals point in time: first reported, known as of a date, every restatement.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

known_as_of Known as of a date

Get what a company had reported as of a date: per measure, the latest period filed by then and its value (changed_after: true adds whether a filing after the date changed it); optionally ratios from those filings. For point-in-time backtests.

ParameterTypeDescription
as_of *stringDecision date: only filings on or before it count.
company *stringTicker (AAPL), CIK or company name.
changed_afterboolean
conceptsarrayDefault: ten common measures.
periodsstringannual (default) or quarterly.
ratiosbooleanAdds margins, ROE, ROA, leverage, free cash flow.

history Measure history

Get a measure (or several, with concepts) over time, newest first: latest (default), first reported, or as known on a filing date, with its filing, other version and yearly change.

ParameterTypeDescription
company *stringTicker (AAPL), CIK or company name.
as_ofstringA filing date, not a period end: only filings made by then count.
basisstringlatest (default), first_reported, or as_of (default with as_of).
conceptstringPlain name (revenue, eps_diluted, assets; follows tag changes) or XBRL tag (Revenues).
conceptsarrayInstead of concept: 2-6 measures.
limitintegerDefault 20, newest first.
periodsstringannual (default), quarterly, or all (adds year-to-date).
unitstringDefault: the unit with most periods.

restatements Restated periods

List periods whose value changed in a later filing, with first and latest values, % change and cause (stock splits left out by default). Omit concept to scan everything.

ParameterTypeDescription
company *stringTicker (AAPL), CIK or company name.
conceptstringDefault: every concept.
include_splitsbooleanAlso list stock-split changes; default false.
limitintegerDefault 25, newest first.
min_change_pctnumberMinimum absolute change, % of first value.
offsetintegernext_offset from the last page.
periodsstringannual (default), quarterly, or all (adds year-to-date).
sincestringOnly periods ending on or after.

vintage_diff History as known on two dates

A company's history as known on two dates: each period whose value changed between them, with the filing that changed it, and how many periods were first reported in between.

ParameterTypeDescription
company *stringTicker (AAPL), CIK or company name.
from *stringValues as known on this date.
conceptstringDefault: every concept.
limitintegerDefault 25.
offsetintegernext_offset from the last page.
periodsstringannual (default), quarterly, or all (adds year-to-date).
tostringDefault today.

vintages Filing vintages

List every filing that reported one period of one measure, oldest first: the revision history behind a number.

ParameterTypeDescription
company *stringTicker (AAPL), CIK or company name.
concept *stringPlain name (revenue, eps_diluted, assets; follows tag changes) or XBRL tag (Revenues).
end *stringPeriod end.
startstringPeriod start, when several periods share the end (quarter vs year-to-date).
unitstringDefault: the unit with most periods.

list_concepts List concepts

List the XBRL concepts a company reports and the plain names it supports, with units, periods, date range and restated-period counts.

ParameterTypeDescription
company *stringTicker (AAPL), CIK or company name.
limitintegerDefault 40.
offsetintegernext_offset from the last page.
searchstringWords in concept names or labels, e.g. revenue.

find_company Find a company

Find a company's SEC CIK and tickers by name, ticker or CIK. The other tools also take a name as company.

ParameterTypeDescription
query *stringName (Exxon Mobil), ticker or CIK.
limitintegerDefault 8.

cross_section Cross-section as of a date

Get one measure for up to 50 companies as filed by a date: each one's latest period and its value then (changed_after: true adds whether a filing after the date changed it). For point-in-time peer and factor work.

ParameterTypeDescription
as_of *stringOnly filings on or before it count.
companies *arrayTickers, CIKs or names.
concept *stringPlain name (revenue, eps_diluted, assets; follows tag changes) or XBRL tag (Revenues).
changed_afterboolean
periodsstringannual (default) or quarterly.