Skip to content
MCP server
Registry

IBM Db2 for i MCP Server

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

IBM Db2 for i scores 50 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 23 tools. Filed under Databases, Developer tools. GitHub shows 31 stars. Package registries report about 322 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by strom-capitalMITTypeScript31 stars
Trust score
50Fair
Trust score 50 of 100, Fair

Fair trust

50 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
  • License: Grade A

    MIT is a permissive open source license.

    How license is graded
  • Quality: Grade B

    77/100 for listing completeness. Lost points: short README, 1 of 20 tools barely described, short summary.

    How quality is graded
  • Maintenance: Grade B

    Last commit or release 4 days ago. Down one letter for 24 open issues against 31 stars.

    How maintenance is graded
Trust breakdown

Where the 50 comes from

0 + 20 + 9 + 10 + 4 + 7 = 50. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity9 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 9 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "strom-capital-mcp-server-db2i": {      "command": "npx",      "args": [        "-y",        "mcp-server-db2i@3.8.9"      ],      "env": {        "DB2I_HOSTNAME": "",        "DB2I_USERNAME": "",        "DB2I_PASSWORD": "YOUR_DB2I_PASSWORD",        "DB2I_SCHEMA": "",        "DB2I_PROFILES": "",        "QUERY_ALLOWED_SCHEMAS": "",        "DB2I_DRIVER": "odbc",        "DB2I_JDBC_OPTIONS": "",        "DB2I_ODBC_OPTIONS": "",        "DB2I_MAPEPIRE_OPTIONS": ""      }    }  }}

Environment variables

NameRequiredNotes
DB2I_HOSTNAMERequiredIBM i hostname or IPv4 address
DB2I_USERNAMERequiredIBM i user profile
DB2I_PASSWORDSecretRequiredIBM i password
DB2I_SCHEMAOptionalDefault schema (library)
DB2I_PROFILESOptionalPath to a YAML file of IBM i systems. When set, it replaces the DB2I_* connection variables
QUERY_ALLOWED_SCHEMASOptionalComma-separated schemas the server may read. Empty disables the check.
DB2I_DRIVEROptionalDatabase driver: odbc (default, IBM i Access ODBC driver, no Java), jt400 (install node-jt400 next to the server; needs a JDK at install and a JRE at runtime) or mapepire (install @ibm/mapepire-js and ssh2; Mapepire over SSH, needs Java on the IBM i only)
DB2I_JDBC_OPTIONSOptionalExtra JT400 JDBC properties, semicolon-separated (jt400 and mapepire drivers)
DB2I_ODBC_OPTIONSOptionalExtra IBM i Access ODBC connection keywords, semicolon-separated (odbc driver)
DB2I_MAPEPIRE_OPTIONSOptionalSSH and Mapepire settings, semicolon-separated, e.g. hostKey=SHA256:...;agent=true;maxJobs=2 (mapepire driver)

Tools23Tool docs quality grade B

All capabilities
  • Parameters, return value or result columns, and a call template for a procedure or function

  • Get detailed column information

  • Execute read-only SELECT queries, with an optional chart hint for the result view

  • explain_tableresource

    schema, table

  • explore_libraryresource

    schema

  • Write every row of a read-only query to a CSV or XLSX file: a path over stdio, a short-lived download link over HTTP. Off unless EXPORTENABLED is set

  • List business descriptions, row filters and relations loaded from YAML

  • List journal, images, and primary key per table, and flag tables a replication tool cannot read

  • Return the SQL DDL that recreates an object

  • List objects that depend on a table

  • Get primary keys, foreign keys, unique constraints

  • List the indexes the query optimizer asked for in a library, merged and ranked by temporary index use

About

Read-only MCP server that lets Claude, Cursor and other AI assistants query IBM Db2 for i (IBM i, AS/400). People sign in with their own IBM i user; library allowlist, column masking and audit log. Self-hosted, over ODBC, JDBC or Mapepire (SSH).

Frequently asked questions

What is IBM Db2 for i MCP Server?

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

How do I install IBM Db2 for i MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. IBM Db2 for i MCP Server runs locally from the npm package mcp-server-db2i with the command npx -y mcp-server-db2i@3.8.9.

Is IBM Db2 for i MCP Server free and open source?

Yes. IBM Db2 for i MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does IBM Db2 for i MCP Server support remote (HTTP) connections?

No remote endpoint is listed for IBM Db2 for i MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does IBM Db2 for i MCP Server provide?

IBM Db2 for i MCP Server provides 20 tools, including describe_routine, describe_table, execute_query, and export_query. See the full tool list for descriptions and parameters.

How is IBM Db2 for i MCP Server's trust score calculated?

IBM Db2 for i MCP Server scores 50 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server