IRIS Data & Analytics MCP Server
MCP server giving AI clients DocDB document, DeepSee analytics and REST app access
IRIS Data & Analytics MCP Server is an open-source MCP server for analytics and data. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- API, CLI, Self-hosted
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 1.2.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add iris-data-mcp --env IRIS_USERNAME='<IRIS_USERNAME>' --env IRIS_PASSWORD='<IRIS_PASSWORD>' -- npx -y @iris-mcp/dataAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"iris-data-mcp": {
"command": "npx",
"args": [
"-y",
"@iris-mcp/data"
],
"env": {
"IRIS_USERNAME": "<IRIS_USERNAME>",
"IRIS_PASSWORD": "<IRIS_PASSWORD>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add iris-data-mcp --env IRIS_USERNAME='<IRIS_USERNAME>' --env IRIS_PASSWORD='<IRIS_PASSWORD>' -- npx -y @iris-mcp/dataOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.iris-data-mcp]
command = "npx"
args = ["-y", "@iris-mcp/data"]
env = { IRIS_USERNAME = "<IRIS_USERNAME>", IRIS_PASSWORD = "<IRIS_PASSWORD>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"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
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
IRIS_HOSTHost name of the IRIS web server (a bare host name, not a URL).IRIS_PORTPort of the IRIS web server (the Management Portal port).IRIS_USERNAMEThe IRIS user the server connects as.RequiredIRIS_PASSWORDThe password of that IRIS user.RequiredIRIS_NAMESPACEThe namespace the server works in by default.IRIS_HTTPSConnect to the IRIS web server over HTTPS.
About IRIS Data & Analytics MCP Server
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.
Tools this server provides (8)
Taken from the project documentation; the running server may differ.
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_findName 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.
What it does
- 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
Pricing
Open source
IRIS Data & Analytics MCP Server 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.