MCP.Market

IBM Db2 for i MCP server

by Strom-Capital·io.github.Strom-Capital/mcp-server-db2i·v3.8.7·27 stars

Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).

A85/100grade A
What users say
No reviews yet
Be the first
Safety scan
A85/100

not scanned yet

Adoption
Established

27 stars774 downloads/wk

Reviews

Write one

Nobody has reviewed IBM Db2 for i yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

IBM Db2 for i tools

No tool declarations could be read from the package source. They show once the server is installed.

Not scanned yet. New listings are scanned within a day or two of arriving.

How IBM Db2 for i compares

Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
85/100
higher than 70% of 802 Databases servers
GitHub stars
27
more than 85% of 604 Databases servers
Downloads a week
774
more than 90% of 411 Databases servers with a package

Release history: 21 versions in the registry since 2026-09-23, latest 2026-11-11, typically one every 1 day.

Install IBM Db2 for i in Claude Code, Cursor or VS Code

Runs npx -y mcp-server-db2i on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add mcp-server-db2i -- npx -y mcp-server-db2i
Add to Cursor

What the publisher says

From the IBM Db2 for i repository's README, as published. We do not edit it. Read it on GitHub

mcp-server-db2i

A Model Context Protocol (MCP) server for IBM DB2 for i (DB2i). This server enables AI assistants like Claude and Cursor to query and inspect IBM i databases using the JT400 JDBC driver.

Listed in the MCP Registry as io.github.Strom-Capital/mcp-server-db2i.

Architecture

AI clients connect to the MCP Server via stdio (IDEs) or HTTP (agents), which executes read-only queries against DB2 for i using the JT400 JDBC driver.

graph LR
    subgraph clients ["AI Clients"]
        claude("Claude")
        cursor("Cursor IDE")
        agents("Custom Agents")
    end

    subgraph server ["MCP Server"]
        stdio["stdio"]
        http["HTTP + Auth"]
        tools[["MCP Tools"]]
        jdbc["JT400 JDBC"]
    end

    subgraph ibmi ["IBM i"]
        db2[("DB2 for i")]
    end

    claude & cursor -->|MCP Protocol| stdio
    agents -->|REST API| http
    stdio & http --> tools
    tools --> jdbc
    jdbc -->|JDBC| db2

Features

  • Read-only SQL queries - Execute SELECT statements safely with automatic result limiting
  • Schema inspection - List all schemas/libraries with optional filtering
  • Table metadata - List tables, describe columns, view indexes and constraints
  • View inspection - List and explore database views
  • Secure by design - Only SELECT queries allowed, credentials via environment variables
  • Docker support - Run as a container for easy deployment
  • HTTP Transport - REST API with token authentication for web/agent integration
  • Current MCP spec - Speaks 2026-07-28 and still serves stateless 2025-era clients
  • Dual Transport - Run stdio and HTTP simultaneously
  • Tool selection - Enable or disable individual tools, e.g. a metadata-only mode without execute_query
  • Business SQL tools - Load read-only ERP queries and table notes from YAML. See Business SQL tools
  • Compact responses - Compact JSON by default, or markdown tables to save tokens

Quick Start

Installation

npm install -g mcp-server-db2i

Or with Docker:

docker build -t mcp-server-db2i .

Configuration

Create a .env file with your IBM i credentials:

DB2I_HOSTNAME=your-ibm-i-host.com
DB2I_USERNAME=your-username
DB2I_PASSWORD=your-password
DB2I_SCHEMA=your-default-schema  # Optional

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

IBM Db2 for i: common questions

Is IBM Db2 for i MCP server safe?
Yes, by our scan: it is graded A (85/100). Read the IBM Db2 for i safety report
How do I install IBM Db2 for i?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does IBM Db2 for i need an API key?
Yes. The registry entry asks for DB2I_PASSWORD.
Is IBM Db2 for i maintained?
The last commit was 14 days ago (2026-11-01). The latest release is v3.8.7.
What can I use instead of IBM Db2 for i?
Servers from other publishers that do the same job: LINQ to DB MCP server, StackQL MCP Server and Magic Cloud MCP server. Compare all IBM Db2 for i alternatives.
How does IBM Db2 for i compare with other Databases MCP servers?
safety score 85/100 (higher than 70% of 802 Databases servers); github stars 27 (more than 85% of 604 Databases servers); downloads a week 774 (more than 90% of 411 Databases servers with a package). Full comparison.

Alternatives to IBM Db2 for i

Same job from other publishers: the closest match first, then the best rated.

All IBM Db2 for i alternatives →
  • LINQ to DB
    Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
    A
  • StackQL MCP Server
    SQL-native query and provisioning engine for cloud infrastructure, served over MCP.
    A
  • Magic Cloud
    Generate secured CRUD APIs over your database, run SQL, manage files, tasks and a headless browser
    A
  • QueryWeaver
    An MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.
    A
  • Grain SQL
    Run SQL queries and inspect database schemas through safe, visible MCP tools.
    B