anyvar-mcp
v0.1.0MCP Server for AnyVar
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
register_variant Register Variant
Normalize supported HGVS, SPDI, or gnomAD nomenclature and write to AnyVar. Registration is disabled unless ``ANYVAR_ENABLE_REGISTRATION`` is true. Registration may also create liftover/projection objects and mappings. HTTP connection and read timeouts still apply. Ask for clarification when the expression, reference accession, or assembly is ambiguous. Do not invent an accession or infer a unique genomic variant from a protein-only change. Missing object/object_id means unresolved input, even when the HTTP request succeeded. Report messages, including partial-result warnings.
| Parameter | Type | Description |
|---|---|---|
definition * | string | Supported variant expression. |
assembly_name | string | Reference assembly used for gnomAD expressions. |
get_variant Get Variant
Retrieve a registered VRS object, including objects referenced by mappings. Report any VRS ``start`` and ``end`` values as inter-residue coordinates, preserving the returned values.
| Parameter | Type | Description |
|---|---|---|
vrs_id * | string | VRS identifier of the registered object. |
search_variants Search Variants
Search registered variants using inclusive inter-residue bounds. The returned VRS objects use inter-residue ``start`` and ``end`` values; preserve them when reporting results. This queries the registry; it does not resolve a variant expression. Only variants already registered with AnyVar can be returned. An empty result does not establish that no variant exists in the interval. Use an assembly stated or clearly established in the conversation. If none is available, ask whether the user means GRCh37 or GRCh38, then pass an alias such as GRCh38:chr10 as accession.
| Parameter | Type | Description |
|---|---|---|
accession * | string | Assembly-qualified chromosome alias or sequence accession recognized by AnyVar. |
end * | integer | Inclusive end coordinate, at least start. |
start * | integer | Nonnegative inclusive start coordinate. |
cursor | Opaque next_cursor from the preceding page. | |
page_size | Maximum results per page, from 1 to 10000. Omit or pass None to use ANYVAR_SEARCH_PAGE_SIZE. Keep the effective page size unchanged when following continuation cursors. |
get_variant_mappings Get Variant Mappings
Read stored liftover, transcription, or translation mappings for a VRS object. Mappings are directed. For outgoing mappings, vrs_id is the source_id and dest_id identifies the mapped object. For incoming mappings, vrs_id is the dest_id and source_id identifies the mapped object. Name both roles when reporting a mapping. Use get_variant on source_id to retrieve the source VRS object, or on dest_id to retrieve the destination VRS object. Availability depends on stored mappings and AnyVar's configured capabilities. Empty mappings do not rule out biological relations or guarantee complete genomi…
| Parameter | Type | Description |
|---|---|---|
vrs_id * | string | VRS identifier of the registered object. |
as_source | boolean | True when vrs_id is the source; false when it is the destination. |
mapping_type | Optional liftover_to, transcribe_to, or translate_to filter. |