# phi-longevity-prism MCP server

> Enables AI assistants to help people manage long-term conditions by accessing medical record guidance, appointment preparation, and lab result explanations.

- Repository: https://github.com/Philongevity/phi-mcp-server
- Page: https://hostedmcp.org/servers/philongevity/phi-mcp-server
- Transport: stdio, remote
- Stars: 0
- License: Apache-2.0
- Latest version: 0.7.3

## Install

### Claude Code

```sh
claude mcp add phi-mcp-server -- npx -y @phi-longevity/mcp-server
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "phi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@phi-longevity/mcp-server"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "phi-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@phi-longevity/mcp-server"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"phi-mcp-server","type":"stdio","command":"npx","args":["-y","@phi-longevity/mcp-server"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "phi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@phi-longevity/mcp-server"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add phi-mcp-server -- npx -y @phi-longevity/mcp-server
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.phi-mcp-server]
command = "npx"
args = ["-y", "@phi-longevity/mcp-server"]
```

### Gemini CLI

```sh
gemini mcp add -s user phi-mcp-server npx -- -y @phi-longevity/mcp-server
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "phi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@phi-longevity/mcp-server"
      ]
    }
  }
}
```

## Tools (3)

- `quick_check`: Offline fallback (the hosted server is unreachable): flag a few biomarker values against PRISM's longevity-optimized reference ranges. Made-up or de-identified data only. Do NOT submit protected health information (PHI). This package stores nothing.
- `list_supported_biomarkers`: Offline fallback: the biomarkers PRISM scores, with units and reference ranges.
- `get_methodology`: Offline fallback: how the Phi Longevity Score works, with a link to the full methodology.

## FAQ

### Can I use this with real patient health information (PHI)?

No, this server is for synthetic or de-identified data only. Real health files are analyzed only inside the authenticated Phi Longevity app after consent.

### Is there a cost to use the tools?

Most tools are free, but the full_prism_report is a paid developer option.
