<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Michel Ferraz</title>
    <description>The latest articles on DEV Community by Michel Ferraz (@ferrazmichel).</description>
    <link>https://dev.to/ferrazmichel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4264972%2F314ccbe6-05e3-4083-9b6e-7517c754b9a3.jpg</url>
      <title>DEV Community: Michel Ferraz</title>
      <link>https://dev.to/ferrazmichel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ferrazmichel"/>
    <language>en</language>
    <item>
      <title>How to Connect Claude, Cursor &amp; n8n to 8 Official US Government APIs via MCP (Without Blowing Up Your Context Window)</title>
      <dc:creator>Michel Ferraz</dc:creator>
      <pubDate>Wed, 25 Nov 2026 14:51:55 +0000</pubDate>
      <link>https://dev.to/ferrazmichel/how-to-connect-claude-cursor-n8n-to-8-official-us-government-apis-via-mcp-without-blowing-up-1dd2</link>
      <guid>https://dev.to/ferrazmichel/how-to-connect-claude-cursor-n8n-to-8-official-us-government-apis-via-mcp-without-blowing-up-1dd2</guid>
      <description>&lt;p&gt;If you have ever tried hooking an LLM agent directly up to US government APIs, you already know why most workflows break in practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SEC EDGAR &lt;code&gt;companyfacts&lt;/code&gt; XBRL&lt;/strong&gt; files routinely exceed &lt;strong&gt;4 MB+&lt;/strong&gt; of raw JSON per ticker.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;USITC HTS&lt;/strong&gt; 10-digit statistical codes often omit base duty rates inherited from 8-digit parent headings (before even adding Chapter 99 Section 301/232 duties and CBP MPF/HMF fees).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;EPA ECHO&lt;/strong&gt; forces a two-step &lt;code&gt;QueryID&lt;/code&gt; session flow just to paginate facilities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DOL OSHA&lt;/strong&gt; caps inspections at 200 rows without joining violations or penalty sums.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2026 Form 1099-NEC&lt;/strong&gt; raised the federal threshold to &lt;strong&gt;$2,000&lt;/strong&gt;, while key states kept &lt;strong&gt;$600–$1,200&lt;/strong&gt; filing rules.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of burning tokens parsing raw endpoints inside agent loops, I packaged &lt;strong&gt;8 official US government datasets&lt;/strong&gt; into hosted &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; tools on Apify — all sharing a compact &lt;code&gt;"outputMode": "mcp_summary"&lt;/code&gt; mode that compresses multi-megabyte responses into &lt;strong&gt;~2 KB structured JSON digests&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 8 Tools Included (Zero External API Keys Needed)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;SEC EDGAR (&lt;code&gt;ferraz_michel/sec-edgar-filings-mcp&lt;/code&gt;)&lt;/strong&gt; — &lt;code&gt;10-K&lt;/code&gt;, &lt;code&gt;10-Q&lt;/code&gt;, &lt;code&gt;8-K&lt;/code&gt; material events + audited US-GAAP XBRL snapshots (&lt;code&gt;Revenue&lt;/code&gt;, &lt;code&gt;Net Income&lt;/code&gt;, &lt;code&gt;Net Margin %&lt;/code&gt;, &lt;code&gt;Assets&lt;/code&gt;, &lt;code&gt;Equity&lt;/code&gt;, &lt;code&gt;Cash&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;USITC HTS Tariff &amp;amp; Landed Cost (&lt;code&gt;ferraz_michel/usitc-hts-tariff-mcp&lt;/code&gt;)&lt;/strong&gt; — 10-digit rate inheritance, USMCA/FTA exemptions, Section 301/232, MPF/HMF &amp;amp; &lt;code&gt;CN&lt;/code&gt; vs &lt;code&gt;VN&lt;/code&gt; vs &lt;code&gt;MX&lt;/code&gt; vs &lt;code&gt;KR&lt;/code&gt; comparisons.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;US 1099-NEC 2026 Compliance (&lt;code&gt;ferraz_michel/us-1099-nec-state-compliance-mcp&lt;/code&gt;)&lt;/strong&gt; — all 50 states + DC rules, IRS CF/SF checks, and 24% backup withholding audits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;openFDA Recall Radar (&lt;code&gt;ferraz_michel/openfda-recall-device-radar&lt;/code&gt;)&lt;/strong&gt; — parallel drug, medical device, and food enforcement recalls with severity scoring.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;USAspending Federal Contracts (&lt;code&gt;ferraz_michel/usaspending-federal-contracts-mcp&lt;/code&gt;)&lt;/strong&gt; — prime awards, NAICS incumbent intelligence, and expiring re-compete alerts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DOL OSHA (&lt;code&gt;ferraz_michel/osha-safety-compliance-mcp&lt;/code&gt;)&lt;/strong&gt; — workplace inspections, citations, and penalty totals.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;EPA ECHO (&lt;code&gt;ferraz_michel/epa-echo-environmental-mcp&lt;/code&gt;)&lt;/strong&gt; — CAA/CWA/RCRA compliance and facility environmental risk scoring.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;USDOT FMCSA (&lt;code&gt;ferraz_michel/fmcsa-carrier-safety-mcp&lt;/code&gt;)&lt;/strong&gt; — carrier vetting (&lt;code&gt;PASS&lt;/code&gt; to &lt;code&gt;DO_NOT_USE&lt;/code&gt;), MC/USDOT authority, and BIPD insurance.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Quick Setup: Connect All 8 Tools in One Config
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Option A — Remote Streamable HTTP (Recommended for Cursor / HTTP MCP clients)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"us-gov-data-suite"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"transport"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://mcp.apify.com/?actors=ferraz_michel/sec-edgar-filings-mcp,ferraz_michel/usitc-hts-tariff-mcp,ferraz_michel/us-1099-nec-state-compliance-mcp,ferraz_michel/openfda-recall-device-radar,ferraz_michel/osha-safety-compliance-mcp,ferraz_michel/epa-echo-environmental-mcp,ferraz_michel/fmcsa-carrier-safety-mcp,ferraz_michel/usaspending-federal-contracts-mcp"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Option B — Claude Desktop (&lt;code&gt;claude_desktop_config.json&lt;/code&gt;)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"us-gov-data-suite"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"npx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="s2"&gt;"-y"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"@apify/actors-mcp-server"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"--actors"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"ferraz_michel/sec-edgar-filings-mcp,ferraz_michel/usitc-hts-tariff-mcp,ferraz_michel/us-1099-nec-state-compliance-mcp,ferraz_michel/openfda-recall-device-radar,ferraz_michel/osha-safety-compliance-mcp,ferraz_michel/epa-echo-environmental-mcp,ferraz_michel/fmcsa-carrier-safety-mcp,ferraz_michel/usaspending-federal-contracts-mcp"&lt;/span&gt;
      &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"env"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"APIFY_TOKEN"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"YOUR_APIFY_TOKEN"&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Option C — Direct REST API (for n8n, Make, or Python scripts)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST &lt;span class="s2"&gt;"https://api.apify.com/v2/acts/ferraz_michel~sec-edgar-filings-mcp/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{
    "tickersOrCiks": ["AAPL", "NVDA"],
    "forms": ["10-K", "8-K"],
    "includeFinancialSnapshot": true,
    "maxFilingsPerCompany": 3,
    "outputMode": "mcp_summary"
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3 Prompts You Can Test Right Away
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Equity Research:&lt;/strong&gt; &lt;em&gt;"Fetch AAPL and NVDA latest 10-K and 8-K filings along with audited US-GAAP Revenue, Net Income, and Cash in &lt;code&gt;mcp_summary&lt;/code&gt; mode."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Import Landed Cost:&lt;/strong&gt; &lt;em&gt;"Compare total US landed cost for HTS &lt;code&gt;8507.60&lt;/code&gt; lithium-ion batteries on a $25,000 ocean shipment from China vs. Vietnam vs. Mexico."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GovCon Re-Compete Radar:&lt;/strong&gt; &lt;em&gt;"Find US federal DoD cybersecurity prime contracts expiring in the next 180 days with award value above $500,000."&lt;/em&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Pricing &amp;amp; Links
&lt;/h2&gt;

&lt;p&gt;All 8 tools run on Apify's Pay-Per-Event model (&lt;code&gt;$5.00 / 1,000&lt;/code&gt; records, and Apify includes &lt;code&gt;$5/month&lt;/code&gt; of free platform credits to test).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Showcase (&lt;code&gt;mcp.json&lt;/code&gt; &amp;amp; prompts):&lt;/strong&gt; &lt;a href="https://github.com/ferrazmichel/us-gov-mcp-suite" rel="noopener noreferrer"&gt;https://github.com/ferrazmichel/us-gov-mcp-suite&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apify Store Profile:&lt;/strong&gt; &lt;a href="https://apify.com/ferraz_michel" rel="noopener noreferrer"&gt;https://apify.com/ferraz_michel&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Glama Connector:&lt;/strong&gt; &lt;a href="https://glama.ai/mcp/connectors/com.apify.mcp/us-gov-mcp-suite" rel="noopener noreferrer"&gt;https://glama.ai/mcp/connectors/com.apify.mcp/us-gov-mcp-suite&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are building agents for finance, compliance, supply chain, or GovCon, let me know in the comments which US public dataset or summary metric you'd like added next!&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>apify</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
