# Cosyte CLI MCP server

> Provides a command-line interface and MCP server for parsing, validating, and converting healthcare data formats like HL7 v2, FHIR R4, and DICOM.

- Repository: https://github.com/cosyte/cli
- Page: https://hostedmcp.org/servers/cosyte/cli
- Transport: stdio
- Stars: 0
- License: MIT

## Install

### Claude Code

```sh
claude mcp add cli -- npx -y @cosyte/cli
```

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

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@cosyte/cli"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cosyte/cli"
      ]
    }
  }
}
```

### VS Code CLI

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

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

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@cosyte/cli"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add cli -- npx -y @cosyte/cli
```

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

```toml
[mcp_servers.cli]
command = "npx"
args = ["-y", "@cosyte/cli"]
```

### Gemini CLI

```sh
gemini mcp add -s user cli npx -- -y @cosyte/cli
```

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

```json
{
  "mcpServers": {
    "cli": {
      "command": "npx",
      "args": [
        "-y",
        "@cosyte/cli"
      ]
    }
  }
}
```

## FAQ

### What healthcare formats does Cosyte support?

The CLI supports HL7 v2, FHIR R4, X12, ASTM, NCPDP, C-CDA, DICOM, and MLLP.

### Is the tool safe for handling PHI?

Yes, it is designed to be PHI-safe, using a value-free diagnostic posture that avoids emitting sensitive values unless the --unsafe-show-values flag is used.
