Skip to main content
Glama
xraywu

Wegene Assistant MCP Server

by xraywu

Servidor MCP de Wegene-Assistant

insignia de herrería

Servidor MCP para WeGene Assistant, que utiliza LLM para analizar el informe de pruebas genéticas de WeGene de un usuario.

Componentes

Recursos

Una vez que un usuario está autorizado, todos los informes bajo su cuenta quedarán expuestos como un recurso:

  • Esquema de URI wegene:// personalizado para acceder a cada informe individual

  • Un recurso de informe tiene un nombre, una descripción y un tipo MIME de aplicación/json

Herramientas

El servidor implementa una herramienta:

  • wegene-oauth: Iniciar un proceso oAuth de WeGene Open API en el navegador

    • El usuario deberá completar la autorización en 120 segundos para que LLM pueda seguir accediendo a los informes.

  • wegene-get-profiles: lee la lista de perfiles de la cuenta WeGene de un usuario

    • Se devolverán el nombre y la identificación de los perfiles para que LLM los utilice.

  • wegene-get-report-info: Devuelve la metainformación del informe para que LLM sepa qué informes están disponibles.

    • Se devolverá una lista de nombres de informes, descripciones, puntos finales, etc.

  • wegene-get-report: Lee los resultados de un solo informe bajo un perfil

    • Devuelve el resultado JSON especificado en la plataforma API abierta de WeGene

    • Argumentos

      • report_endpoint: El punto final del informe desde el que se recuperará

      • report_id: El ID del informe que se recuperará

      • profile_id: El ID del perfil del cual recuperar el informe

Related MCP server: gwas-mcp

Configuración

  • Necesitará la clave/secreto de API abierta de WeGene para utilizar este proyecto.

  • Copie .env.example como .env y actualice la clave y el secreto en el archivo.

Inicio rápido

Instalar

Instalación mediante herrería

Para instalar WeGene Assistant para Claude Desktop automáticamente a través de Smithery :

npx -y @smithery/cli install @xraywu/mcp-wegene-assistant --client claude

Instalar localmente

Preparar el servidor MCP
  1. Clonar este proyecto

  2. Ejecute uv sync --dev --all-extras en la carpeta raíz del proyecto

Configuración del escritorio de Claude
  • En MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

  • En Windows: %APPDATA%/Claude/claude_desktop_config.json

Agregue el siguiente contenido en el archivo de configuración:

{
  "mcpServers": {
    "wegene-assistant": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/wegene-assistant",
        "run",
        "wegene-assistant"
      ]
    }
  }
}

Available Tools

4 tools
wegene-get-profilesB

Retrieve all the profiles under the current account

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states 'Retrieve all the profiles', implying a read-only operation, but doesn't specify details like whether it requires authentication (implied by 'current account'), rate limits, pagination, or what 'all' entails (e.g., scope or limitations). This leaves significant gaps in understanding the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence that directly states the tool's purpose without any wasted words. It's front-loaded with the key action and resource, making it efficient and easy to parse for an agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 0 parameters, no annotations, and no output schema, the description is minimally adequate but incomplete. It explains what the tool does but lacks details on behavior (e.g., authentication needs, data format) and doesn't differentiate from siblings. For a simple retrieval tool, it meets basic needs but could benefit from more context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and schema description coverage is 100%, so there's no need for parameter details in the description. The baseline for this scenario is 4, as the description doesn't need to compensate for missing param info, and it appropriately avoids unnecessary parameter explanations.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Retrieve') and resource ('profiles under the current account'), making the purpose understandable. However, it lacks differentiation from sibling tools like 'wegene-get-report' or 'wegene-get-report-info', which might also retrieve data but for different resources, so it doesn't fully distinguish itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'wegene-get-report' or 'wegene-get-report-info'. It doesn't mention any prerequisites, exclusions, or specific contexts for usage, leaving the agent to infer based on tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

wegene-get-reportC

Get a specific genetic test report from a profile

ParametersJSON Schema
NameRequiredDescriptionDefault
report_endpointYesThe endpoint of the report
report_idYesThe ID of the report
profile_idYesThe ID of the profile

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool 'Get's a report, implying a read operation, but doesn't cover aspects like authentication needs (though 'wegene-oauth' hints at this), rate limits, error handling, or what the output contains. This leaves significant gaps for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded and appropriately sized for a simple retrieval tool, with no wasted information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, no output schema, and three required parameters, the description is incomplete. It doesn't explain what the tool returns (e.g., report content format), authentication requirements (implied by sibling 'wegene-oauth'), or behavioral traits like error cases. For a tool with this complexity and lack of structured data, more context is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all three parameters (report_endpoint, report_id, profile_id) with basic descriptions. The description adds no additional meaning beyond implying these are needed to retrieve a report, aligning with the baseline score when the schema handles parameter documentation adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get') and resource ('specific genetic test report from a profile'), making the purpose understandable. However, it doesn't differentiate from sibling tools like 'wegene-get-report-info' or 'wegene-get-profiles', which likely retrieve different types of genetic data or metadata.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'wegene-get-report-info' or 'wegene-get-profiles'. The description implies usage for retrieving a report but doesn't specify contexts, prerequisites, or exclusions, leaving the agent to infer based on tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

wegene-get-report-infoB

Get all available report information

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states this is a 'Get' operation, implying read-only behavior, but doesn't specify authentication needs, rate limits, error conditions, or what 'all available report information' entails (e.g., format, scope, or limitations). This leaves significant gaps for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without any fluff or redundancy. It's appropriately sized for a zero-parameter tool and front-loads the essential information clearly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what 'report information' includes, how it's structured, or any behavioral aspects like authentication or errors. For a tool that likely returns data, more context is needed to guide the agent effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, and schema description coverage is 100%, so there's no need for parameter documentation in the description. The description appropriately doesn't discuss parameters, aligning with the schema's empty properties. A baseline of 4 is given since no parameters exist, and the description doesn't add unnecessary details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get') and resource ('all available report information'), making the purpose understandable. However, it doesn't differentiate this tool from its sibling 'wegene-get-report', leaving some ambiguity about what distinguishes 'report information' from just 'report'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'wegene-get-report' or 'wegene-get-profiles'. There's no mention of prerequisites, context, or exclusions, leaving the agent with no usage direction beyond the basic purpose.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

wegene-oauthB

Authorizing a user's account using WeGene Open API with oAuth2 protocol and retrieve a valid access token for further use

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions oAuth2 protocol and token retrieval, which implies authentication and potential user interaction, but doesn't detail behavioral traits such as whether this initiates a user consent flow, requires specific permissions, involves rate limits, or handles errors. For an authentication tool with zero annotation coverage, this leaves significant gaps in understanding how it behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence that efficiently conveys the core functionality without unnecessary details. It is front-loaded with the main action and outcome, making it easy to understand quickly. Every word earns its place, and there is no wasted information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (authentication with oAuth2), lack of annotations, and no output schema, the description is minimally adequate. It explains what the tool does but doesn't cover important contextual details like the token's scope, expiration, or how to use it with sibling tools. For an authentication tool, more completeness is expected to guide proper integration.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, meaning there are no parameters to document. The description doesn't need to add parameter semantics, so it appropriately focuses on the tool's purpose. A baseline of 4 is applied since no parameters exist, and the description doesn't mislead about inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Authorizing a user's account using WeGene Open API with oAuth2 protocol and retrieve a valid access token for further use.' It specifies the action (authorizing via oAuth2) and the outcome (retrieving an access token). However, it doesn't explicitly distinguish this from its siblings (e.g., wegene-get-profiles, wegene-get-report), which focus on data retrieval rather than authentication.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by stating the token is 'for further use,' suggesting this tool should be invoked before other tools that require authentication. However, it doesn't provide explicit guidance on when to use it versus alternatives (e.g., if re-authentication is needed) or any prerequisites. The context is clear but lacks detailed exclusions or comparisons.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updates
    • First observedwegene-get-profiles
    • First observedwegene-get-report
    • First observedwegene-get-report-info
    • First observedwegene-oauth

TDQS

A3.5/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: get-profiles retrieves account profiles, get-report fetches a specific genetic report, get-report-info lists available reports, and oauth handles authentication. There is no overlap in functionality, making tool selection unambiguous.

Naming Consistency5/5

All tools follow a consistent 'wegene-verb-noun' pattern with hyphens, using clear verbs like 'get' and 'oauth'. This uniformity makes the tool set predictable and easy to understand.

Tool Count4/5

Four tools are reasonable for a genetic data server, covering authentication, profile retrieval, and report access. It might benefit from additional operations like updating profiles or deleting data, but the core scope is well-defined.

Completeness3/5

The tools cover authentication and read operations (profiles and reports) adequately, but there are notable gaps in write operations such as creating, updating, or deleting profiles or reports. This limits the server to read-only workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Upload your raw DNA file from 23andMe, AncestryDNA, MyHeritage, FamilyTreeDNA, or any VCF -- and watch a team of AI agents fan out across 16+ public genomics databases, share discoveries with each other in real time, and produce a comprehensive health report. Everything runs on your machine. Nothing is uploaded anywhere.
    24
    16
    MIT
  • A
    license
    C
    quality
    F
    maintenance
    Provides AI-powered access to major biological databases for GWAS and bioinformatics research. Enables natural language queries for protein, gene, variant, pathway, and drug discovery analysis.
    44
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to query clinical genomics databases, retrieve supporting literature, analyze population genetics, and visualize biological pathways.
    18
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI-driven pharmacogenomic analysis by querying structured genetic variant, drug response, and disease risk data. Supports natural language questions about medications, traits, and health risks based on user genome data, with privacy-first local execution.
    16
    28 npm
    12
    MIT