Codal (کدال) Disclosures

v0.2.3
io.github.sepehr071/codal-mcp Checked 2 days ago Published 15 days ago

Read-only codal.ir: search disclosures of Iranian listed companies, read letters and statements.

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

cd_search_letters Search Codal disclosures

Search codal.ir disclosures (letters) of Iranian listed companies, newest first, 20 per page. No filters lists the newest letters of all companies. `total` = matches, `pages` = page count. Pass a letter's `tracing_no` to cd_letter to read it. No results: check the symbol with cd_company or widen filters.

ParameterTypeDescription
categoryLetter group: 1 financial statements, dividend schedules; 2 material info, clarifications; 3 monthly activity, portfolios; 4 articles, prospectuses; 5 board, audit committee; 6 shareholder meetings; 7…
from_dateSent on/after this Jalali date, e.g. 1405/07/01.
letter_typeLetter type id from cd_letter_types, e.g. 6 financial statements, 58 monthly activity, 20 AGM decisions, 30 dividend schedule.
pageintegerResult page (20 letters).
period_monthsReport period in months: 12 annual, 6 half-year, 3 quarterly, 1 monthly.
symbolExact Persian trading symbol, e.g. فولاد (find with cd_company).
titlePersian words in the letter title, e.g. افزایش سرمایه.
to_dateSent on/before this Jalali date.
tracing_noTracing number (شماره پیگیری) of one letter.

cd_letter Read one Codal letter

Read one codal.ir letter: its text or tables, plus links to its page, PDF, Excel and attachments. Structured reports come back as `tables` (one line per row, cells joined by ' | ', usually million Rial; see `unit_note`), one sheet at a time: `sheets` lists them, call again with `sheet` for another. Other letters give `text`. `attachments` are the company's files. Cut at 16,000 characters (`truncated`); the PDF has all.

ParameterTypeDescription
tracing_no *integerTracing number (شماره پیگیری) from cd_search_letters.
sheetSheet id from the `sheets` list of a previous call; omit for the first sheet.

cd_company Find a company on Codal

Find companies and funds on codal.ir by symbol or name, with their market, industry and type. Use it to get the exact `symbol` for cd_search_letters and cd_financial_years. Exact matches first, then prefix, then name contains; listed before unlisted. `matched` is the total number of hits.

ParameterTypeDescription
query *stringPersian symbol or part of the name, e.g. فولاد.
limitintegerMax companies.

cd_letter_types List Codal letter types

List codal.ir letter groups, or the letter types of one group with the ids cd_search_letters takes. No argument: the 11 groups. With `category`: its types; use a type `id` as `letter_type` in cd_search_letters.

ParameterTypeDescription
categoryGroup code to list its letter types; omit to list the groups.

cd_financial_years Fiscal years of a company

List the fiscal year-end dates codal.ir knows for one company, newest first (Jalali). Use it before searching annual statements with cd_search_letters (period_months 12). An empty list usually means a wrong symbol: check cd_company.

ParameterTypeDescription
symbol *stringExact Persian trading symbol, e.g. فولاد.