# ROBINS-I V2 MCP

Evaluates risk of bias in non-randomized cohort studies using ROBINS-I V2 with deterministic quote resolution and scoring graphs.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: Black-Swan-Causal-Labs
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Black-Swan-Causal-Labs/robins-i-mcp
- Updated: 2026-08-05
- HTML: https://affpapa.org/en/nevibecode/mcp/robins-i-v2-mcp

## What it does

The server runs structured risk of bias assessments for observational cohorts and target trial emulations. Instead of letting an LLM generate arbitrary scores, it limits the model to answering signalling questions with verbatim excerpts. A deterministic engine verifies each excerpt against character positions in the document bundle, while six domain algorithms compute the verdicts through explicit graphs.

Evaluating confounding in domain 1 is hard-blocked until you provide external confounders via `set_prespecified_confounders`. You must also define protocol adherence via the `C4` parameter in `specify_result`, which chooses between intention-to-treat and per-protocol pathways. Omission of supplementary files causes missing-information judgements, because authors rarely put target trial emulation details in main article bodies.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add robins-i-mcp -- uvx robins-i-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from robins-i-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add robins-i-v2-mcp -- uvx robins-i-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from robins-i-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "robins-i-v2-mcp": {
            "command": "uvx",
            "args": [
                "robins-i-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from robins-i-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "robins-i-v2-mcp": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "robins-i-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from robins-i-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add robins-i-v2-mcp uvx robins-i-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from robins-i-mcp <command>

## When to use it
- Calculate risk of bias metrics via deterministic ROBINS-I V2 graphs
- Validate extracted paper excerpts against exact character offsets
- Verify absent methodological details through automated manuscript searches
- Export multi-study assessment records into CSV tables for `robvis`

## Example prompts
- Ingest the paper using `parse_pmcid` with PMC1234567 and inspect its structure
- Supply our baseline confounder list using `set_prespecified_confounders` and run domain 1
- Compile all generated session records into a `robvis` CSV via `export_robvis`

## Similar
- [Zotero MCP](https://affpapa.org/en/nevibecode/mcp/zotero-mcp.md) — MCP server · ★ 5585
- [arxiv-mcp-server](https://affpapa.org/en/nevibecode/mcp/arxiv-mcp-server.md) — MCP server · ★ 3235
- [PaperBanana](https://affpapa.org/en/nevibecode/mcp/paperbanana.md) — MCP server · ★ 2418
- [MATLAB MCP Server](https://affpapa.org/en/nevibecode/mcp/matlab-mcp-server.md) — MCP server · ★ 1723
- [Hex Research](https://affpapa.org/en/nevibecode/mcp/hex-research.md) — MCP server · ★ 584
- [DocsAgent — Zotero, Obsidian & Apple Notes MCP Server](https://affpapa.org/en/nevibecode/mcp/docsagent-zotero-obsidian-apple-notes-mcp-server.md) — MCP server · ★ 578

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
