Mmcp.market

IBM DB2 for i MCP server

by Strom-Capital·io.github.Strom-Capital/mcp-server-db2i·v2.3.0

Read-only SQL queries and schema inspection for IBM DB2 for i (AS/400). Requires Java.

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

not scanned yet

Adoption
Growing

20 stars125 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 registry listings are scanned within a day of import.

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.

Install directly

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

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, Claude Desktop or Cursor 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 in the last day (2026-09-23). The latest release is v2.3.0.
What can I use instead of IBM DB2 for i?
Servers from other publishers that do the same job: LINQ to DB MCP server, Grain MCP server and Snowflake MCP Server. Compare all IBM DB2 for i alternatives.

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
  • Grain
    Run SQL queries and inspect database schemas through safe, visible MCP tools.
    B
  • Snowflake MCP Server
    A Snowflake MCP server — SQL queries, schema exploration, and data insights for AI assistants
    B
  • Schemacrawler AI
    Enables natural language schema queries — explore tables, keys, procedures, and get SQL help fast
    B
  • Microsoft SQL Server
    Read-only-by-default SQL Server: schema, parameterized SELECT, execution plans; writes opt-in.
    B

More from Strom-Capital