Skip to main content

A FastMCP server for publication-quality bioinformatics visualization

Project description

BioVis-MCP Logo

🧬 BioVis-MCP: Automated Bioinformatics Visualization

"From raw data to publication-ready figures in seconds."

BioVis-MCP is a high-performance Model Context Protocol (MCP) server that empowers Large Language Models (like Claude) with the ability to generate publication-quality (300 DPI) bioinformatics visualizations directly from raw biological data.

No more manual Matplotlib tweaking. Just send the data, and get a verified, manuscript-ready image path.


✨ Features (Phases 1-3)

📊 Visualization Suite

  • Volcano Plots: High-resolution visualization of differential expression, with automated significance highlighting (Up/Down regulated).
  • PCA Plots: Principal Component Analysis for sample relationship and variance insights.
  • Expression Heatmaps: Professional heatmaps with hierarchical clustering and customizable colormaps.
  • MA Plots: Classic M-versus-A plots for global genomic trends.
  • Pathway Enrichment: Horizontal bar charts and dynamic Bubble Charts (Gene Count vs. Significance).

📝 Reporting & AI Integration

  • Smart Figure Captions: Context-aware, statistically accurate scientific captions generated automatically.
  • Comprehensive Reports: Multi-figure assembly into professional PDF and DOCX documents.
  • High DPI Standards: All figures are generated at 300 DPI using bbox_inches='tight' for Q1 journal compliance.

🛠️ Tech Stack

  • Framework: FastMCP
  • Libraries: Pandas, Scikit-learn, Scipy, Matplotlib, Seaborn
  • Export Formats: PNG (Figures), PDF & DOCX (Reports)

🚀 Installation & Setup

1. Prerequisites

Ensure you have Python 3.10+ installed.

# Option A: Install from PyPI (Recommended)
pip install biovis-mcp

# Option B: Clone for development
git clone https://github.com/ZaEyAsa/biovis-mcp.git
cd biovis-mcp
pip install -e .

2. Connect to Claude Desktop

To integrate BioVis-MCP into your Claude Desktop, edit your claude_desktop_config.json file:

Location (Windows): %APPDATA%\Claude\claude_desktop_config.json

Add this configuration:

{
  "mcpServers": {
    "BioVis-MCP": {
      "command": "C:\\path\\to\\python.exe",
      "args": [
        "C:\\path\\to\\biovis-mcp\\server.py"
      ],
      "env": {
        "PYTHONPATH": "C:\\path\\to\\biovis-mcp"
      }
    }
  }
}

[!IMPORTANT]

  • Replace C:\\path\\to\\python.exe with your actual Python executable path (find it using where python in CMD).
  • Replace C:\\path\\to\\biovis-mcp with the absolute path to your project directory.
  • Restart Claude Desktop after saving the configuration.

📖 Available Tools

  • generate_volcano_plot(data, title, fc_threshold, pval_threshold)
  • generate_bar_enrichment(data, title, top_n, color)
  • generate_heatmap_plot(data, title, cluster, cmap)
  • generate_pca_plot(data, metadata, title, group_col)
  • generate_bubble_enrichment(data, title, top_n)
  • generate_ma_plot(data, title, pval_threshold)
  • get_figure_caption(tool_type, stats)
  • create_report(figures_with_captions, format, report_name)

📁 Output Structure

  • /figures: High-resolution PNG files.
  • /reports: Formatted PDF and DOCX documents.

Developed by ZaEyAsa — Your Advanced Agentic Bio-Visualization Assistant.


BioVis-MCP Footer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biovis_mcp-0.1.0.tar.gz (111.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biovis_mcp-0.1.0-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file biovis_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: biovis_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 111.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for biovis_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9b6af385c3e2431bbe0d589e63acf7f664eca2ece43a76f3ee8987bb8586615a
MD5 06de0ad969e8477820e4be2c739a5e1d
BLAKE2b-256 8e52c3beafd91d27061fe297b26db6b7fedc9c899619c82459b4d255ba340cd2

See more details on using hashes here.

File details

Details for the file biovis_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: biovis_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for biovis_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c7954db7571206091636c78c237a9c572eb824131b0040173e2d50b4e3c3370
MD5 aedc607d853037eb09ed4b3833750252
BLAKE2b-256 b5135143dc12d047adaa19116722d9149a79f4488854f1bb08285c8b82346178

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page