Server data from the Official MCP Registry
24 tools for evidence-graded clinical queries, hormones, peptides, longevity & drug interactions.
About
24 tools for evidence-graded clinical queries, hormones, peptides, longevity & drug interactions.
Remote endpoints: streamable-http: https://mcp.hormonaly.ai/mcp sse: https://mcp.hormonaly.ai/sse
Security Report
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
Endpoint verified · Open access · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Found in Source Code
Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.
How to Connect
Remote Plugin
No local installation needed. Your AI client connects to the remote endpoint directly.
Add this to your MCP configuration to connect:
{
"mcpServers": {
"io-github-hormonaly-ai-hormonaly": {
"url": "https://mcp.hormonaly.ai/mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Hormonaly — Public API & Integration Reference
The AI-native infrastructure for peptide, hormone, and longevity medicine.
This repository is the public-facing integration reference for enterprise partners and API integrators. The MCP server source is published in this repository at Hormonaly-ai/hormonaly-public. For clinical access, visit hormonaly.ai.
Table of Contents
- Platform Overview
- Architecture Overview
- Partner API Reference
- MCP Server — Tool Schema
- Authentication
- Rate Limits & Quotas
- Errors & Status Codes
- Subscription Tiers
- Scribe API
- Security & Compliance
- Getting Access
- Three-Lens Scoring
- Webhook Events
- API Versioning & Stability
- Hormonaly-1 LLM
- About Hormonaly
Platform Overview
Hormonaly combines three pillars into one platform:
- Evidence Synthesis — Multi-agent RAG over PubMed + 594 curated protocols with GRADE-style grading (A–D). 6 biomedical databases queried per response: PubMed, ClinicalTrials.gov, Cochrane, Europe PMC, OpenAlex, Semantic Scholar.
- Clinical Decision Support — Real-time answers, SOAP/DAP/Narrative notes, interaction checks, dosing, and monitoring plans grounded in verified citations.
- Workflow Tools — The operating layer for clinics, compounding pharmacies, and research teams in the peptide/hormone/longevity space.
By the numbers:
| Metric | Value |
|---|---|
| Protocols | 594+ across 31 clinical categories |
| Studies indexed | 10,000+ |
| AI agents | 42 specialist + background agents |
| Design partner clinics | 21 |
| Clinicians trained | 1,000+ |
| Countries | 5 |
| Quality pipeline checks | 13 per response |
| Citation verification | PubMed PMID-validated, 4s timeout |
Core products available via API:
| Product | Description |
|---|---|
| Helix | Clinical intelligence engine — multi-agent RAG, GRADE-scored answers, streaming SSE |
| Scribe | SOAP/DAP/Narrative clinical note generator with citation grounding |
| PharmacyOS | Compounding-pharmacy intelligence — protocols, interactions, Rx generation |
| Workspace | Full multi-panel clinical suite — enterprise/partner access |
| MCP Server | @hormonaly/mcp-server — 17 tools for Claude Desktop and agent frameworks |
Architecture Overview
Hormonaly is built on a 42-agent orchestration architecture organized into six categories: Evidence, Research, Clinical, Content, Copilot, and Extraction — plus six continuously-running background agents.
Query Pipeline
Every Helix API call (/helix/query buffered and streaming, and query jobs) flows through the same steps:
Client question
│
▼
Platform safety gate · organization policy · safety screen (PII redaction, off-topic and harm filter)
│ (screen unavailable → the question is refused, not answered unscreened)
▼
Clarify-first (a question too vague to answer safely gets one clarifying question, not billed)
│
▼
Helix agent engine: plans the evidence it needs, retrieves and reads it, writes a cited answer
│ (answer that does not address the question from its sources → classic retrieval pipeline answers instead)
▼
Citation gating · claim-by-claim support check · clinical safety facts · answer integrity
│
▼
Streaming SSE or JSON response → client
Helix runs on hosted foundation models selected per task; the response does not depend on which model wrote it, and the model identifier is reported in the X-Model-Version header.
Agent Categories
| Category | Agents | Role |
|---|---|---|
| Evidence Agent | Primary | Searches 6 biomedical databases, grades findings |
| Safety Agent | Primary | Screens interactions, contraindications, risk factors |
| Protocol Agent | Primary | Retrieves compound protocols and monitoring requirements |
| Contradiction Agent | Primary | Surfaces disagreeing studies, reconciles evidence position |
| Clinical Decision Agent | Primary | Synthesizes structured clinical recommendation |
| Quality Gate | Primary | 13 automated checks on every response |
| Background Agents (×6) | Autonomous | Evidence refresh, safety monitoring, knowledge enrichment, protocol audit, stale-check, user-monitor notifications — run continuously |
Evidence Quality Pipeline
- Reranker — Cross-encoder scores every RAG chunk ≥ 0.35 (fallback 0.15 for niche compounds)
- Token cap — 80,000 tokens max RAG context passed to LLM
- Quality gate — 13 checks across citation validity, answer completeness, clinical coherence, safety flags — composite score ≥ 70% threshold (async, post-hoc)
- Citation grounding — Every PMID verified against PubMed with 4s timeout; unverified citations are dropped
- NeMo Parse — Full PMC article text fetched for top 5 citations, structured into intro/methods/results, passed as enriched context
Partner API Reference
Base URL: https://api.hormonaly.ai/api/v1
Call api.hormonaly.ai from your servers. hormonaly.ai is the website: it sits behind Cloudflare bot protection, which can answer a server-to-server request with a 403 HTML page before it reaches the API.
Auth: Authorization: Bearer hk_live_... on every authenticated request.
Machine-readable OpenAPI 3.1 spec: GET https://api.hormonaly.ai/openapi.json. The spec and the API docs are the source of truth; this README is a summary.
All endpoint paths below are relative to the base URL. Request bodies are JSON (Content-Type: application/json); anything else gets 415.
Helix Endpoints
POST /helix/query
Submit a clinical question and receive an evidence-graded answer with citations.
Request:
{
"question": "What is the evidence for BPC-157 in tendon repair?",
"include_citations": true,
"detail_level": "clinical"
}
Main fields: question (required, up to 10,000 characters), language (en or ar; when omitted, a question written mostly in Arabic is answered in Arabic), detail_level (clinical or summary), include_citations, include_three_lens, verbosity (concise default, or standard), patient_context, history, partner_formulary (up to 500 entries) and on_formulary_only. See the OpenAPI spec for every field.
Buffered response (abridged):
{
"success": true,
"data": {
"answer": "...",
"grade": "C",
"confidence": { "score": 62, "level": "medium", "factors": ["..."] },
"citations": [ { "id": 1, "pmid": "...", "title": "...", "year": 2021, "evidence_level": "..." } ],
"related_protocols": [ { "id": "bpc-157-recovery", "title": "...", "grade": "C" } ]
},
"usage": { "tokens": 14746, "latency_ms": 25000, "cache": "MISS" }
}
gradeis the A–D evidence grade (null when the evidence is insufficient).confidence.scoreis an integer 0–100;levelis one ofhigh,medium-high,medium,low-medium,low.- A repeated question can be served from cache:
usage.cacheis"HIT",usage.tokensis 0 (not billed) andusage.original_tokensis the original generation's count. Idempotency-Key(1–255 characters of letters, digits,_ - . :; a UUID works) makes a retry return the original response without re-billing. Reusing a key with a different body returns 422.
Streaming: send Accept: text/event-stream (or "stream": true). The response uses named SSE events, for example:
event: stage
data: {"stage":"classifying"}
event: content
data: {"content":"BPC-157 has demonstrated..."}
event: done
data: {"grade":"C","confidence":{"score":62,"level":"medium"},"citations":[...],"usage":{"tokens":16569}}
Other events include agent, sources, heartbeat and content_replace (the final text replacing the streamed draft). See the API docs for the full event list.
Set your client timeout to at least 100 seconds for buffered calls, or use streaming or async jobs (POST /helix/jobs).
Answer engine: SSE, JSON and async query answers are written by Helix's agent engine, and every answer goes through the same checks (citation gating, a claim-by-claim support check, clinical safety facts, answer integrity). When the agent's answer does not answer the question from its sources, the classic retrieval pipeline answers the turn instead; on SSE the text already shown is replaced in one content_replace. The response shape is the same either way.
Citations: every [N] marker names the citation whose id is N. A source is named once per run of markers ([1], [1], [2] becomes [1], [2]) and listed once in citations.
Clarify-first: a question too vague to answer safely (for example a dose question that names no drug) returns HTTP 200 with data.clarification_needed: true, data.clarify_reason (dose_no_drug, unresolved_referent, vague_levels or best_without_patient), one clarifying question as data.answer, empty citations and usage.tokens: 0 (not billed). It never applies to a follow-up turn or when patient_context is sent.
Refusals: a refused question returns HTTP 200 with blocked: true and a block_reason, and is not billed. guardrail_unavailable means the safety screen could not give a verdict, so the question was refused rather than answered unscreened (data.answer: "Safety screening is temporarily unavailable; please retry shortly."); retry the same request after a short delay.
Follow-ups: send conversation_id (your own thread id, 1–128 characters) on /helix/query or in the /helix/jobs payload, and Helix keeps the thread: each answered turn is stored encrypted, scoped to your organization and API key (no other key or organization can read it), for 24 hours after the last turn, at most 20 turns. A follow-up such as "What would you use instead?" is then answered, and safety-screened, in that context. Or send the earlier turns yourself in history, which takes precedence. The id is echoed in data.conversation_id, the SSE done event and X-Helix-Conversation-Id; X-Helix-Conversation-Stored: false means the turn was not kept.
GET /helix/protocols/:compound
Look up the protocols for a compound.
Example: GET /helix/protocols/bpc-157
Returns the compound's protocols with titles, evidence grades, regulatory status and summaries, plus protocol_count. Unknown compounds return 404.
POST /helix/dossier
Generate an evidence dossier for a compound (async job). Advanced or Enterprise tier.
Request:
{ "compound": "semaglutide", "language": "en" }
Response: { "success": true, "data": { "job_id": "dossier_...", "status": "processing", "poll_url": "..." } }
Poll GET /helix/dossier/:job_id until status is completed (or failed). The completed result carries title, executive_summary, citations, grade (A–D or null), recommendation (the verdict), confidence (0–100) and pdf_url.
POST /helix/compare
Compare 2–3 compounds head-to-head. Advanced or Enterprise tier.
Request:
{ "compounds": ["testosterone-cypionate", "testosterone-enanthate"], "indication": "Hypogonadism" }
POST /helix/jobs
Run a query ("type": "query") or a scribe note ("type": "scribe") asynchronously. Returns 202 with a job_id; poll GET /helix/jobs/:job_id until status is done or failed.
{ "type": "query", "payload": { "question": "What is the evidence for metformin in PCOS?" } }
GET /helix/health
Service health check. No authentication required.
{ "status": "ok" }
MCP Server — Tool Schema
Package: @hormonaly/mcp-server
The Hormonaly MCP server exposes 17 tools that allow Claude Desktop, Cursor, or any MCP-compatible agent to query the full Helix clinical intelligence stack directly — with no HTTP client code required on your side.
Installation (Claude Desktop)
The MCP server source is available in our GitHub repository. Clone and build locally:
git clone https://github.com/Hormonaly-ai/hormonaly-public.git
cd hormonaly-public/mcp/hormonaly-mcp-server
npm install && npm run build
Then configure Claude Desktop as follows:
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"hormonaly": {
"command": "node",
"args": ["/path/to/hormonaly-mcp-server/dist/index.js"],
"env": {
"HORMONALY_API_URL": "https://api.hormonaly.ai",
"HORMONALY_API_KEY": "hk_live_YOUR_PARTNER_API_KEY"
}
}
}
}
Restart Claude Desktop — tools appear immediately.
HTTP/SSE mode (for server-side agents). Every request must carry the caller's own partner key as x-api-key: hk_… (or Authorization: Bearer hk_…); a key in the server's environment is never used remotely:
HTTP_PORT=3100 node dist/index.js
# Streamable HTTP: POST http://localhost:3100/mcp (x-api-key required)
# SSE (legacy): GET http://localhost:3100/sse (x-api-key required)
# POST http://localhost:3100/messages (same key as the /sse connection)
# Health: GET http://localhost:3100/health
See the mcp/README.md for full setup instructions.
Remote MCP — Claude.ai One-Click Connect
Live · Published May 2026 · Registry: registry.modelcontextprotocol.io
The Hormonaly MCP server is deployed as a remote HTTP/SSE server and listed on the official MCP Registry as io.github.Hormonaly-ai/hormonaly. Enterprise customers using Claude.ai get a one-click Connect experience — no local installation, no Docker, no claude_desktop_config.json edits required.
| Property | Value |
|---|---|
| SSE endpoint | https://mcp.hormonaly.ai/sse |
| Registry ID | io.github.Hormonaly-ai/hormonaly |
| Auth header | x-api-key: hk_live_... (Partner API key) |
| Infrastructure | GCP Cloud Run · Cloudflare DNS · TLS provisioned by GCP |
One-Click Connect Flow (Claude.ai Enterprise)
- Claude.ai discovers Hormonaly via the MCP Registry — no manual URL entry needed
- User clicks Connect — Claude prompts: "Enter your x-api-key"
- User pastes their
hk_live_...Partner API key (generated in the Partner Portal → API Keys) - All 17 tools activate immediately in the conversation
Authentication & Access Tiers
| Tool group | Auth required | Examples |
|---|---|---|
| Protocol, Evidence, Compound tools (9 tools) | None — public read access over stdio | protocol_search, compound_get_dosing |
| Helix & agentic tools, plus evidence_grade (8 tools) | Partner API key | helix_query, run_clinical_workflow, helix_deep_analysis, evidence_grade |
The MCP server authenticates with a partner API key only; there are no session-cookie or admin tools. Partner API keys start with hk_live_ (hk_test_ for sandbox) and are generated in the Partner Portal. Over the remote HTTP/SSE transports every request needs the key in the x-api-key header, public tools included — Claude.ai will prompt for it on first connect.
Full Tool Schema
Helix Tools
| Tool | Description | Auth |
|---|---|---|
| helix_query | Clinical question → evidence-graded answer with citations and confidence score | API key |
| helix_compare | Compare 2–3 compounds head-to-head (Advanced/Enterprise) | API key |
| helix_protocol | Get all protocols for a compound from the Helix API | API key |
| helix_dossier_start | Start an async dossier generation job (Advanced/Enterprise) | API key |
| helix_dossier_status | Poll dossier job status by job_id | API key |
| helix_deep_analysis | Extended analysis with full RAG pipeline, Three-Lens scoring, and PMID citation list | API key |
| run_clinical_workflow | Full supervisor/worker multi-agent workflow for complex clinical questions | API key |
Protocol Tools
| Tool | Description | Auth |
|---|---|---|
| protocol_search | Search protocol library by compound, category, or condition | Public (no auth) |
| protocol_get | Get full protocol details by ID or slug | Public (no auth) |
| protocol_list_categories | List all 31+ protocol categories with counts | Public (no auth) |
| protocol_get_interactions | Check interactions between a set of compounds | Public (no auth) |
Evidence Tools
| Tool | Description | Auth |
|---|---|---|
| evidence_search | Search PubMed for research on a compound or condition | Public (no auth) |
| evidence_get | Get full evidence record by ID | Public (no auth) |
| evidence_grade | Grade a set of PMID references using GRADE framework — returns A/B/C/D per study with rationale | API key |
Compound Tools
| Tool | Description | Auth |
|---|---|---|
| compound_search | Search the compound database by name or category | Public (no auth) |
| compound_get_interactions | Get all known interactions for a compound slug | Public (no auth) |
| compound_get_dosing | Get evidence-based dosing ranges, routes, and cycle guidance | Public (no auth) |
Agentic Workflow Tools
Two tools activate the full multi-agent pipeline:
run_clinical_workflow — Supervisor/worker pattern. Decomposes complex clinical questions into 3–4 parallel sub-tasks (evidence search, interaction check, protocol lookup, clinical synthesis), dispatches specialist agents, and returns a synthesized report with orchestration_steps[] showing each agent's task, result, timing, and confidence. Latency: 30–90 seconds for complex queries.
helix_deep_analysis — Extended deep analysis using the full RAG pipeline. Returns Three-Lens scoring across three independent clinical lenses (Longevity / Health & Disease / Performance), full PMID citation list, confidence breakdown by section, and overall evidence grade (A–D).
MCP Tool Input Schemas
All 17 tool schemas. The inputSchema block is what Claude Desktop and MCP clients use to validate parameters before sending.
helix_query
{
"name": "helix_query",
"inputSchema": {
"type": "object",
"properties": {
"question": { "type": "string", "description": "Clinical question", "maxLength": 10000 },
"language": { "type": "string", "enum": ["en","ar"], "default": "en" },
"detail_level": { "type": "string", "enum": ["clinical","summary"], "default": "clinical" },
"include_citations":{ "type": "boolean", "default": true },
"include_three_lens":{ "type": "boolean", "default": false },
"api_key": { "type": "string", "description": "Override env API key" }
},
"required": ["question"]
}
}
helix_compare (Advanced/Enterprise)
{
"name": "helix_compare",
"inputSchema": {
"type": "object",
"properties": {
"compounds": { "type": "array", "items": { "type": "string" }, "minItems": 2, "maxItems": 3 },
"indication": { "type": "string", "default": "General comparison" },
"language": { "type": "string", "enum": ["en","ar"], "default": "en" },
"api_key": { "type": "string" }
},
"required": ["compounds"]
}
}
helix_protocol
{
"name": "helix_protocol",
"inputSchema": {
"type": "object",
"properties": {
"compound": { "type": "string", "maxLength": 200 },
"language": { "type": "string", "enum": ["en","ar"], "default": "en" },
"api_key": { "type": "string" }
},
"required": ["compound"]
}
}
helix_dossier_start (Advanced/Enterprise)
{
"name": "helix_dossier_start",
"inputSchema": {
"type": "object",
"properties": {
"compound": { "type": "string", "maxLength": 500 },
"language": { "type": "string", "enum": ["en","ar"], "default": "en" },
"api_key": { "type": "string" }
},
"required": ["compound"]
}
}
helix_dossier_status
{
"name": "helix_dossier_status",
"inputSchema": {
"type": "object",
"properties": {
"job_id": { "type": "string" },
"api_key": { "type": "string" }
},
"required": ["job_id"]
}
}
helix_deep_analysis
{
"name": "helix_deep_analysis",
"inputSchema": {
"type": "object",
"properties": {
"topic": { "type": "string", "description": "Clinical topic for deep analysis", "maxLength": 10000 },
"language": { "type": "string", "enum": ["en","ar"], "default": "en" },
"api_key": { "type": "string" }
},
"required": ["topic"]
}
}
run_clinical_workflow
{
"name": "run_clinical_workflow",
"inputSchema": {
"type": "object",
"properties": {
"question": { "type": "string", "description": "Complex clinical question", "maxLength": 10000 },
"patient_context": { "type": "string", "description": "Optional: age, sex, conditions, medications" },
"language": { "type": "string", "enum": ["en","ar"], "default": "en" },
"api_key": { "type": "string" }
},
"required": ["question"]
}
}
protocol_search
{
"name": "protocol_search",
"inputSchema": {
"type": "object",
"properties": {
"query": { "type": "string" },
"category": { "type": "string", "description": "e.g. 'weight-loss', 'hormones'" },
"limit": { "type": "number", "default": 10 }
},
"required": ["query"]
}
}
protocol_get
{
"name": "protocol_get",
"inputSchema": {
"type": "object",
"properties": { "id": { "type": "string" } },
"required": ["id"]
}
}
protocol_list_categories
{
"name": "protocol_list_categories",
"inputSchema": { "type": "object", "properties": {} }
}
protocol_get_interactions
{
"name": "protocol_get_interactions",
"inputSchema": {
"type": "object",
"properties": {
"compounds": { "type": "array", "items": { "type": "string" }, "minItems": 2,
"description": "Compound slugs to screen" }
},
"required": ["compounds"]
}
}
evidence_search
{
"name": "evidence_search",
"inputSchema": {
"type": "object",
"properties": {
"compound": { "type": "string" },
"max_results": { "type": "number", "default": 10 }
},
"required": ["compound"]
}
}
evidence_get
{
"name": "evidence_get",
"inputSchema": {
"type": "object",
"properties": { "id": { "type": "string" } },
"required": ["id"]
}
}
evidence_grade
{
"name": "evidence_grade",
"inputSchema": {
"type": "object",
"properties": {
"ids": { "type": "array", "items": { "type": "string" }, "minItems": 1, "maxItems": 20,
"description": "Evidence record IDs to GRADE-score" },
"api_key": { "type": "string", "description": "Helix API key" }
},
"required": ["ids"]
}
}
compound_search
{
"name": "compound_search",
"inputSchema": {
"type": "object",
"properties": {
"query": { "type": "string" },
"category": { "type": "string" }
},
"required": ["query"]
}
}
compound_get_interactions
{
"name": "compound_get_interactions",
"inputSchema": {
"type": "object",
"properties": { "slug": { "type": "string", "description": "e.g. 'semaglutide'" } },
"required": ["slug"]
}
}
compound_get_dosing
{
"name": "compound_get_dosing",
"inputSchema": {
"type": "object",
"properties": { "slug": { "type": "string", "description": "e.g. 'testosterone-cypionate'" } },
"required": ["slug"]
}
}
Authentication
Hormonaly uses two independent auth systems — do not mix them:
1. Helix Data API — Bearer Token
All authenticated /api/v1/* endpoints require: Authorization: Bearer hk_live_...
API keys are generated in the Partner Portal (API & Usage → API Keys, /partner/api). Live keys start with hk_live_, sandbox keys with hk_test_. Keys are SHA-256 hashed before storage. The plaintext key is shown exactly once, when it is generated — store it immediately in your secrets manager. If lost, revoke and generate a new one; there is no recovery path. REST /api/v1/* endpoints expect the key in the Authorization: Bearer header; the remote MCP server expects it in the x-api-key: hk_live_... header.
2. Partner Portal — Session Auth
The Partner Portal (/partner/*) uses session-based authentication. Log in at /partner/login with email + password. This session does not grant access to the data API.
Key Lifecycle
- Generate — In the Partner Portal. The full key is shown ONCE; copy it immediately.
- Multiple active keys — Creating a new key does NOT revoke existing keys.
- Revoke — Instant. Any request using that key returns 401 immediately.
- Lost key — Revoke it and generate a new key in the Partner Portal. No plaintext recovery.
Rate Limits & Quotas
| Plan | Monthly Base | Tokens Included | Rate Limit | Overage Rate | Hard Cap |
|---|---|---|---|---|---|
| API Starter | $499 | 5M tokens | Per partner (default 60 req/min) | $100 / 1M | 10M tokens (then 429) |
| API Advanced | $1,999 | 25M tokens | Per partner (default 60 req/min) | $80 / 1M | 75M tokens (then 429) |
| API Enterprise | $4,999 | 75M tokens | Per partner (default 60 req/min) | $25 / 1M | None (overage billed) |
Rate limits are per partner (all of a partner's keys share one limit), default 60 requests per minute, counted in a fixed 60-second window. Your account's limit is returned on every authenticated response in X-RateLimit-Limit, with X-RateLimit-Remaining and X-RateLimit-Reset (Unix seconds). Over the limit: HTTP 429 rate_limit_exceeded with a Retry-After header. The monthly token cap is the tighter of your account's cap and the plan's hard cap; past it, live keys get 429 monthly_budget_exceeded until the 1st.
Response Latency
| Endpoint | P50 latency |
|---|---|
| POST /api/v1/helix/query | 20–35 seconds buffered (clinical); first streamed text within a few seconds |
| POST /api/v1/scribe/generate | 15–45 seconds |
| GET /api/v1/helix/protocols/:compound | < 200ms |
| run_clinical_workflow (MCP) | 30–90 seconds |
usage Object
Every POST /api/v1/helix/query response includes a usage object for that request:
{
"usage": {
"tokens": 14746,
"latency_ms": 25000,
"cache": "MISS"
}
}
tokens— tokens billed for this request. 0 for a cache hit ("cache": "HIT") and for a refused request.original_tokens— cache hits only: tokens the original generation used (not billed again).latency_ms— server-side latency.
Month-to-date totals: GET /api/v1/helix/usage.
Errors & Status Codes
Errors use the standard envelope with a lowercase, machine-readable error code:
{
"success": false,
"error": "rate_limit_exceeded",
"message": "Rate limit exceeded. Maximum 60 requests per minute. Retry after 12 seconds."
}
Authentication, budget and rate-limit rejections from the middleware carry error and message without the success key. Some errors add fields such as retryAfter, budget and used.
| Status | error | Meaning | Recommended client behavior |
|---|---|---|---|
| 400 | validation_error | Malformed request or missing/invalid field | Fix the request; do not retry as-is |
| 400 | invalid_idempotency_key | Idempotency-Key not 1–255 characters of letters, digits, _ - . : | Send a valid key (a UUID works); nothing was processed or billed |
| 400 | prompt_injection | Instruction-like or role-changing text in a free-text field | Remove it and retry |
| 401 | authentication_required | No Authorization header | Send Authorization: Bearer hk_live_... |
| 401 | invalid_api_key | Key not recognized or revoked | Generate a new key in the Partner Portal |
| 403 | tier_insufficient | Endpoint requires the Advanced or Enterprise tier | Upgrade plan |
| 403 | endpoint_not_allowed | Path not in your account's allowed endpoints | Contact sales |
| 403 | partner_not_active / subscription_canceled | Account pending, suspended, or subscription canceled | Contact info@hormonaly.ai |
| 404 | not_found / job_not_found | Compound, protocol, or job ID does not exist | Verify identifier |
| 409 | idempotency_key_in_flight | A request with this key is still running | Retry after Retry-After with the same body |
| 413 | payload_too_large | Body over 5 MB | Send a smaller body |
| 415 | unsupported_media_type | Body is not application/json | Set Content-Type: application/json |
| 422 | idempotency_key_reuse_mismatch | Key already used with a different body | Use a fresh key, or resend the original body |
| 429 | rate_limit_exceeded | Per-minute request rate exceeded | Honor the Retry-After header |
| 429 | monthly_budget_exceeded | Monthly token cap reached | Wait for the 1st or contact billing |
| 500 | internal_error | Unexpected server error | Retry with exponential backoff (max 3 attempts) |
| 503 | service_overloaded / service_unavailable | AI service busy or unavailable | Retry with exponential backoff |
| 504 | gateway_timeout / timeout | The answer did not finish in time | Retry, or use streaming or POST /helix/jobs |
The OpenAPI spec lists the codes each endpoint can return.
Subscription Tiers
Three tiers: API Starter, API Advanced and API Enterprise (tier keys starter, professional and enterprise; professional is sold as API Advanced). Only dossier and compare are tier-gated; tiers otherwise govern volume.
| API Starter | API Advanced | API Enterprise | |
|---|---|---|---|
| Monthly base | $499 | $1,999 | $4,999 |
| Tokens included / month | 5,000,000 | 25,000,000 | 75,000,000 |
| Overage rate | $100 / 1M tokens | $80 / 1M tokens | $25 / 1M tokens |
| Hard cap | 10M tokens — then 429 | 75M tokens — then 429 | None (overage billed) |
| Rate limit | Per partner, default 60 req/min | Per partner, default 60 req/min | Per partner, default 60 req/min |
| Feature | API Starter | API Advanced | API Enterprise |
|---|---|---|---|
| /api/v1/helix/query | Yes | Yes | Yes |
| /api/v1/scribe/generate | Yes | Yes | Yes |
| /api/v1/helix/dossier | No — 403 | Yes | Yes |
| /api/v1/helix/compare | No — 403 | Yes | Yes |
| White-label portal | No | No | Yes |
| BAA (HIPAA) | No | No | Yes |
| Dedicated support | No | No | Yes |
Scribe API
Mounted at /api/v1/scribe. Available on all plans.
POST /scribe/generate
curl -X POST https://api.hormonaly.ai/api/v1/scribe/generate \
-H "Authorization: Bearer hk_live_..." \
-H "Content-Type: application/json" \
-d '{
"protocols": [
{ "name": "Testosterone Cypionate", "dose": "200 mg", "frequency": "weekly", "route": "IM" },
{ "name": "Anastrozole", "dose": "0.5 mg", "frequency": "twice weekly", "route": "oral" }
],
"clinical_context": "42M presenting for TRT follow-up. Reports improved energy and libido.",
"note_format": "soap",
"language": "en",
"lab_values": [
{ "name": "Total Testosterone", "value": "850", "unit": "ng/dL" },
{ "name": "Estradiol", "value": "32", "unit": "pg/mL" }
]
}'
protocols(required, 1–12 items, each withnameand optionalcompound,dose,frequency,route,duration).clinical_context(up to 10,000 characters),lab_values,previous_note_context.note_format:soap | dap | narrative(defaultsoap);language:en | ar(defaulten).stream: true(orAccept: text/event-stream) returns SSE:stageevents, onecontentevent with the full note, thendone.
Response (abridged):
{
"success": true,
"data": {
"format": "soap",
"content": "SUBJECTIVE:\nPatient is a 42-year-old male presenting for TRT follow-up...",
"sections": { "subjective": "...", "objective": "...", "assessment": "...", "plan": "..." },
"protocols_summary": "Testosterone Cypionate 200 mg IM weekly, Anastrozole 0.5 mg PO twice weekly",
"monitoring_plan": "Repeat labs in 8 weeks: Total T, Free T, Estradiol, CBC, PSA",
"disclaimers": ["AI-generated note -- must be reviewed by a licensed provider."],
"confidence_score": 0.88,
"interaction_alerts": []
},
"meta": { "latency_ms": 4200, "protocol_count": 2, "language": "en", "note_format": "soap" }
}
Supports Idempotency-Key (a replay carries Idempotency-Replay: true). Recommended client timeout: 100 seconds.
GET /scribe/health
No authentication required.
Security & Compliance
Security Controls
| Control | Implementation |
|---|---|
| API key storage | SHA-256 hash only — plaintext never stored |
| Rate limiting | Per partner, atomic SQL counter (fixed 60s window, cross-instance safe) |
| Budget enforcement | Pre-call check; 429 before any LLM tokens consumed |
| Session fixation | regenerate() on every login |
| IDOR protection | All dossiers and engagement records are ownership-checked |
| Mass assignment | Clean — all inputs validated |
| Search injection | All ILIKE/tsquery parameterized via Drizzle ORM |
| Webhook security | HMAC-SHA256 signature verification (Stripe + Resend); idempotency on all events |
| Path traversal | Boundary whitelist on all file-serving endpoints |
| Auth rate limiting | All auth endpoints independently rate-limited (PG-backed, cross-instance) |
| TLS | TLS 1.3 in transit; AES-256 at rest |
| WAF | Cloud Armor active; scanner traffic blocked |
| CSP / HSTS / CORS | All headers configured; report-uri Sentry telemetry active |
| Clinical guardrails | NVIDIA NeMo · nvidia/llama-3.1-nemotron-nano-8b-v1 (input PII redaction + off-topic filter) · nvidia/llama-3.3-nemotron-super-49b-v1 (citation grounding + dosing safety scan) |
| Supply chain | private: true in package.json; dependency audit clean (Mar 2026) |
Compliance Posture
- HIPAA-aligned architecture — No PHI stored by default; patient data is session-scoped unless the Clients feature is explicitly enabled.
- BAA available — Enterprise customers receive a Business Associate Agreement.
- Encryption — TLS 1.3 in transit, AES-256 at rest, geographically redundant encrypted backups.
- Audit logging — All auth events, API key usage, AI calls, and admin actions written to a tamper-evident audit log.
- Data residency — GCC-region and EU residency available on request.
- Infrastructure — GCP (us-central1), Cloud Run (autoscaling), Cloud SQL PostgreSQL + pgvector.
GCP inherits: SOC 2 Type II, ISO 27001, HIPAA, PCI DSS, 150+ compliance certifications at the infrastructure layer.
AI Safety
- NVIDIA NeMo safety layer on every query: input PII redaction + off-topic/harm-framing filter (nvidia/llama-3.1-nemotron-nano-8b-v1, self-hosted on H100); output dosing safety scan with inline warnings.
- PEPTIDE_SAFETY_FOOTER and HELIX_REGULATORY_RULES active on all responses.
- No model training on user data — query data is not used to train or fine-tune any third-party model. Production interactions are quality-filtered and used exclusively in the Hormonaly-1 Data Flywheel (see Hormonaly-1 LLM).
Internal benchmarks (May 2026):
| Dimension | Score |
|---|---|
| Citation-grounding pass rate | 100% |
| Safety block rate (on flagged inputs) | 96% |
| RAG retrieval pass rate | 99% |
| Citation faithfulness (PMID-verified) | 97% |
Uptime
- Target SLA — 99.9% monthly uptime for all production API endpoints.
- P1 incidents — Acknowledged within 15 minutes, resolved within 4 hours.
- Status —
GET https://api.hormonaly.ai/api/v1/helix/status(authenticated) andGET /api/v1/helix/health - Maintenance — Announced ≥ 72 hours in advance.
Getting Access
1. Request Partner API Access
Contact the Hormonaly team to request a Partner API account:
- Email: info@hormonaly.ai
- Enterprise / BD: hormonaly.ai/about
- Plans: hormonaly.ai/pricing
Once your account is approved you receive a Partner Portal invitation. Generate your API key in the Partner Portal (API & Usage → API Keys, /partner/api); it is shown once.
2. Request Hormonaly-1 LLM Licensing
For enterprise integrators interested in licensing Hormonaly-1 for white-label or embedded clinical AI deployments:
- LLM Licensing: partnerships@hormonaly.ai — subject: Hormonaly-1 Licensing Inquiry
- LLM page: hormonaly.ai/hormonaly-llm
See the Hormonaly-1 LLM section for full model details and licensing tiers.
3. First API Call
curl -X POST https://api.hormonaly.ai/api/v1/helix/query \
-H "Authorization: Bearer hk_live_..." \
-H "Content-Type: application/json" \
-d '{"question": "What is the evidence for semaglutide in metabolic optimization?"}'
Buffered clinical answers take about 20–35 seconds; set a client timeout of at least 100 seconds, or stream with -H "Accept: text/event-stream".
4. OpenAPI Spec
curl https://api.hormonaly.ai/openapi.json
5. Full Documentation
| Resource | URL |
|---|---|
| API Reference | hormonaly.ai/api-docs |
| Technical Manual | hormonaly.ai/manual |
| Partner Portal | hormonaly.ai/partner/login |
| Integration Guide | hormonaly.ai/integration-guide |
| Platform | hormonaly.ai |
| About / Leadership | hormonaly.ai/about |
Three-Lens Scoring
Three-Lens is Hormonaly's proprietary multi-domain evidence scoring framework. It evaluates a compound independently through three clinical lenses, producing per-lens efficacy and safety scores, an evidence level (A–E), and a synthesized overall recommendation.
Lenses
| Lens | Domain Label | Focus | Key Endpoints |
|---|---|---|---|
| longevity | Longevity & Anti-Ageing | Slow or reverse biological ageing to extend healthspan and lifespan | Epigenetic clock deceleration, telomere dynamics, senescent cell clearance, NAD+ levels, mitochondrial function, autophagy markers |
| health_disease | Health & Disease Prevention | Detect, prevent, or reverse chronic disease | CVD risk reduction, HbA1c, inflammatory markers (CRP, IL-6), blood pressure, lipid profile, insulin sensitivity |
| performance | Performance Optimization | Elevate cognitive, metabolic, and physical function above baseline | VO2max, grip strength, cognitive processing speed, sleep quality, body composition, HRV, exercise recovery |
Score Structure
Each lens returns a DomainScore object:
{
"domain": "longevity",
"domainLabel": "Longevity & Anti-Ageing",
"efficacyScore": 7.4,
"safetyScore": 8.1,
"evidenceLevel": "C",
"evidenceLevelLabel": "Low",
"studyCount": 12,
"bestStudyType": "Randomized Controlled Trial",
"keyFindings": ["Demonstrated mTOR inhibition in human pilot (n=24)"],
"limitations": ["Most trials are short-duration (<12 weeks)"],
"relevantEndpoints": ["HbA1c", "fasting insulin", "body weight"]
}
Evidence Levels (5-tier)
| Level | Label | Description |
|---|---|---|
| A | High | Multiple consistent RCTs or meta-analyses |
| B | Moderate | At least one RCT or multiple cohort studies |
| C | Low | Case series, observational studies |
| D | Very Low | Expert opinion / anecdotal |
| E | Preclinical | Animal or in vitro studies only |
Overall Recommendations
| Verdict | Meaning |
|---|---|
| ADOPT | Strong, consistent human evidence supports use |
| CONSIDER | Reasonable evidence — use with informed consent and monitoring |
| WATCH_AND_WAIT | Promising signals but insufficient evidence for routine use |
| AVOID | Evidence against use or unacceptable safety risk |
| INSUFFICIENT_DATA | Too little data to score meaningfully |
Requesting Three-Lens Scores
Documentation truncated — see the full README on GitHub.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
