NetMeta MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
NetMeta MCP Server
An MCP (Model Context Protocol) server that provides network meta-analysis capabilities using the R netmeta package.
netmeta Version
This MCP server uses a pinned version of netmeta from the develop branch:
Property | Value |
Repository | |
Branch | develop |
Version | 3.3-0 |
Commit |
|
Date | 2025-10-29 |
See NETMETA_VERSION file for details.
Related MCP server: Cochrane Meta-Analysis MCP Server
Overview
This server enables AI assistants to perform network meta-analysis, a statistical technique for comparing multiple treatments simultaneously using both direct and indirect evidence from randomized controlled trials.
Available Tools
Tool | Description |
| Convert CSV data to JSON format for netmeta |
| Run network meta-analysis on pairwise contrast data |
| Get the network structure as nodes and edges |
| Get all pairwise treatment comparisons |
| Get treatment rankings using P-scores |
| Get data for forest plot visualization |
| Convert arm-level data to pairwise contrasts |
Deployment Options
Option 1: Public Hosted Server
A public hosted server will soon be available at:
Server | URL | Status |
CINeMA |
| Coming soon |
No installation required for hosted servers. Simply configure your MCP client to connect to the URL:
{
"mcpServers": {
"netmeta": {
"url": "https://cinema.med.auth.gr/mcp-netmeta"
}
}
}Option 2: Self-Hosted (Native Installation)
For local development or when you want to run your own server.
Prerequisites
Python 3.10+
R 4.0+
Conda (recommended) or pip
Step 1: Clone and Setup
# Clone the repository
git clone https://github.com/tpapak/mcp-netmeta.git
cd mcp-netmeta
# Create conda environment
conda env create -f environment.yml
conda activate netmeta-mcpStep 2: Install netmeta R package
Install the pinned version of netmeta from GitHub:
conda activate netmeta-mcp
R -e "remotes::install_github('guido-s/netmeta@5ecfc1d7739c3df360a694d60af0563bc43d68ea')"Step 3: Install the MCP Server
pip install -e .Step 4: Run the Server
Stdio transport (for local MCP clients):
conda activate netmeta-mcp
netmeta-mcpHTTP transport (for web access):
conda activate netmeta-mcp
python -m netmeta_mcp.http_serverServer runs at http://localhost:8000/mcp
MCP Client Configuration (Native - Stdio)
{
"mcpServers": {
"netmeta": {
"command": "/path/to/conda/envs/netmeta-mcp/bin/python",
"args": ["-m", "netmeta_mcp.server"],
"cwd": "/path/to/mcp-netmeta"
}
}
}Example conda paths:
macOS (Homebrew):
/opt/homebrew/Caskroom/miniconda/base/envs/netmeta-mcp/bin/pythonmacOS (Miniforge):
~/miniforge3/envs/netmeta-mcp/bin/pythonLinux:
~/miniconda3/envs/netmeta-mcp/bin/python
MCP Client Configuration (Native - HTTP)
{
"mcpServers": {
"netmeta": {
"url": "http://localhost:8000/mcp"
}
}
}Usage Guide
For detailed usage instructions, including:
MCP client configurations (Claude Desktop, Cursor, Cline, Continue, OpenCode)
ellmer (R) integration with examples
Example prompts and workflows
Data format reference
Troubleshooting
See the Usage Guide.
Quick Example
Run a network meta-analysis on this data:
study,treat1,treat2,TE,seTE
Study1,Placebo,DrugA,0.5,0.2
Study2,Placebo,DrugB,0.8,0.25
Study3,DrugA,DrugB,0.3,0.22
Use odds ratio as the summary measure and Placebo as reference.
Show me the treatment rankings.License
GPL-3.0 License
References
Rücker G, Krahn U, König J, Efthimiou O, Davies A, Papakonstantinou T, Schwarzer G (2024). netmeta: Network Meta-Analysis using Frequentist Methods. R package.
ellmer: Call LLM APIs from R. https://github.com/tidyverse/ellmer
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
197 MCP tools for medical research: 168 deterministic engines + 26 AI writers; 46 by default.
A statistical analyst in your AI chat: bring data and a question, get a citable, re-runnable report.
Clean messy tabular data and render publication-ready PNG charts from your AI assistant.
Query your data in plain English or SQL, build datasets, and fit Bayesian models.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to search and access clinical trial data from ClinicalTrials.gov, including searching trials by keywords, retrieving detailed trial metadata by NCT ID, and managing trial data in CSV format for research and analysis.18-
- AlicenseAqualityDmaintenanceEnables AI-assisted meta-analysis workflows following Cochrane methodological standards, including importing RevMan data, validation, meta-analysis, forest plots, publication bias assessment, and report generation.61MIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI assistant to run systematic review screening steps such as creating projects, importing records, scoring and ranking them with a zero-shot LLM classifier, presenting records for human decisions, applying a statistical stopping criterion, and exporting results. Human reviewers retain responsibility for inclusion decisions, with probabilities hidden unless requested.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceConnects your own AI agent to a systematic review and meta-analysis workbench, exposing tools for protocol, search, deduplication, screening, full-text handling, data extraction, risk of bias, meta-analysis, GRADE and PRISMA. The agent drafts suggestions that you review and accept or dismiss in the app, keeping a human in the loop.1MIT