# IRIS Data & Analytics MCP Server

> IRIS Data & Analytics MCP Server is an open-source MCP server for analytics and data. MCP server giving AI clients DocDB document, DeepSee analytics and REST app access. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** API, CLI, Self-hosted
- **Repository:** https://github.com/jbrandtmse/iris-execute-mcp-v2/tree/HEAD/packages/iris-data-mcp
- **MCP Registry name:** io.github.jbrandtmse/iris-data-mcp
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data), [databases](https://ai-powered.com/categories/databases)
- **Listing updated:** 2026-11-27

## About

Connects an AI client to an InterSystems IRIS instance and lets it work with three areas: DocDB document databases, DeepSee analytics cubes queried with MDX, and REST application listing and cleanup. Documents can be inserted, fetched, updated, deleted and filtered with MongoDB-style operators, and properties can be defined and indexed on each database.

The server runs over stdio from an npm package and reads its connection from environment variables for host, port, username, password and default namespace. Every tool accepts a namespace override, and optional governance, data-policy and audit-log settings can restrict which actions are available. Those controls protect the agent using the server; the IRIS account's own privileges remain the real boundary.

It suits developers and integrators who run IRIS and want an assistant to inspect or manipulate DocDB data, check cube build status, or review REST endpoints during development.

## Features

- **DocDB document operations:** Insert, get, update, delete and query JSON documents in IRIS DocDB databases.
- **MongoDB-style filters:** Filter documents using $eq, $ne, $lt, $lte, $gt and $gte operators combined with AND.
- **DeepSee MDX queries:** Run MDX queries against DeepSee cubes and receive rows and column values.
- **Cube management:** List, build and synchronize DeepSee cubes with build timestamps and fact counts.
- **REST application review:** List, inspect and delete spec-first and hand-written REST applications.
- **Governance and audit controls:** Optional per-profile policy, data-redaction settings and a tool-call audit log.

## Good for

- Query and filter stored documents in an IRIS DocDB database from an AI assistant
- Run MDX analytics against DeepSee cubes without writing query code by hand
- Check when DeepSee cubes were last built and trigger rebuilds
- Review which REST applications are deployed on an IRIS namespace
- Manage multiple IRIS instances from one server using named profiles

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add iris-data-mcp --env IRIS_USERNAME='<IRIS_USERNAME>' --env IRIS_PASSWORD='<IRIS_PASSWORD>' -- npx -y @iris-mcp/data
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add iris-data-mcp --env IRIS_USERNAME='<IRIS_USERNAME>' --env IRIS_PASSWORD='<IRIS_PASSWORD>' -- npx -y @iris-mcp/data
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.iris-data-mcp]
command = "npx"
args = ["-y", "@iris-mcp/data"]
env = { IRIS_USERNAME = "<IRIS_USERNAME>", IRIS_PASSWORD = "<IRIS_PASSWORD>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e IRIS_USERNAME='<IRIS_USERNAME>' -e IRIS_PASSWORD='<IRIS_PASSWORD>' iris-data-mcp npx -- -y @iris-mcp/data

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "iris-data-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@iris-mcp/data"
      ],
      "env": {
        "IRIS_USERNAME": "<IRIS_USERNAME>",
        "IRIS_PASSWORD": "<IRIS_PASSWORD>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 8 tools reads data; 7 names don't say. From the server's own tool labels and tool names; not verified by us.

- `iris_server_profiles`: Reports configured server profiles and effective governance policy.
- `iris_docdb_manage`: Create, drop, or list document databases.
- `iris_docdb_document`: Insert, get, update, or delete documents.
- `iris_docdb_find` (name suggests: reads): Query documents with filter criteria.
- `iris_docdb_property`: Create, drop, or index document properties.
- `iris_analytics_mdx`: Execute MDX queries against DeepSee.
- `iris_analytics_cubes`: List, build, or synchronize DeepSee cubes.
- `iris_rest_manage`: List, get details, or delete REST applications.

## FAQ

### Why do DocDB tools return an access denied error?

The %Service_DocDB service is disabled by default on IRIS. It must be enabled in the Management Portal or through the iris_service_manage tool, which needs a governance override.

### Which environment variables are required?

IRIS_USERNAME and IRIS_PASSWORD are required. Host, port, namespace and HTTPS settings have defaults of localhost, 52773, USER and false.

### Can I restrict read access to documents?

Setting IRIS_DATA_POLICY to block turns off the raw-read tools, including get, delete with return, and find. An explicit governance key can re-enable one of them.

### How are MongoDB-style filters translated?

Operators are converted into IRIS DocDB restriction predicates, and multiple fields are combined with AND. Properties must exist on the database and their type must match the comparison.

### Is IRIS Data & Analytics MCP Server free?

Yes. IRIS Data & Analytics MCP Server is open source, so you can use and self-host it for free.

### How do I add IRIS Data & Analytics MCP Server to Claude Code?

Run this command in your terminal: claude mcp add iris-data-mcp --env IRIS_USERNAME='<IRIS_USERNAME>' --env IRIS_PASSWORD='<IRIS_PASSWORD>' -- npx -y @iris-mcp/data

### What are the best alternatives to IRIS Data & Analytics MCP Server?

The closest alternatives to IRIS Data & Analytics MCP Server are IRIS Administration MCP Server, IRIS Development Tools MCP Server, Metabase Ai Assistant, db-mcp (SQLite MCP Server) and icedq-tools.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [IRIS Administration MCP Server](https://ai-powered.com/mcp/iris-administration-mcp-server): IRIS Administration MCP Server is an open-source MCP server for databases.
- [IRIS Development Tools MCP Server](https://ai-powered.com/mcp/iris-development-tools-mcp-server): IRIS Development Tools MCP Server is an open-source MCP server for developer tools.
- [Metabase Ai Assistant](https://ai-powered.com/mcp/metabase-ai-assistant): Metabase Ai Assistant is an open-source MCP server for analytics and data.
- [db-mcp (SQLite MCP Server)](https://ai-powered.com/mcp/db-mcp-sqlite-mcp-server): db-mcp (SQLite MCP Server) is an open-source MCP server for databases.
- [icedq-tools](https://ai-powered.com/mcp/icedq-tools): icedq-tools is an open-source MCP server for databases.
- [Mongodb MCP Server](https://ai-powered.com/mcp/mongodb-mcp-server): Mongodb MCP Server is an open-source MCP server for databases.
- [Metabase](https://ai-powered.com/mcp/metabase-2): Metabase is an open-source MCP server for analytics and data.
- [DB MCP](https://ai-powered.com/mcp/db-mcp): DB MCP is an open-source MCP server for databases.

---
Source: https://ai-powered.com/mcp/iris-data-and-analytics-mcp-server
