NYC Budget

v2.1.0
io.github.BetaNYC/nyc-budget-mcp Checked 6 hours ago Published 11 days ago

NYC budget data: Council awards and capital, City agency budgets, OMB capital plan, and CPDB

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

search_disclosure_awards Search Council disclosure awards

Search the NYC Council's expense funding disclosure — the Council's own award-level list of discretionary expense designations, FY2009 and FY2011–FY2027 (FY2010 is NOT included: the Council's archived workbook for it is incomplete against NYC Open Data, so it is left out). One row per published row (exact copies are kept and flagged), with clearance status, funding stream, agency and the grantee's mailing address; MOCS ID from FY2024, and for FY2009–FY2021 the MOCS ID NYC Open Data gives the same designation (od_mocs_id) where the pairing is unambiguous. FY2009 and FY2013 are EARLY SNAPS…

ParameterTypeDescription
agencystringCity agency (substring), e.g. DYCD
citystringGrantee mailing city, exact match ignoring case and surrounding whitespace, as printed: 'brooklyn' matches 'Brooklyn' and 'BROOKLYN', but not the cells printed 'Brooklyn,' or 'Brooklyn NY', and 'Bronx…
council_memberstringCouncil member as the workbook names them (case-insensitive substring; 'Levin' also matches 'Levine', and the answer lists every value matched with its Legistar person ID) — the roster at export tim…
council_member_idstringExact Legistar person ID of the council member (e.g. '7567' Stephen T. Levin, '7634' Mark Levine), as resolved per fiscal year by the repo's member crosswalk from the Council MCP's Legistar index. Row…
einstringGrantee tax ID: exactly 9 digits, hyphens optional (anything else is an error, never padded). Matches the grantee EIN only, not the fiscal conduit's. One EIN can cover many bodies (136400434 is the Ci…
fiscal_yearnumberFY2009 or FY2011–FY2027. FY2010 is not in the dataset; asking for it returns the reason.
legal_namestringGrantee legal name (substring, case-insensitive; % and _ are literal)
limitnumberMax rows shown, 1–500 (default 50; above 500 is capped at 500, below 1 is an error). Totals always cover every match.
max_amountnumberMaximum designation amount, dollars (inclusive)
min_amountnumberMinimum designation amount, dollars (inclusive)
mocs_idstringThe workbook's own MOCS ID, exact (case and surrounding whitespace ignored), e.g. 'FY26 01234'. Printed from FY2024 only.
od_mocs_idstringNYC Open Data 4d7f-74pe's MOCS ID for the same designation, exact (case and surrounding whitespace ignored), e.g. 'FY09 2838'. FY2009–FY2021 only, and only where the pairing is unambiguous. A cross-…
program_namestringProgram name (substring)
sourcestringFunding stream as the workbook names it (case-insensitive substring; 'Youth' also matches initiatives such as 'Summer Youth Employment Program', and the answer lists every value matched): Local, Youth…
source_exactstringFunding stream, exact: equal to the workbook's value ignoring case and surrounding whitespace ('Youth' matches the Youth stream only).
statusstringRestrict to one clearance status. Omit for all (the default; totals are still reported per status).
whole_wordbooleanSets how name and prose filters match: true, whole words only ('AI' not in 'Jamaica', 'Fellow' not in 'Fellowship'); false, anywhere ('AI' in 'AIDS'). Omit for the default: a term of 3 or fewer letter…
zipstringGrantee mailing ZIP, exactly 5 digits (anything else is an error). Matches the 5-digit zip derived from the published postal_code (ZIP+4 read to its first five; a 4-digit ZIP padded, a ragged ZIP+4 tr…
zip_statusstringBetaNYC's ZIP check, not a Council field: the printed ZIP against the Census 2020 ZCTAs, not the street. valid (a ZCTA in the row's state; a ZIP wrong for the street passes), padded (leading zero rest…

search_council_capital Search Council capital designations

Search the NYC Council's capital designations (Council-funded capital projects), FY2015–FY2027. FY2015–FY2017, FY2026 and FY2027 come from the Council's own capital workbooks, FY2019–FY2025 from NYC Open Data t474-a92g, which the Council publishes, and FY2018, which neither has, from Part I of the checked capital supporting-detail book (§254), labeled PDF-derived on every row (no council district printed); each answer names the file, retrieval date and sha256 of every year it draws on. One row per (record, fiscal-year amount): a list's own-year amount and any out-year amounts are separa…

ParameterTypeDescription
amount_fynumberThe fiscal year an amount is for: the list's own year or an out-year (e.g. fiscal_year 2027 with amount_fy 2028 gives FY2027's out-year amounts).
boroughstringBorough code exactly as printed (case-sensitive): K Brooklyn, M Manhattan, Q Queens, R Staten Island, X Bronx, C citywide. 'A' (meaning unconfirmed) and FY2016's lower-case 'k' and 'x' are kept as pri…
budget_linestringBudget line, exact, as agency code then line, separated by a space or '-' ('P D018', 'PW-DN846', 'hl dn164'). A value without the separator ('PD018') is refused, because where the agency code ends can…
council_districtnumberOne council district or code, 0–99 (0 Speaker, 88–98 caucuses and delegations, 99 Technical Adjustments): matches a row whose printed district list contains it. Council-workbook years only (FY2015…
descriptionstringProject description (substring, case-insensitive; % and _ literal).
fiscal_yearnumberThe Council capital list's fiscal year (report year): FY2015–FY2027. FY2018 is PDF-derived (the checked §254 book; no council district).
limitnumberMax rows shown, 1–500 (default 50; above 500 is capped at 500, below 1 is an error). Totals always cover every match.
max_amountnumberMaximum amount, dollars (inclusive)
min_amountnumberMinimum amount, dollars (inclusive)
project_idstringThe Council's project ID, exact, ignoring case and runs of spaces ('E CN459' = 'e cn459'). Unique within one year only; not an FMS or Checkbook ID. FY2015 prints none.
sponsorstringSponsor as printed (case-insensitive substring; % and _ literal): a member's surname, 'Speaker', a delegation or caucus, 'Technical Adjustments'. The answer lists every value matched. No Legistar ID i…
sponsor_exactstringSponsor, exact, ignoring case and surrounding whitespace ('Rivera' matches 'Rivera' only, not 'De La Rosa-Rivera').
titlestringProject title (substring, case-insensitive; % and _ literal). In many FY2019 rows the title names the organization.
whole_wordbooleanSets how name and prose filters match: true, whole words only ('AI' not in 'Jamaica', 'Fellow' not in 'Fellowship'); false, anywhere ('AI' in 'AIDS'). Omit for the default: a term of 3 or fewer letter…

compare_capital_to_omb Compare Council capital to OMB

Compare the Council capital list with OMB's adopted Capital Budget (NYC Open Data 46m8-77gv), by budget line, FY2019–FY2027: for each report year and Council-series budget line, the Council's total and OMB's adopted total for that year and the next, and a verdict (match, differ, council_only, omb_only). This is BetaNYC's arithmetic, not a Council or OMB reconciliation; 'match' is about the line's totals, not its projects. Filter by report_year, budget_line (exact) and verdict. Lines that disagree come first.

ParameterTypeDescription
budget_linestringBudget line, exact, as agency code then line ('P D018')
limitnumberMax lines shown, 1–500 (default 50). Counts always cover every match.
report_yearnumberFY2019–FY2027
verdictstringmatch (both years equal to the dollar), differ, council_only (no OMB line), omb_only (no Council row)

search_capital_plan Search OMB's capital commitment plan

When is a capital budget line's money planned to be committed, and how has that plan moved? For one budget line: OMB's Capital Commitment Plan (NYC Open Data 2cmn-uidm, 32 releases from 2016-04-26; in thousands of dollars, as OMB publishes it), the chosen release (default the newest) and every release's figures for the line; DCP's Capital Projects Database (CPDB, djxg-kcfi) planned commitments on the line by fiscal year and by project, in dollars; each project's CPDB totals (fi59-268w: planned, adopted, allocated, committed, spent, and Checkbook NYC checks), always the WHOLE project's, across…

ParameterTypeDescription
budget_linestringBudget line, as agency code then line ('P D018', 'HD-0201'). Required unless project_id is given.
fundingstringOMB's funding: CITY or NON CITY (default both, shown apart)
limitnumberMax CPDB projects shown for the line, 1–500 (default 25, largest planned total first). Line totals always cover every project.
project_idstringA CPDB project: DCP's maprojid, the managing agency's three digits then the project ID ('850GKOH15-01'), any case.
releasestringA plan release, YYYY-MM-DD (default the newest, 2026-09-28). Every release with the line is listed in the answer either way.

search_schedule_c_awards Search the Council's Schedule C awards

Search the adopted budget's Schedule C (the Council's discretionary awards as printed in the budget PDF: the body and appendices A, B and C), FY2018–FY2027, from the checked tables BetaNYC reads from the PDFs. Every row is labeled "checked, review in progress" or "checked and reviewed", with its flags, review decision and note where decided, three links (the row highlighted on its page in the explorer, the PDF on GitHub at the build's commit, the publisher's copy where known), and disclosure_status: whether the same EIN and amount is in the Council's disclosure spreadsheet (search_disclosure…

ParameterTypeDescription
agencystringAgency as printed (substring), e.g. 'DYCD'
categorystringCategory heading (substring), e.g. 'Older Adult Services'
council_member_idstringExact Legistar person ID of a council member (digits only, e.g. '7567' Stephen T. Levin, '7634' Mark Levine), matched on the row's printed member column (not sponsor or delegation) as resolved for its…
disclosure_statusstringcleared or pending: paired with a row of that status in the disclosure spreadsheet by EIN and amount; unmatched: not found there
einstringEIN, exactly 9 digits, hyphens optional. Matches the organization's EIN or its fiscal conduit's (the group that receives the money for it), as the explorer does
fiscal_yearnumberFY2018–FY2027. Earlier years were read only by the old parser and are not served.
initiativestringInitiative (substring)
limitnumberMax rows shown, 1–500 (default 50; above 500 is capped at 500, below 1 is an error). Totals always cover every match.
max_amountnumberMaximum amount, dollars (inclusive)
memberstringCouncil member, sponsor or delegation as printed (substring), e.g. 'Brewer', 'Speaker', 'Queens Delegation'. A surname is not a person ('Levin' also matches 'Levine'; 'Williams' is two people in diffe…
min_amountnumberMinimum amount, dollars (inclusive)
organizationstringOrganization as printed (case- and accent-insensitive substring; % and _ literal)
purposestringPrinted purpose of funds (substring)
whole_wordbooleanSets how name and prose filters match: true, whole words only ('AI' not in 'Jamaica', 'Fellow' not in 'Fellowship'); false, anywhere ('AI' in 'AIDS'). Omit for the default: a term of 3 or fewer letter…

search_transparency_changes Search transparency resolution changes

Search the Council's transparency resolutions, FY2018–FY2027: the changes made to the adopted budget's designations after adoption (new designations, rescissions, purpose-of-funds changes), from the checked tables BetaNYC reads from the resolution PDFs. Each row gives the resolution number and date, the chart, the budget year it changes, the organization, EIN, member, agency and amount as printed, with its status label ("checked, review in progress" or "checked and reviewed"), flags, review decision where decided, any hidden text (text in the PDF a reader cannot see on the page, always label…

ParameterTypeDescription
actionstringdesignate, rescind, purpose_from / purpose_to (a purpose-of-funds change), listed (a chart with no dollar amount)
budget_fiscal_yearnumberThe budget year a row's chart changes (a year's resolutions can change another year's budget)
council_member_idstringExact Legistar person ID of a council member (digits only, e.g. '7567' Stephen T. Levin, '7634' Mark Levine), matched on the row's printed member as resolved for its fiscal year by the repo's member c…
date_fromstringResolutions dated on or after, YYYY-MM-DD
date_tostringResolutions dated on or before, YYYY-MM-DD
einstringEIN, exactly 9 digits, hyphens optional. Matches the organization's EIN or its fiscal conduit's
fiscal_yearnumberThe fiscal year whose resolutions to search, FY2018–FY2027
limitnumberMax rows shown, 1–500 (default 50; above 500 is capped at 500, below 1 is an error). Totals always cover every match.
memberstringCouncil member as printed (substring). A surname is not a person ('Levin' also matches 'Levine'; 'Williams' is two people in different years): the answer lists every printed name and person it matched…
organizationstringOrganization as printed (substring)
resolution_datestringResolution date, exactly, YYYY-MM-DD
resolution_numberstringResolution number (substring, always: an identifier, so whole_word and the short-term rule do not apply; '101' finds '1013-2025'), e.g. 'Res 1013-2025' or '1013-2025'
whole_wordbooleanSets how name and prose filters match: true, whole words only ('AI' not in 'Jamaica', 'Fellow' not in 'Fellowship'); false, anywhere ('AI' in 'AIDS'). Omit for the default: a term of 3 or fewer letter…

search_capital_book Search the capital book (§254)

Search the capital budget's §254 supporting detail (the "capital book": OMB's list of the Council's changes to the executive capital budget, Parts I and II), FY2018–FY2020 and FY2022–FY2027, from the checked tables BetaNYC reads from the PDFs. Each project row gives its ID, budget line, borough, agency, title, sponsor and the four printed year amounts as printed, with its status label, flags, review decision where decided, and three links. Filter by fiscal_year, project_id (substring: 'CC0001' finds 'HO CC0001'), budget_line (exact, e.g. 'P D018'), sponsor, borough (code), agency, title (…

ParameterTypeDescription
agencystringAgency name as printed (substring), e.g. 'PARKS'
boroughstringBorough code as printed, any case: K, M, Q, R, X; 'A' and 'C' also match the rows that print them (not boroughs, meaning unclear; issue #227)
budget_linestringBudget line, exact, agency code then line ('P D018', 'PW-DN846')
fiscal_yearnumberThe book's fiscal year: FY2018–FY2020 or FY2022–FY2027 (FY2021 is not checked yet)
limitnumberMax rows shown, 1–500 (default 50; above 500 is capped at 500, below 1 is an error). Totals always cover every match.
max_amountnumberMaximum amount in the book's own year column, dollars (inclusive)
min_amountnumberMinimum amount in the book's own year column, dollars (inclusive; reductions are negative)
partstringThe book's part: I, the projects (the total), or II, the non-city groups' list
project_idstringProject ID as the book prints it (substring, case-insensitive, always: an identifier, so whole_word and the short-term rule do not apply; 'CC1' finds 'AG CC1053'): 'HO CC0001', or 'CC0001' without the…
sponsorstringSponsor as printed (substring), e.g. 'Speaker', 'Avilés'. 'CD 22' is a district with no member
titlestringProject title, or FY2019's description (substring)
whole_wordbooleanSets how name and prose filters match: true, whole words only ('AI' not in 'Jamaica', 'Fellow' not in 'Fellowship'); false, anywhere ('AI' in 'AIDS'). Omit for the default: a term of 3 or fewer letter…

search_terms_conditions Search Terms and Conditions

Search the adopted budget's Terms and Conditions (the conditions the Council attaches to agencies' appropriations, with the reports they require), FY2018 and FY2021–FY2027, from the checked tables BetaNYC reads from the PDFs. Each item gives its number in the book, pages, agency, units of appropriation, budget lines, report deadlines and the condition's text as printed, with its status label, flags, review decision where decided, and three links. Filter by fiscal_year, agency (name or code, substring), unit (a unit of appropriation as printed, e.g. '001', or the start of a budget line), text…

ParameterTypeDescription
agencystringAgency name or code (substring), e.g. 'Correction' or '072'
fiscal_yearnumberFY2018 or FY2021–FY2027
limitnumberMax items shown, 1–100 (default 20). Counts always cover every match.
textstringWords in the condition's text or heading (substring)
unitstringUnit of appropriation as printed ('001', 'All'), or the start of a budget line ('HD-0009')
whole_wordbooleanSets how name and prose filters match: true, whole words only ('AI' not in 'Jamaica', 'Fellow' not in 'Fellowship'); false, anywhere ('AI' in 'AIDS'). Omit for the default: a term of 3 or fewer letter…

search_agency_budget Search City agency budgets

City agency budgets: what the City budgeted for each agency and unit of appropriation, adopted and modified, FY2017 to the newest adopted year, from NYC Open Data's Expense Budget (mwzb-yiwb, OMB). Adopted is the budget adopted in June for that fiscal year; modified is the same budget a year later, from the next June's release (the newest year's modified is not yet published). Amounts are gross: they include intra-city transfers, so they add up to more than OMB's headline net budget. agency takes an agency number ('056', '56') or words from its name ('police'); unit takes a unit of appropriati…

ParameterTypeDescription
agencystringAgency number ('056' or '56') or words from the agency's name ('police', 'community board #1')
fiscal_yearnumberFY2017 to the newest adopted year (default: the newest)
limitnumberMax agencies or units listed, 1–500 (default 50). Totals always cover every match.
unitstringUnit of appropriation number ('001') or words from its name ('operations')

compare_adopted_modified Compare adopted and modified budgets

For one City agency or unit of appropriation and one fiscal year: the adopted budget, the modified budget a year later, and the change in dollars and percent, from NYC Open Data's Expense Budget (mwzb-yiwb). agency or unit is required (a number or words from the name). Gross amounts (include intra-city transfers). The newest year's modified budget is not yet published, so there is no change to report for it. Budget, not spending: for what the City spent, use @betanyc/nyc-checkbook-mcp.

ParameterTypeDescription
fiscal_year *numberFY2017 to the newest adopted year
agencystringAgency number ('056' or '56') or words from the agency's name
unitstringUnit of appropriation number ('001') or words from its name

list_available_fiscal_years Fiscal years and sources available

Report, for every fiscal year, which structured datasets this server holds and where each came from: the expense funding disclosure (loaded or not, Council RnD download or Internet Archive capture, retrieval date, early-snapshot flag), the Council capital list (Council workbook or NYC Open Data t474-a92g), and whether the year is in the Council-vs-OMB comparison. Also reports each family-year of the checked PDF tables (Schedule C, transparency resolutions, the capital book, Terms and Conditions) with its status, and whether the optional PDF tables download is installed. Also reports the City a…

whats_changed What's changed

What has changed in this server, its data and its website, newest first, from the project's WHATS-CHANGED.md: new tools and pages, new data, data fixes, and corrections when BetaNYC published something wrong. Each correction says what to re-check if you used the old numbers. Call this before relying on a figure you got from this server earlier, or when a user asks whether something was fixed. Filter with since (YYYY-MM-DD; also keeps older entries that have an update on or after that date) and tag (Site, Data, MCP or Correction).

ParameterTypeDescription
limitintegerMost entries to return (default 10, max 50)
sincestringOnly changes on or after this date, YYYY-MM-DD
tagstringOnly changes with this tag: Site, Data, MCP or Correction (any case; answers use these spellings). Correction lists every correction.

about_betanyc About BetaNYC and this server

Who built this server and how to reach them: BetaNYC, a project of the Fund for the City of New York. Returns what BetaNYC is, links to its events, newsletter and donation page, where to report a bug in this server or ask for a new feature (this server's GitHub issues), and this server's name and version.

about_data Where this server's data comes from

Where this server's data comes from and how far to trust it. For each kind of data: who publishes it and a link, whether it is an official record (only data its publisher published and BetaNYC did not modify is; data BetaNYC modified or produced is not), how it was gathered, what BetaNYC did to it (for example cleaned it, matched it to addresses, joined it with other data, or counted it), how current it is on this server, what it covers and what is missing, the terms of use and the credit line to print, where to check a figure at the official record, where to report an error (to BetaNYC when B…

ParameterTypeDescription
topicstringOne kind of data (a source id), or a tool name for the data behind that tool. Any case. Default: all.