Edgrapi — US Government Data API
Server Details
US government data as clean JSON for AI agents: SAM.gov contract opportunities, USAspending awards, Grants.gov grants, House STOCK Act trades, and SEC EDGAR filings (Form 4 insider trades, 8-K events, 13F holdings, 13D/G stakes, XBRL fundamentals, 10-K/10-Q sections). 19 read-only tools. Data is as fresh as each source publishes; congressional trades lag up to 45 days and report dollar ranges (House only). Free tier, no card.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-06-18
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 23 tools
Most tools map cleanly to a distinct data source (13D/13G, 13F, Form 4, Form D, 8-K, lobbying, grants), but several pairs have genuinely fuzzy boundaries: get_company vs resolve_entity return largely the same identity fields, get_fundamentals vs get_xbrl both claim to return normalized statements, and get_form144 duplicates get_insider with form=144. Descriptions mitigate the confusion but an agent still has to guess which of the overlapping tool is canonical.
Every tool is snake_case and nearly all use a verb_noun pattern (get_insider, get_holdings, search_filings, resolve_entity). No camelCase or mixed-verb drift anywhere in the set.
23 tools is at the heavy end, and a handful are redundant rather than additive (get_company/resolve_entity, get_fundamentals/get_xbrl, get_form144 vs get_insider form=144). The broad domain (SEC filings + federal spending + lobbying + congress) justifies a large surface, but trimming the overlaps would leave a tighter set.
The surface is unusually deep: filings, documents, full-text search, fundamentals, ratios, shares, subsidiaries, insiders, holdings, activism, events, Forms D/144, congress, lobbying, awards, opportunities, grants, and entity resolution, with an explicit lifecycle (intent-to-sell → Form 4, solicitation → award). Gaps are minor but real: no way to look up 13F holders by stock (only by fund), Senate trades absent, and no price data (acknowledged as out of scope).
Available Tools
23 toolsget_activistGet 13D/13G >5% activist stakesARead-onlyIdempotentInspect
Schedule 13D/13G filings, the disclosure anyone crossing 5% of a company's voting stock must make. A 13D signals possible activist intent; a 13G is a passive large holder. Each record has the issuer, CUSIP, reporting person(s), and exact percent of class. Pass identifier='latest' for the market-wide feed of new >5% stakes, or a ticker for the stakes indexed on that company.
Inputs: identifier (required), limit, min_percent, activist_only.
get_awardsGet federal awards (USAspending)ARead-onlyIdempotentInspect
Federal spending awards from USAspending.gov — contracts, grants, loans, and direct payments — normalized into flat JSON. Each carries the award id, recipient, amount, awarding agency, type, dates, place of performance, description, and the usaspending.gov link. Pick one category per call; leave dates off for the last year. Pairs with get_opportunities: the SAM solicitation, then who won the awards here.
Inputs: end, page, limit, start, +5 more.
get_companyGet a company profileARead-onlyIdempotentInspect
CIK, legal name, SIC industry, fiscal-year end, exchanges and website for a ticker, resolved from SEC EDGAR submissions.
Inputs: ticker (required).
get_congressGet congressional stock trades (House STOCK Act)ARead-onlyIdempotentInspect
Congressional stock trades parsed from US House STOCK Act periodic transaction reports, normalized to flat JSON: member, state/district, ticker, buy or sell, the disclosed dollar range, transaction and disclosure dates, and a House disclosure PDF link. Pass a ticker for one stock, or omit it for the recent feed. House-only for now (Senate coming); amounts are ranges and disclosure lags the trade by up to 45 days.
Inputs: limit, action, ticker.
get_contract_awardsGet federal contracts by completion date (SAM.gov, recompete search)ARead-onlyIdempotentInspect
Federal contract awards from SAM.gov's Contract Awards API (the FPDS successor), filtered by ultimate completion date: the contracts that are ending, which is where recompetes come from. Defaults to contracts ending in the next 180 days. Rows are collapsed to the latest action per contract. Each carries the PIID, agency, office, awardee and UEI, NAICS, PSC, competition and set-aside, dates, and contract value. Defense awards appear 90 days after signing.
Inputs: piid, limit, naics, offset, +7 more.
get_eventsGet 8-K material eventsARead-onlyIdempotentInspect
8-K material events for a ticker as typed items (2.02 earnings, 5.02 executive change, 1.05 cybersecurity incident, 2.01 acquisition, etc.), each with a notable flag for the market-moving ones and a link to the filing. Pass item to filter to one event type (e.g. '4.02' for every restatement a company filed). Pass ticker='restatements' or 'auditor-changes' for the market-wide red-flag feed of recent item 4.02 / 4.01 8-Ks across all filers.
Inputs: ticker (required), days, item, limit, +1 more.
get_filing_documentGet an SEC filing document's textARead-onlyIdempotentInspect
The text of one SEC filing document, fetched from the EDGAR archive by accession number (get it from get_filings). Omit file for the primary document (the 10-K, 8-K, Form 4...), or pass an exhibit filename. HTML is converted to plain text and returned in pages of max_chars; call again with offset = next_offset for the rest. Text documents only (HTML, XML, TXT).
Inputs: accession (required), cik, file, offset, +1 more.
get_filingsGet recent SEC filingsBRead-onlyIdempotentInspect
Recent SEC filings for a ticker (10-K/10-Q/8-K) with filing/report dates and document links.
Inputs: ticker (required), form, limit.
get_form144Get Form 144 proposed insider salesARead-onlyIdempotentInspect
Form 144 notices for a ticker: an insider's declared intent to sell restricted or control stock, filed before the sale executes and later shows on a Form 4. Parsed: the seller, their relationship to the issuer, and each block (shares to be sold, aggregate market value, approximate sale date, exchange, broker).
Inputs: ticker (required), limit.
get_form_dGet Form D private placementsARead-onlyIdempotentInspect
Parsed Form D notices — the filing a company makes when it raises money in a private placement under a Regulation D exemption. Each carries the issuer, jurisdiction, industry, amount offered and sold, the exemption, related persons, and date of first sale. Pass a CIK (or ticker if public) for one issuer, or 'latest' for the market-wide feed of new private raises.
Inputs: identifier (required), limit.
get_fundamentalsGet company financial statementsARead-onlyIdempotentInspect
Normalized income statement, balance sheet, and cash flow for a US-listed ticker, parsed from SEC EDGAR XBRL. Counts as one request on the Edgrapi plan.
Inputs: ticker (required), limit, period.
get_grantsGet federal grant opportunities (Grants.gov)ARead-onlyIdempotentInspect
Federal grant funding opportunities from Grants.gov, normalized into flat JSON. Each carries the opportunity id and number, title, agency, status, open and close dates, the Assistance Listing (CFDA) numbers, and the grants.gov link. Defaults to open opportunities (posted + forecasted). Completes the gov-funding trio with get_opportunities (contracts) and get_awards (spending).
Inputs: aln, limit, agency, offset, +3 more.
get_holdingsGet 13F institutional holdingsARead-onlyIdempotentInspect
A fund's latest 13F portfolio parsed from the SEC information table: every position ranked by value, aggregated by CUSIP across sub-managers, options flagged put/call, and diffed against the prior quarter (new / added / reduced / exited). Identify the fund by a known name (berkshire, burry, ackman, bridgewater, citadel), a CIK, or a filer ticker (BRK-B).
Inputs: identifier (required), limit, changes.
get_insiderGet parsed insider transactionsARead-onlyIdempotentInspect
Parsed SEC Form 4 insider trades for a ticker: owner, role, transaction code (P open-market purchase, S sale, A award, M exercise, F tax withholding), shares, price, dollar value, and a 10b5-1 plan flag. Code P is the only own-money buy signal; A/M/F are automatic compensation. Set form=3/5 for holdings statements or form=144 for notices of proposed sale (an intent-to-sell signal that precedes the Form 4). Pass ticker='latest' for the market-wide feed of the biggest open-market buys, or ticker='clusters' for companies where several insiders bought at once.
Inputs: ticker (required), days, form, limit, +1 more.
get_lobbyingGet federal lobbying disclosures (LDA.gov)ARead-onlyIdempotentInspect
Federal lobbying registrations and quarterly reports from LDA.gov, newest first. Each filing carries the client who paid, the lobbying firm, income or expenses, issue codes and specific issues lobbied, government bodies contacted, the individual lobbyists, and the filing link. Use it to see who is lobbying on a company's behalf or on an issue.
Inputs: page, year, issue, client, +3 more.
get_opportunitiesGet federal contract opportunities (SAM.gov)ARead-onlyIdempotentInspect
Federal contract opportunities from SAM.gov — solicitations, presolicitations, sources-sought, and award notices — normalized into flat JSON. Each carries the notice id, title, solicitation number, posted date, type, set-aside, NAICS, place of performance, award (when present), a point of contact, and the sam.gov link. Leave the dates off for the recent feed; SAM caps a query window at one year.
Inputs: limit, naics, ptype, state, +5 more.
get_ratiosGet computed financial ratiosARead-onlyIdempotentInspect
Margins, returns (ROE/ROA), leverage and liquidity ratios for a ticker, derived from SEC EDGAR fundamentals, plus per-share figures (eps_diluted, book_value_per_share, shares_outstanding). Price-based ratios (P/E, P/B) aren't returned because EDGAR has no market price; divide your own price by the per-share figures.
Inputs: ticker (required).
get_sectionsGet 10-K/10-Q/S-1 narrative sectionsARead-onlyIdempotentInspect
Narrative sections from the latest 10-K/10-Q as clean text — Risk Factors (item 1A), MD&A (item 7), Business (item 1), etc. — or from an IPO registration statement (form 'S-1'): risk_factors, use_of_proceeds, mda, business, principal_stockholders, shares_eligible. Built for LLM/RAG equity research. Omit 'item' to list the available sections first. For a company that hasn't listed yet, pass its CIK as 'ticker'.
Inputs: ticker (required), form, item.
get_subsidiariesGet company subsidiaries (10-K Exhibit 21)ARead-onlyIdempotentInspect
The company's subsidiaries and their jurisdictions of incorporation, parsed from Exhibit 21 of its latest 10-K. Best-effort parse of an HTML exhibit; empty for filers that list only significant subsidiaries or file no Exhibit 21.
Inputs: ticker (required).
get_xbrlConvert SEC XBRL to JSONARead-onlyIdempotentInspect
The full XBRL-to-JSON converter. By default returns a company's normalized income statement, balance sheet and cash flow across every reported period, plus a concept index of every us-gaap/dei tag it reports. Pass concept to pull the raw time series for any specific tag(s) beyond the curated fundamentals; pass accession for every concept reported in one specific filing.
Inputs: cik, limit, period, ticker, +2 more.
resolve_entityResolve a ticker, CIK, or CUSIPARead-onlyIdempotentInspect
Map any one of a ticker, CIK, or CUSIP to the canonical SEC entity: legal name, CIK, ticker(s), exchange, SIC industry and sector, state of incorporation, and location. The foundational lookup for identifying a filer.
Inputs: cik, cusip, ticker.
search_filingsFull-text search across SEC filingsARead-onlyIdempotentInspect
Search the full text of every SEC filing since 2001 (the EDGAR full-text index). Returns matching filing documents with company, form, date, 8-K item codes, and a SEC.gov link. Quote a phrase for exact match; filter by form and date range.
Inputs: q (required), enddt, forms, limit, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Pay-per-result SAM.gov contracts, SEC EDGAR filings, USAspending awards and GLEIF LEI lookups.
US public-records intelligence for AI agents — companies, SEC, courts, spending, licenses.
SEC EDGAR financials, insider trading, and economic data for AI agents. US GAAP + IFRS.
Keyless, read-only US public records for agents: SEC, FDA, enforcement, sanctions, market data.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query normalized US government data from SAM.gov, USAspending, Grants.gov, US House STOCK Act trades, and SEC EDGAR through 19 read-only tools covering contracts, awards, grants, congressional trades, insider filings, holdings, and financial fundamentals.1MIT No Attribution
- AlicenseBqualityBmaintenanceMCP server + TypeScript SDK for 36 U.S. government data APIs — 188 tools. Treasury, FRED, Congress, FDA, CDC, FEC, lobbying, and more. Works with VS Code Copilot, Claude Desktop, Cursor.345223 npm112MIT
- AlicenseAqualityCmaintenanceGive your AI agent live SEC EDGAR data: company financials, insider trades, 8-K events, 13F holdings, and the raw filings stream — all normalized to clean JSON, every number traceable back to its sec.gov source filing.845 PyPIMIT
- AlicenseAqualityCmaintenanceEnables AI agents to query free public market data through 21 tools spanning 29 datasets sourced from SEC EDGAR/XBRL, FINRA, CFTC, the Federal Reserve, USAspending and exchange APIs. Covers short interest, insider and fund holdings, company financials, macro and policy rates, funding rates, crypto market metrics, IPOs and federal contracts, with no API key required to start.22135 npmApache 2.0
Glama MCP Gateway
Add one secure layer between your agents and this server.