Biopharma Catalyst Mcp

io.github.yesc97由 GitHub 帳號 yesc97 發布v1.2.0更新於 Oct 24, 2026

Forensic biopharma catalyst auditor — 10 tools, deterministic CLEAN/BEAR_SIGNAL verdict.

概覽

AI 產生的概覽

透過抓取試驗、文獻、SEC、FDA 與市場資料審核生技醫藥催化劑題材,並給出確定性結論。

可以做什麼
以免費公開資料來源執行法證式生技醫藥研究流程:ClinicalTrials.gov、PubMed、SEC EDGAR 與 XBRL、openFDA 以及 Yahoo Finance。主要工具 audit_catalyst 接受股票代號、藥物與贊助商,回傳 CLEAN、FLAG、BEAR_SIGNAL、BLACK_FLAG 或 DISQUALIFIED 等結論及底層計算資料。另有九個連接器工具分別提供原始資料,包括試驗狀態標記、申報文件、現金跑道、內部人交易、放空比例、試驗方案快照、選擇權鏈與 FDA 送件歷史。
適用情境
適合在不想手動翻查試驗註冊資料庫、申報文件與 FDA 紀錄的情況下,檢驗某個生技醫藥催化劑論點是否站得住腳。適用於針對特定藥物或贊助商組合的研究,而非大範圍篩選;也適合希望由程式碼給出結論、由模型負責敘述的使用者。
執行需求
以 Node.js 本機程序執行,可從 npm 套件安裝或從原始碼建置。需要將 SEC_USER_AGENT 環境變數設為真實聯絡方式,否則 SEC EDGAR 會限流或封鎖請求。需要連線至上述公開資料來源;未聲明需要 API 金鑰或帳號。
安裝前請注意
SEC_USER_AGENT 的值包含真實聯絡電子郵件,且會記錄在 SEC 端,應保存在本機環境變數並避免提交至版本控制。此伺服器只讀取公開資料,但會以你的聯絡身分向第三方服務發出請求。結論屬於研究自動化,不構成投資建議,README 亦說明交易決策由使用者自行負責。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Biopharma Catalyst Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

biopharma-catalyst-mcp

[License: ISC] [CI]

A forensic biopharma research MCP server — pulls catalyst-grade signals from 6 free, authoritative sources (ClinicalTrials.gov, PubMed, SEC EDGAR, SEC XBRL companyfacts, openFDA, Yahoo Finance) and hands them to your LLM. Includes a server-side aggregator that runs the full forensic workflow in one tool call and returns a deterministic verdict.

Built for the workflow most retail biopharma analysts actually run: a ticker hits the radar, you spend 2–4 hours grinding Google Scholar, FDA pages, EDGAR, and the options chain to decide if the catalyst story holds up. This compresses that to ~30 seconds.

Table of Contents

The headline tool: audit_catalyst

Single tool, single call, single verdict. Works on any sponsor / drug combination — no hardcoded tickers anywhere.

Big Pharma example — the "Clean" case

audit_catalyst(ticker="MRK", drug="Keytruda", sponsor="Merck")
→ Verdict: CLEAN (MED)  Primary finding: Tried to break thesis. Approved 20260424. (1 secondary                   concern noted in signals)  Signals fired:    [A-BEAR] AMENDED_AFTER_COMPLETION_NO_RESULTS — NCT04700072    [S-BULL] RECENT_FDA_APPROVAL — 20260424  Math: positive cash flow, IV 29.1%, insider net $0.00M

A CLEAN verdict is the highest praise this tool gives. It means the auditor cross-referenced 9 sources, tried to break the bull thesis, and couldn't (or could only surface secondary concerns that don't outweigh an S-tier bull signal). That's a stronger long signal than a generic "BUY" rating, because failing to break a thesis is harder than confirming it.

The verdict scale:

  • CLEAN — tried to break the thesis, couldn't. Confidence drops if A-tier concerns surface.
  • FLAG — A-tier bear signal fired without an offsetting S-tier bull. Data ambiguous; look harder.
  • BEAR_SIGNAL — at least one S-tier bear fired (terminated trial, FDA rejection, dilution risk, etc.). Confidence rises with multiple S-tier bears.
  • BLACK_FLAG — Going Concern disclosed by auditors + cash runway under 6 months. Equity at high risk of zero.
  • DISQUALIFIED — insufficient data tied to the company. Try a different drug or query the underlying connectors directly.

The math (cash runway, months to catalyst, insider sentiment, ATM IV, catalyst date) is also returned for the user to inspect. The LLM narrates; the verdict is code.

The Tactical Auditor system prompt (alternative)

If you'd rather have the LLM run the workflow itself across the individual tools, drop this prompt into your MCP client as a custom instruction or system prompt:

You are a Tactical Biopharma Auditor. Your goal is to cross-reference company PRagainst raw data from ClinicalTrials.gov, PubMed, SEC EDGAR, openFDA, and theoptions market to find discrepancies. You are looking for "Trial Drift" and"Signal Decay."
When auditing a ticker/drug, run this workflow:
1. Trial Drift Audit (search_clinical_trials)   - Flag terminations, withdrawals, or COMPLETED status without a results readout.   - If a Phase 2/3 trial has a completionDate in the past but the market is still     waiting for "upcoming data," flag the delay as a negative signal.   - The connector emits an `auditFlag` field; surface it in your output.
2. Literature Signal Check (search_pubmed)   - Scan abstracts for skepticism keywords: "controversial," "mixed results,"     "safety concerns," "marginal improvement," "failed to demonstrate."   - Compare to standard of care if abstracts mention comparators.
3. Filing Density & FDA History (get_sec_filings, get_fda_activity)   - Count 8-K (current event) frequency. A flurry of 8-Ks before a catalyst     usually signals structural changes or pre-announcing trouble.   - Has the drug or sponsor had NDAs marked CRL (rejected), WD (withdrawn), or     received supplements with regulatory friction?
4. Market Pricing (get_market_data)   - Check ATM IV. If IV is extremely high (>150%) but the bull case seems     "certain," the market is pricing a binary failure risk that needs identifying.
Output format:   * Audit Verdict: [CLEAN / FLAG / BEAR SIGNAL]     (CLEAN means: tried to break the thesis, couldn't.)   * Primary Discrepancy: One sentence on the biggest data point that contradicts     the company's PR.   * Key Risks: 2-3 specific risks found in CT.gov or PubMed.   * Data Density: Summary of how much info we actually have vs. how much is     missing.

Then ask: audit ticker SRPT, drug elevidys (or whatever).

A CLEAN verdict is the highest praise this tool gives — it means the auditor tried to find a hole in the thesis and couldn't. That's a stronger long signal than a generic bull stamp.

Tools

Ten tools — nine raw connectors plus the aggregator:

ToolSourceWhat it does
audit_catalyst(aggregator)Headline tool. Runs the full Tactical Auditor workflow against (ticker, drug). Deterministic verdict.
search_clinical_trialsClinicalTrials.gov v2 APIPipeline + status by intervention; flags terminations, withdrawals, completed-without-readout
search_pubmedNCBI E-utilitiesRecent literature on a drug / mechanism / disease
get_sec_filingsSEC EDGARLast 10 filings (10-K, 10-Q, 8-K, S-1) by ticker
get_xbrl_factsSEC XBRL companyfactsCash, quarterly burn, runway months, Going Concern flag
get_insider_transactionsSEC EDGAR Form 4 XMLRole-classified insider transactions (clinical/financial/admin), coordinated exit detection (72h window), Net Insider Sentiment ($), 10b5-1 detection
get_short_interestYahoo FinanceShort % of float, days to cover, MoM delta — feeds SHORT_INTEREST_SPIKE and SHORT_SQUEEZE_POTENTIAL signals
get_protocol_snapshotClinicalTrials.gov v2 APITrial protocol + amendment proximity (goalpost detection)
get_market_dataYahoo FinanceQuote + full options chain (IV, strikes, expirations)
get_fda_activityopenFDA drugsfda.jsonNDA/BLA submissions with decoded status (AP, CRL, WD, etc.); auto-fallback drug→sponsor

All sources are free, no API keys required.

Install

bash
git clone https://github.com/yesc97/biopharma-catalyst-mcp.gitcd biopharma-catalyst-mcpnpm installnpm run build

Configure as an MCP server

Add to your MCP client config (e.g. ~/.config/claude/claude_desktop_config.json):

json
{  "mcpServers": {    "biopharma-catalyst": {      "command": "node",      "args": ["/absolute/path/to/biopharma-catalyst-mcp/build/index.js"],      "env": {        "SEC_USER_AGENT": "Your Name <[email protected]>"      }    }  }}

SEC_USER_AGENT is required by SEC EDGAR — use a real contact email or you'll be rate-limited.

CLI mode

For headless runs without an MCP client:

bash
node build/cli.js <TICKER> "<DRUG_NAME>" "<SPONSOR_NAME>"node build/cli.js PFE "Comirnaty" "Pfizer"node build/cli.js MRK "Keytruda" "Merck"node build/cli.js LLY "Mounjaro" "Eli Lilly"

The CLI prints a structured human-readable snapshot — same data the MCP tools expose.

Why search by drug name, not ticker

Biopharma research signal lives at the pipeline drug level, not the corporate level. Searching CT.gov for "Pfizer" returns hundreds of unrelated trials across every therapeutic area. Searching for Comirnaty returns the specific vaccine trials that drive regulatory outcomes. Always feed the tools the drug name (brand or generic), and use the ticker only for market data + SEC filings.

Live analysis examples

Institutional-grade biopharma research requires analyzing the world's largest pipelines. A few examples from live runs:

audit_catalyst("LLY", "Mounjaro", "Eli Lilly")

Verdict: CLEAN (HIGH)Primary finding: Tried to break thesis. Strong pipeline density with 10+                 ongoing Phase 3 trials.Signals:  [S-BULL] RECENT_FDA_APPROVAL — 20260315  [A-BULL] INSIDER_BUYING — net $2.4M over 90d

audit_catalyst("PFE", "Comirnaty", "Pfizer")

Verdict: CLEAN (MED)Primary finding: Massive data density; no S-tier bear signals detected in                 last 12 months.Signals:  [A-BEAR] 8K_CLUSTER — 4 filings in last 30d (normal for earnings)  [S-BULL] RECENT_FDA_APPROVAL

audit_catalyst("MRK", "Keytruda", "Merck")

Verdict: CLEAN (MED)Primary finding: Approved 20260424. (1 secondary concern noted in signals)Signals:  [A-BEAR] AMENDED_AFTER_COMPLETION_NO_RESULTS — NCT04700072  [S-BULL] RECENT_FDA_APPROVAL

10b5-1 plans don't exempt insider selling from the bear column — management chose to schedule those sales. Real money out the door is real money out the door.

Roadmap

  • CT.gov protocol diff — currently we detect late-stage amendments via the proximity heuristic (last update vs primary completion date). The CT.gov v2 API does not expose what changed in an amendment. To detect specific endpoint changes (the canonical goalpost move), we'd need to scrape the public version-history web UI or wait for an API update.
  • FDA AdComm forward calendar — currently we surface FDA submission history. A forward calendar of advisory committee meetings would let users plan around binary regulatory events.
  • Polygon / Tradier connector — Yahoo's options data is incomplete on illiquid small-cap biotech. A paid market-data option for power users.
  • Sponsor-class weighting — currently the aggregator filters trials to those sponsored by the queried company. Industry-academic partnerships and NIH-sponsored trials are excluded. Could weight rather than filter.
  • 10-K MD&A scan — extract the "Risk Factors" section and look for management-disclosed risks beyond the Going Concern check.

Technical reference & maintenance

Verifying locally

After any change, rebuild and run the MCP stdio smoke test:

bash
npm run buildnode /path/to/verify-mcp.mjs        # 9-tool stdio handshake + 1 invocation each

For the aggregator specifically:

bash
node build/cli.js <TICKER> "<DRUG>" "<SPONSOR>"

Both should complete in under 30 seconds against live APIs. If they don't, check whether SEC has rate-limited you (see Per-source caveats below).

Adding a new connector

  1. Create src/connectors/<name>.ts. Export a single async function that returns a structured shape (no LLM-dependent fields, just data).
  2. If it hits sec.gov or data.sec.gov, wrap each axios call in throttleSec(() => axios.get(...)).
  3. Wire it in src/index.ts: import, add to the tools/list schema, add the dispatch case in the request handler.
  4. Optionally wire into audit_catalyst — add to the Promise.allSettled block and write the signal logic against the spec.
  5. Add a smoke test invocation to your local verify-mcp.mjs.

Per-source caveats

  • SEC.gov: 10 req/sec hard cap. Throttled to ~5 req/sec via sec-throttle.ts. Going over triggers a 10-minute IP block. The SEC_USER_AGENT env var must be a real contact email — fake placeholders are rate-limited harder.
  • CT.gov v2: No protocol-diff endpoint. The goalpost detector uses a proximity heuristic (firstPost vs primaryCompletion vs lastUpdate). True diff requires scraping the public version-history UI; queued for v1.2.
  • Yahoo Finance: Schema validation is suppressed because Yahoo drifts on illiquid biotech option chains. Calls return what they can; expect occasional empty option chains.
  • openFDA: drugsfda.json covers NDA/BLA submission history but not always forward PDUFA dates. Use CT.gov completionDate as the leading catalyst indicator.
  • Form 4 XML: EDGAR's primaryDocument field points to the HTML wrapper, not the structured XML. The connector lists each filing's folder via index.json and finds the .xml entry. Capped at 25 most recent filings per audit to bound cost.

Security

  • SEC_USER_AGENT must stay in local environment variables and never be committed to version control. It contains a real contact email and gets logged on the SEC side; treating it as a secret keeps it out of public git history and avoids inadvertent doxxing.
  • .env and .env.local are gitignored by default in this repo; keep your contact details there.
  • If you fork this project, set your own SEC_USER_AGENT — do not reuse another user's.
  • Agent context files (GEMINI.md, CLAUDE.md, .gemini/, .claude/) are also gitignored; never commit those, they may contain operating notes / strategy details meant for local use only.

Versioning

  • Patch (x.x.+1): bug fixes, doc tweaks, no schema changes.
  • Minor (x.+1.0): new tools, new connectors, additive signal logic, schema additions to existing tools.
  • Major (+1.0.0): breaking schema changes (renamed fields, removed tools), new required env vars, MCP protocol upgrades.

Shipping a release

  1. Bump version in package.json to match the change scope.
  2. Update README "headline tool" or "Forensic case studies" sections if behavior changed.
  3. Run npm run build && node verify-mcp.mjs — must be 9/9 passing.
  4. Commit using conventional-commit style (feat:, fix:, chore:).
  5. Tag the commit: git tag v<X.Y.Z>.
  6. Push to your remote when ready; optional npm publish if you maintain a public npm release.

Contact

Attila Kovacs (yesc97)

Notes

  • Not investment advice. This is research automation. The synthesis step — and the trade — is on you.

License

ISC

來源:README.md,提交 3f27653

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分