1
0 Comments

How I built 16 open-source, includes Biopharma (latest) MCP packages in 120 days

Hey Indie Hackers,

When connecting LLMs or autonomous AI agents (Claude, Cursor, LangChain) to clinical databases, two major problems occur:

  1. Unsanitized PII/PHI leaks passing directly into LLM prompts.
  2. Lack of regulatory auditability (such as FDA 21 CFR Part 11 timestamping).

Over the last 120 days, I’ve been building and open-sourcing the SEOSiri Model Context Protocol (MCP) suite. Today, I launched package #16: @seosiri/biopharma-mcp on NPM.

⚙️ The Technical Architecture

We engineered the server in TypeScript using NodeNext resolution with a 4-layer defensive gateway:

  1. Transport Protection Layer: CORS origin restrictions using environment configuration tokens.
  2. OAuth2 Security Gateway: Cryptographic JWT Bearer token validation for remote SSE streams inside Express.
  3. Data Privacy Loop: Automatic regex redaction of SSN, DOB, email, and phone patterns prior to memory serialization.
  4. Data-at-Rest Encryption: AES-256-GCM authenticated encryption for PostgreSQL connection parameters.

🚀 What the Server Does (10 Zod Tools)
~ calculate_4pl_curve: Fits 4-Parameter Logistic non-linear sigmoidal dose-response curves.
~assess_parallelism: Computes shared slope and asymptotes consistency via F-Test and TOST metrics.
~calculate_z_factor: Validates microplate high-throughput screening metrics from positive/negative controls.
~export_cdisc_sdtm: Converts unstructured JSON records into CDISC SDTM v1.7 / Allotrope compliant data models.
~generate_gxp_audit_log: Records immutably hashed operation logs to stderr for FDA 21 CFR Part 11 auditing.

💡 Distribution & Business Model
~Open Source (MIT): Full source code on GitHub and NPM (npm install @seosiri/biopharma-mcp) to build developer trust and search authority.
~Edge Deployment: Deployed at biopharma.seosiri.com via Cloudflare Workers.
Interactive Portal: An interactive D3 network graph explorer at developers.seosiri.com (not ordered yet there but will soon).,For details reading, visit- https://www.seosiri.com/2026/08/biopharma-mcp.html
~B2B Consulting: Generating high-ticket consulting leads for custom enterprise MCP development, VPC setups, and compliance interlocks.

Happy to answer any questions about building MCP tools, TypeScript ESM bundling, or Cloudflare Worker edge routing!

on August 11, 2026