# Comptroller Desk > Free public library of resource management source documents (law, regulation, Comptroller General decisions, policy, doctrine and budget publications) for government leaders and resource managers. 2,309 documents, 65,553 pages, 19 collections. Read-only; no account needed. Independent reference, not an official DoD, Department of the Navy or Marine Corps website. ## Connect an AI assistant (MCP) - MCP server: https://comptrollerdesk.com/mcp (Streamable HTTP, no sign-in, read-only tools: search, fetch, get_page, list_collections, get_document, get_appropriation) - Claude (Pro and Max): account menu (bottom left) > Settings > Connectors > Add > Add custom connector. Enter the name Comptroller Desk and the URL above, select Continue; under Authentication "No sign-in" is detected and already selected; scroll down, select Add, then Connect. Optional: set Read-only tools to Always allow so Claude does not ask before each search. Team and Enterprise: an Owner adds it in Organization settings > Connectors > Add > Custom > Web. Free plans can add one custom connector. - ChatGPT: open ChatGPT Plugins (https://chatgpt.com/plugins), select the plus button, then Add custom MCP server. Enter a name, the URL above as the Server URL, and "No authentication"; accept the risk warning ("I understand and want to continue") and select Create as a plugin. If the option is missing, check your plan and workspace settings; some accounts need Developer mode turned on first. ## Files and endpoints - Catalog: https://comptrollerdesk.com/catalog.json, https://comptrollerdesk.com/catalog.jsonl, https://comptrollerdesk.com/catalog.csv (one record per document) - Search: https://comptrollerdesk.com/api/search?q=terms (optional collection, issuer, from, to, sort, offset, limit) - Collections: https://comptrollerdesk.com/api/collections - Document record (JSON): https://comptrollerdesk.com/api/documents/{id} - Document page (HTML): https://comptrollerdesk.com/docs/{id} - Original file: https://comptrollerdesk.com/docs/{id}/file (or the exact file_url, /docs/{id}/file.pdf or file.xlsx) - Full extracted text: text_url, https://comptrollerdesk.com/docs/{id}/text.txt, with "=== page N ===" markers - One page of text: https://comptrollerdesk.com/docs/{id}/pages/{n}.txt - Appropriation cheat sheet (HTML): https://comptrollerdesk.com/appropriations (search by Treasury code or name; every line cites its source page) - Appropriation cheat sheet (JSON): https://comptrollerdesk.com/api/appropriations?q=code-or-name, one entry: https://comptrollerdesk.com/api/appropriations/{treasury code}, e.g. /api/appropriations/17%201106. Entries exactly as the library publishes them, with citations (document id, PDF page, exact quote) and a link for each. - API description: https://comptrollerdesk.com/openapi.json - Sitemap: https://comptrollerdesk.com/sitemap.xml ## Field values - document_date is YYYY-MM-DD, YYYY-MM or YYYY when the document states only a month or year, or "undated" when no single date is printed. Date filters (from, to) accept the same three forms; a partial date matches when any day it covers is in range; undated documents are left out of date-filtered results and sort last in newest-first order. - official_url is the issuer's own address, or "unrecorded" when none is recorded. "unrecorded" is not a link. - link_only true means the document is not hosted here (for example, the issuer's copy carries a handling marking): no file, no text; follow official_url. - superseded_by and supersedes are set only when the issuer states it; status_source cites where. ## Search and ranking Results are page hits. Exact citation matches come first: U.S. Code sections, public laws, issuance numbers (DoDI, CJCSI, AR and others), FMR volume and chapter, Treasury account codes, SAG codes and document numbers or ids. Then full-text matches (Postgres full-text search) and meaning matches (gte-small sentence embeddings) are merged by reciprocal rank fusion, with ties going to the newer document date, then id and page. Link-only records, which have no text, match on their catalog fields. If meaning search is unavailable the search runs on citation and full-text matching only and says so: "meta.note" in /api/search, "note" in the MCP search result. sort=title or sort=date gives other orders. Same query, same results for everyone. No source is ranked by authority, there are no source-type or issuer boosts, and no sources are combined into answers. The human search page may show a labeled AI pointer (a suggested reading order); it is never part of /api, the catalog files or the MCP server. ## Citing Cite title, number (if any), issuer, document date, page and URL. The page number is the PDF page position, which matches the "=== page N ===" marker. Text is machine-extracted (OCR where needed) and may omit content; the original file governs. Verify before relying on a citation. ## Limits - Queries: 200 characters, 12 terms. Page size: up to 100 (/api/search) or 50 (MCP search). Offset: up to 10000 (API) or 1000 (MCP). - Rate limits per client address: /api/* and /mcp return 429 with Retry-After when exceeded. Catalog files, page text and original files are served from the CDN cache. - Responses carry ETag and Last-Modified; send If-None-Match or If-Modified-Since to revalidate. ## Policies - Privacy: https://comptrollerdesk.com/privacy - Terms: https://comptrollerdesk.com/terms - Support: https://comptrollerdesk.com/support (tim@comptrollerdesk.com)