Ftc Enforcement

io.github.pipeworx-iov0.1.0更新于 Oct 7, 2026

FTC Enforcement MCP — FTC cases, orders, and merger/non-merger enforcement.

已验证Streamable HTTP可网页运行Web Search & ScrapingBusiness & Commerce

概览

AI 生成的概览

让助手检索 FTC 案件与程序(含并购与非并购执法),并获取案件详情和文件时间线。

功能
通过三个工具访问 FTC 公开的案件与程序库:ftc_search_cases 可按公司、个人、案件或事项编号或关键词检索,并支持 category(merger、nonmerger 或 any)和 status(pending、closed、under_order)过滤;ftc_case_detail 返回单个案件的状态、联邦法院、当事人全称、摘要、相关新闻稿,以及包含提交日期和 PDF 链接的完整文件时间线;ftc_recent_actions 列出指定天数内的最新案件。数据按请求从 FTC 公开检索页面实时抓取,响应中带有数据截止日期和返回 ftc.gov 的链接。
适用场景
适合反垄断与竞争研究、跟踪针对特定公司的并购审查或行为执法、监控 FTC 新立案,以及整理带原始文件的案件脉络。它通过补充 FTC 自身的案件记录,与 HSR 通知及 DOJ/SEC 执法信息源形成互补。
运行要求
使用 gateway.pipeworx.io 上的远程 streamable HTTP 端点;最初几次调用无需账户。README 还记录了通过 npx 运行的本地 stdio 方式,需要 Node.js。未声明任何 API 密钥、环境变量或请求头。
安装前请注意
该端点除本包工具外还列出约 30 个网关共享元工具,包括 ask_pipeworx 路由和 remember/recall,因此可见工具数量和上下文开销超过文档中的三个工具;实际范围以 initialize 响应为准。数据来自带机器人过滤的公开网站的 HTML 抓取,结果可能不完整或失败,且该集成非官方、与 FTC 无关联。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ftc Enforcement,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "ftc-enforcement": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/ftc-enforcement/mcp"
    }
  }
}

README

@pipeworx/ftc-enforcement

FTC (Federal Trade Commission) cases and proceedings — competition/merger enforcement and consumer-protection enforcement together, by company, case/matter number, topic, or date. Complements hsr-notices (the earliest signal that a merger was filed for antitrust review) and enforcement-actions (DOJ press releases and SEC litigation/administrative feeds) with the FTC's own case record: complaints, consent orders, settlements, case status, and the federal court involved.

Part of Pipeworx — an MCP gateway connecting AI agents to 1704+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

  • ftc_search_cases(query?, category?, status?, start_date?, end_date?, limit=20) — search cases/proceedings by company name, individual name, case/matter number, or keyword. category restricts to merger, nonmerger (conduct enforcement), or both (any, default). status restricts to pending, closed, or under_order.
  • ftc_case_detail(slug) — one case's status, federal court (if any), full party caption, case summary, linked press release, and complete document timeline (complaint, orders, settlements, briefs) each with its filing date, title, and PDF URL. Takes the slug field returned by ftc_search_cases/ftc_recent_actions (the last path segment of the case's ftc.gov URL) or a full case URL.
  • ftc_recent_actions(days=30, category?, limit=20) — the newest cases/proceedings, optionally restricted to merger or non-merger enforcement.

Merger vs. non-merger

category: "merger" / "nonmerger" maps to the FTC's own "Competition Topics" facet (field_competition_topics=708 / 711 on the live search form) — the only filter on ftc.gov's own search that actually splits merger enforcement from non-merger (conduct) enforcement. field_case_action_type (Federal/Administrative/ProcessEnforcement) and field_enforcement_type do not make that distinction.

Data source

Scraped live from https://www.ftc.gov/legal-library/browse/cases-proceedings, the FTC's own Drupal Views search page. There is no structured feed for this content: api.ftc.gov (the JSON:API broker the hsr-notices pack uses) only documents two resource types — HSR early-termination notices and Do Not Call complaints (verified against FederalTradeCommission/ftc-api-docs, 2026-10-07) — and /jsonapi, /v0/cases, /v0/legal-library-items and similar guesses all 404. This pack issues the same GET a browser issues against the public search form and parses the HTML it returns: a live per-request proxy of public FTC data, not a mirrored dataset.

Every response carries data_as_of via each case's own last_updated field (the FTC's own "Last Updated" date) and url/documents[].url back to ftc.gov and the underlying PDFs.

Reachability note

A plain GET with a descriptive User-Agent succeeds from a non-Worker vantage (verified 2026-10-07). www.ftc.gov runs some bot filter — a UA-less request even to /robots.txt gets an Akamai-style "resembles an abusive automated request" block page, while a UA'd request does not — which matches the ".gov UA-block" class this fleet has hit before, not necessarily the Cloudflare-egress-IP-block class that defeats a good UA outright (loc.gov, Kalshi, Overpass; see mcps/chronicling-america). That class can only be confirmed from the deployed Worker's own egress. pwFetch in src/index.ts is a direct fetch with a descriptive UA, and also accepts _proxyUrl/_proxyToken in the same shape chronicling-america uses — if a post-deploy probe shows 403s, the fix is: add www.ftc.gov to supabase/functions/egress-proxy's ALLOWED_HOSTS, deploy that function, add entry.slug === 'ftc-enforcement' to the gateway's EGRESS_PROXY_URL/EGRESS_PROXY_TOKEN injection block in workers/gateway/src/index.ts, and redeploy the gateway. No pack code change needed.

Markup contract (why the parsing looks the way it does)

  • items_per_page must be one of 20, 50, 100 (the form's own <select> options) — any other value silently renders zero rows, not an error. This pack always requests the smallest valid page size that covers the caller's limit and slices client-side.
  • Field extraction is scoped to the specific HTML block for the row/case/timeline-item in question, never the whole page — ftc.gov renders sidebar and mega-menu blocks (e.g. "Latest Press Releases") earlier in the document than the case's own content, using the exact same CSS class names for unrelated nodes. An unscoped scan returns a wrong-but-plausible value (e.g. today's date from an unrelated press release) rather than an error.
  • A case's "Type of Action" (Federal/Administrative/ProcessEnforcement) and "Case Status" appear reliably in search-result rows; the case detail page carries case status, last-updated date, long caption, and federal court (federal cases only).
  • Document dates come only from the case's "Case Timeline" entries; a single timeline entry can carry more than one PDF.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

json
{  "mcpServers": {    "ftc-enforcement": {      "url": "https://gateway.pipeworx.io/ftc-enforcement/mcp"    }  }}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/ftc-enforcement/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

json
{  "mcpServers": {    "pipeworx": {      "url": "https://gateway.pipeworx.io/mcp"    }  }}

Both URLs reach the same gateway and the same 1704+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

bash
curl -X POST https://gateway.pipeworx.io/v1/tools/ftc_search_cases \  -H 'Content-Type: application/json' \  -d '{"query":"Kroger"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/ftc_search_cases. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:

json
{  "mcpServers": {    "ftc-enforcement": {      "command": "npx",      "args": ["-y", "@pipeworx/mcp-ftc-enforcement"]    }  }}

Or run it directly to confirm it starts:

bash
npx -y @pipeworx/mcp-ftc-enforcement

It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call for only this pack's tools — none of the shared meta-tools the gateway connection above adds. Same source, same tools, no ask_pipeworx routing.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Ftc Enforcement data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

来源:README.md,提交 70eb8c7

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.0最新Oct 7, 2026