Folklore

Integrations / MCP

Folklore MCP

Classify and assess supported germline variants under ACMG/AMP, resolve gene identities, read source-qualified profiles and retrieve scientific literature anonymously. Use a Folklore API key for case analyses, source browsing and results at the same endpoint.

Connect your client

Add the endpoint to your AI client as a remote MCP server using Streamable HTTP.

https://api.helena.bio/folklore/v1/mcp

Codex configuration:

[mcp_servers.folklore]
url = "https://api.helena.bio/folklore/v1/mcp"

Cursor configuration:

{
  "mcpServers": {
    "folklore": {
      "url": "https://api.helena.bio/folklore/v1/mcp"
    }
  }
}

For case workflows, create an API key in Account > API keys for your selected Personal or Workspace account. Store the key in your client's secret settings and configure this header. No local Folklore server is required.

Authorization: Bearer <your Folklore API key>

The anonymous catalog has 11 tools; current admitted credentials expose 29. Subscription capabilities, usage limits and eligible credits apply to case processing.

Tools

Public tools. No account or API key is required for these 11 scientific queries and support lookup.

ToolPurpose
classify_germline_variantClassify and assess one supported germline variant under ACMG/AMP
search_variant_literatureFind variant-related scientific literature
get_publication_detailsRead publication details
search_literature_corpusSearch articles using text and known identifiers
get_gene_disease_associationsFind disease associations for a gene
search_disease_genesFind genes associated with a disease
resolve_geneResolve a public gene symbol, alias or stable identifier
get_gene_profileRead the resolved gene profile with its exact snapshot
get_gene_sectionContinue a source-qualified section using its opaque cursor
search_gene_literatureRead a separate live literature capture for the resolved gene
support_helenaFind official support information when explicitly requested

Supported variant queries include GRCh38 coordinates, selected HGVS forms, SPDI and rsID for nuclear germline SNVs and simple indels smaller than 50 base pairs. For ambiguous expressions, review the returned candidates and verify the intended allele.

API-key tools

ToolPurpose
list_analysis_contextsList the contexts and analysis profiles admitted for the configured API key.
submit_case_analysisSubmit one case analysis with an explicit context, immutable S3 input, cost ceiling and idempotency key.
get_case_analysis_statusRead the current analysis stage, outcome, sequencing review and billing state.
acknowledge_sequencing_qc_reviewRecord an explicit acknowledgement of the exact sequencing QC review receipt.
request_sequencing_analysis_cancellationRequest cancellation of sequencing analysis and return its current state.
get_case_analysis_result_manifestRead and verify the published analysis result manifest.
download_analysis_result_fileVerify an original result file and return its protected API download URL. Fetch it with the same Bearer API key.
get_analysis_export_summaryRead the frozen export summary, coverage and collection availability.
get_analysis_export_schemaDescribe the frozen export fields, exact numeric encoding and supported query operators.
get_analysis_export_provenanceRead the recorded clinical profile, source hashes, classifier and export identities.
get_analysis_export_variantRead one exact generation-local variant record from the frozen export.
query_analysis_export_recordsFilter, sort, project and page one collection in a verified frozen analysis export.
get_analysis_export_gene_recordsPage one frozen export collection for an exact source gene symbol.
list_casesList cases linked to this machine principal's accepted Partner API commands in one selected context; optional literal case-name search.
get_caseRead the operational header and latest partner-command summary of one machine-owned case in the selected context.
list_case_analysesRead analysis command history for one case.
list_source_connectionsList the S3 sources admitted for the selected context.
browse_source_objectsBrowse one level of explicitly permitted S3 sources and select an actual immutable file version.

Select a context and source, then submit with an explicit cost ceiling and original idempotency key. Poll the accepted analysis, read its manifest and query the selected frozen JSON export. An original download returns a protected API URL; fetch it with the same Bearer credential.

Example questions

Which genes have curated evidence for Marfan syndrome?

Which diseases are associated with FBN1?

Classify ENST00000226413.5:c.317A>G under ACMG/AMP
and summarize its supporting evidence.

For a gene profile, first call resolve_gene. BRCA1 resolves to candidate identity.gene_id HGNC:1100. Pass the returned identity_snapshot_id as snapshot_id in subsequent calls; select a candidate explicitly when ambiguous and preserve withdrawn or not_found outcomes.

tools/call params (replace <identity_snapshot_id> with the value returned by resolve_gene):
{"name":"resolve_gene","arguments":{"query":"BRCA1"}}
{"name":"get_gene_profile","arguments":{"gene_id":"HGNC:1100","snapshot_id":"<identity_snapshot_id>"}}
{"name":"get_gene_section","arguments":{"gene_id":"HGNC:1100","snapshot_id":"<identity_snapshot_id>","section":"structure","limit":20}}
{"name":"search_gene_literature","arguments":{"gene_id":"HGNC:1100","snapshot_id":"<identity_snapshot_id>","limit":20,"sort":"relevance"}}

Continue sections with the returned next_cursor and the same gene, snapshot and section; limit is 1 to 50. Literature uses a separate live capture, limit 1 to 25 and relevance, newest or oldest sort; preserve its capture time/hash and keep the same sort for pagination. Restart resolution after snapshot_unavailable.

Read the evidence

Keep the resolved allele, classification, criterion evidence, source citations and limitations together. Keep gene source provenance, coverage, count units, total versus observed_total and unavailable states intact. Gene-disease validity, constraint and GWAS records retain their source assessments. Live gene literature excludes abstracts and is separate from the immutable profile literature section.

Anonymous inputs are public gene/disease identifiers, variant expressions and scientific literature queries. Authenticated tools use the selected account's admitted case, source and artifact identities.

Client setup and resources

ClientConfiguration
ChatGPTCustom MCP app with the endpoint above
ClaudeCustom connector with the endpoint above
CodexTOML mcp_servers entry
CursorJSON mcpServers entry
VS CodeServer type http with the endpoint as url

Public integration repository · MCP server card · Directory listings