Navigation
Wegene-Assistant MCP Server: Health & Ancestry Insights - MCP Implementation

Wegene-Assistant MCP Server: Health & Ancestry Insights

Unlock your DNA secrets: MCP server crunches WeGene data into actionable health, ancestry, and trait insights you’ll actually use—no PhD required." )

Research And Data
4.6(29 reviews)
43 saves
20 comments

Users create an average of 30 projects per month with this tool

About Wegene-Assistant MCP Server

What is Wegene-Assistant MCP Server: Health & Ancestry Insights?

This server acts as an intelligent interface between WeGene genetic testing data and advanced language models. By leveraging LLM capabilities, it translates raw genetic reports into actionable insights, bridging the gap between complex biological data and user-friendly analysis. It enables seamless access to health risk assessments, ancestry breakdowns, and personalized recommendations through structured report integration.

How to Use Wegene-Assistant MCP Server: Health & Ancestry Insights?

Begin by authorizing access via the dedicated WeGene OAuth flow, which grants temporary permissions to retrieve user profiles and reports. Once authenticated, the server exposes report metadata and raw data through custom URI schemes. Users can query specific reports by endpoint, ID, or profile, with results formatted as JSON compatible with LLM processing. Configuration requires setting up Open API credentials and adjusting server paths in application configurations.

Wegene-Assistant MCP Server Features

Key Features of Wegene-Assistant MCP Server: Health & Ancestry Insights?

Core functionalities include:
• Dynamic resource exposure using wegene:// URIs for report navigation
• Timed OAuth workflows (120s authorization window) to balance security and usability
• Hierarchical data access starting from profile lists to granular report endpoints
• Metadata enrichment with report descriptions, endpoints, and compatibility flags
• Error-handling mechanisms for invalid profile IDs or expired tokens

Use Cases of Wegene-Assistant MCP Server: Health & Ancestry Insights?

Practical applications span:
• Personal health planning via risk stratification for genetic conditions
• Ancestry exploration with multi-generational demographic breakdowns
• Comparative analysis between family member profiles
• Research support for aggregating anonymized genetic trends

Wegene-Assistant MCP Server FAQ

FAQ from Wegene-Assistant MCP Server: Health & Ancestry Insights?

Q: How often do API credentials need rotation?
A: Best practice recommends rotating every 90 days for security, though WeGene imposes no enforced schedule.
Q: Can multiple profiles be analyzed simultaneously?
A: Yes, but each requires individual authorization to maintain privacy compliance.
Q: What happens if OAuth expires mid-session?
A: The server triggers a re-authorization prompt, preserving session context where possible.
Q: Are raw genetic variants accessible?
A: No - data remains abstracted to report-level summaries per WeGene's API restrictions.

Content

wegene-assistant MCP server

smithery badge

MCP server for WeGene Assistant, using LLM to analyze a user's WeGene genetic testing report.

Components

Resources

Once a user is authorized, all the reports under his/her account will be exposed as a resource:

  • Custom wegene:// URI scheme for accessing each individual report
  • A report resource has a name, description and application/json mimetype

Tools

The server implements one tool:

  • wegene-oauth: Start a WeGene Open API oAuth process in the browser
    • The user should complete the authorization in 120 seconds so LLM will be able to further access the reports.
  • wegene-get-profiles: Read the profile list under a user's WeGene account
    • Profiles' name and id will be returned for LLM to use.
  • wegene-get-report-info: Return the report meta info so LLM will know what reports are available.
    • A list of report names, descriptions, endpoints, etc. will be returned
  • wegene-get-report: Read the results of a single report under a profile
    • Returns the result JSON specified in WeGene's Open API platform
    • Arguements
      • report_endpoint: The report's endpoint to be retrieved from
      • report_id: The report's id to be retrieved
      • profile_id: The profile id to retrieve report from

Configuration

  • You will need WeGene Open API key/secret to use this project.
  • Copy .env.example as .env and update the key and secret in the file.

Quickstart

Install

Installing via Smithery

To install WeGene Assistant for Claude Desktop automatically via Smithery:

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

Insall Locally

Prepare MCP Server
  1. Clone this project
  2. Run uv sync --dev --all-extras under the project's root folder
Claude Desktop Configuration
  • On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • On Windows: %APPDATA%/Claude/claude_desktop_config.json

Add below contents in the configuration file:

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

Related MCP Servers & Clients