BioNext-mcp

BioNext-mcp

Enables bioinformatics analysis through natural language conversations with Claude Desktop, automatically generating and executing Python scripts to produce HTML reports and visualizations.

Category
访问服务器

README

BioNext-MCP: Intelligent Bioinformatics Analysis Assistant

The simplest way to perform bioinformatics analysis through Claude Desktop - just chat in natural language, no programming required!

License: MIT Python Windows

中文版 | English

🎯 What is this?

BioNext-MCP allows you to perform complex bioinformatics analysis through natural language conversations with Claude Desktop, without writing any code!

Simply put:

  • 🗣️ Tell Claude what data you want to analyze in plain English
  • 🤖 Claude automatically generates professional Python analysis scripts
  • ⚡ System automatically executes scripts and displays results
  • 📊 Get beautiful HTML reports and visualization charts

✨ Key Features

🧬 Supported Analysis Types

  • Single-cell RNA sequencing (scRNA-seq) - Cell clustering, differential expression, trajectory analysis
  • Genomics - Variant analysis, annotation, functional enrichment
  • Transcriptomics - Differential expression, pathway analysis, co-expression networks
  • Proteomics - Protein identification, quantitative analysis
  • Multi-omics integration - Data fusion, correlation analysis

🎨 Smart Features

  • Automatic environment setup - Detects Python, auto-installs required packages (pandas, numpy, matplotlib, etc.)
  • UTF-8 encoding support - Perfect support for international characters
  • Visualization-first - Automatically generates charts and displays them in HTML reports
  • Quality assurance - Focuses on code completeness and analysis accuracy
  • Error handling - Smart diagnosis of issues with solution suggestions

🚀 Quick Start

Step 1: Install Python Environment

Recommended: Official Website Installation

  1. Visit https://www.python.org/downloads/
  2. Download Python 3.9 or higher
  3. Make sure to check "Add Python to PATH" during installation

Verify Installation

Open command prompt and type:

python --version

If you see version information, installation was successful!

Step 2: Install BioNext-MCP

  1. Download Project
git clone https://github.com/your-username/BioNext-mcp.git
cd BioNext-mcp
  1. Install Dependencies
npm install
npm run build

Step 3: Configure Claude Desktop

  1. Find Configuration File

    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add Configuration

{
  "mcpServers": {
    "bioinformatics-workflow": {
      "command": "node",
      "args": ["D:\\path\\to\\BioNext-mcp\\dist\\index.js"],
      "cwd": "D:\\path\\to\\BioNext-mcp",
      "env": {
        "PROJECT_PATH": "D:\\path\\to\\your\\analysis\\directory"
      }
    }
  }
}

Important:

  • Replace paths with your actual installation paths
  • Set analysis directory to where you want results saved
  1. Restart Claude Desktop

💡 How to Use

Basic Conversation Flow

  1. Describe Your Analysis Needs
I have a single-cell RNA sequencing data file data.h5ad, and I want to perform cell clustering analysis and differential expression analysis
  1. Claude will generate analysis scripts and execute them automatically
  2. Get detailed HTML reports including:
    • Execution results and statistics
    • Generated charts and visualizations
    • Complete analysis logs

Practical Examples

🧪 Single-cell Analysis

Please help me analyze this scRNA-seq data:
- File: C:\data\pbmc3k.h5ad
- Need: quality control, normalization, clustering, marker gene identification
- Output: UMAP plot, clustering heatmap, differential expression gene list

🧬 Gene Expression Analysis

I have RNA-seq expression matrices from two groups:
- Control group: control_samples.csv
- Treatment group: treatment_samples.csv
- Analysis: differential expression, GO enrichment, KEGG pathway analysis
- Visualization: volcano plot, heatmap, pathway diagrams

📊 Data Exploration

Help me explore this gene expression dataset:
- File: gene_expression.csv
- Need: data overview, correlation analysis, PCA analysis
- Generate: statistical summary, correlation heatmap, PCA plot

🎨 Beautiful Reports

HTML Report Features

  • 📊 Visualization Gallery - Automatically detects and displays generated images
  • 🔍 Interactive Viewing - Click images to zoom and view
  • 📝 Detailed Logs - Complete execution process records
  • 📈 Statistical Summary - Script execution status and performance metrics

Automatic Browser Opening

  • Reports automatically open in browser after analysis completion
  • If not auto-opened, manually open the generated HTML file

🛠️ Common Issues

Python-related

Q: "Python not found" error? A: Ensure Python is installed and added to PATH environment variable

Q: Package installation fails? A: System will automatically retry, or manually run pip install package_name

Analysis-related

Q: Script execution fails? A:

  • Check if data file paths are correct
  • Confirm data format meets requirements
  • Check error logs for detailed information

Q: No HTML report generated? A: HTML reports are only generated when all scripts execute successfully, fix execution errors first

Data Formats

Q: What data formats are supported? A:

  • CSV, TSV, Excel files
  • HDF5 format (.h5, .h5ad)
  • FASTA, FASTQ sequence files
  • VCF variant files
  • Other common bioinformatics formats

🎯 Usage Tips

1. Clear Description of Needs

✅ Good description:
"Analyze single-cell data, perform quality control (filter low-quality cells), normalization, dimensionality reduction (PCA+UMAP), clustering (leiden algorithm), find marker genes for each cluster"

❌ Vague description:
"Analyze this data"

2. Provide Complete File Paths

✅ Use absolute paths:
"C:\Users\username\data\sample.h5ad"

❌ Relative paths may fail:
"./data/sample.h5ad"

3. Specify Output Requirements

✅ Clear output:
"Generate UMAP plot, heatmap, save results to CSV file"

❌ Unclear:
"Do some visualization"

4. Step-by-step Analysis

For complex analyses, break into multiple conversations:

  1. First: Data loading and quality control
  2. Second: Normalization and dimensionality reduction
  3. Third: Clustering and visualization
  4. Fourth: Differential analysis

🎉 Start Your Bioinformatics Journey

You're ready now! Open Claude Desktop, tell it what data you want to analyze, and let AI handle the complex bioinformatics analysis for you!


📞 Get Help

  • GitHub Issues: Report problems or suggest improvements
  • Documentation: View detailed usage documentation
  • Examples: Reference example analysis cases

Remember: Describe your analysis needs in natural language, Claude will handle all the technical details for you! 🚀

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选