1. Conduid
  2. Data
  3. Db2i
MCP server · Data

Db2i

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).

Unclaimed MIT data
62Good

Scored 21 hours ago · breakdown

About Db2i

Db2i is an MCP server published by Strom-Capital in the Data category: 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). Conduid read 20 tools from its source: describe_routine, describe_table, execute_query, export_query, get_business_context, get_journal_info and 14 more. It is published to npm as mcp-server-db2i and starts with npx.

The repository has 31 stars and 8 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v3.8.1 (15 Oct 2026): Bug Fixes quieter KPI tiles that fit on one line (#306) (459044a). It follows v3.8.0 (15 Oct 2026), and the 5 most recent releases go back to v3.6.0 (9 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data.

Install

Claude Code
claude mcp add db2i -- npx -y mcp-server-db2i@latest
Run
npx -y mcp-server-db2i@latest
From source
git clone https://github.com/Strom-Capital/mcp-server-db2i

Tools (20)

describe_routineParameters, return value or result columns, and a call template for a procedure or function
ParameterTypeDescription
namestringRoutine name. Required unless specific_name is given.
schemastringSchema (library) containing the routine. ${SCHEMA_DEFAULT_HINT}
specific_namestringSpecific name of one overload, from list_routines.
describe_tableGet detailed column information
ParameterTypeDescription
schemastringSchema (library) name containing the table. ${SCHEMA_DEFAULT_HINT}
table *stringTable name to describe
execute_queryExecute read-only SELECT queries, with an optional `chart` hint for the result view
ParameterTypeDescription
limitnumberMaximum number of rows to return (default: QUERY_DEFAULT_LIMIT, max: QUERY_MAX_LIMIT)
paramsarrayQuery parameters for prepared statement
sql *stringSQL SELECT query to execute
export_queryWrite 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 `EXPORT_ENABLED` is set
ParameterTypeDescription
filenamestringName for the file, without extension, e.g. open-orders-1001
formatstringFile format. Default: xlsx
max_rowsnumberMost rows to write (capped by EXPORT_MAX_ROWS)
paramsarrayQuery parameters for prepared statement
sql *stringSQL SELECT query to export
get_business_contextList business descriptions, row filters and relations loaded from YAML
ParameterTypeDescription
entitystringEntity name, for example sales_order
tablestringTable name, or SCHEMA.TABLE
get_journal_infoList journal, images, and primary key per table, and flag tables a replication tool cannot read
ParameterTypeDescription
filterstringFilter pattern for table names. Use * as wildcard. Example: "ORDER*" matches tables starting with ORDER
limitnumberMaximum rows to return. Capped by QUERY_MAX_LIMIT.
schemastringSchema (library) to inspect. ${SCHEMA_DEFAULT_HINT}
get_object_ddlReturn the SQL DDL that recreates an object
ParameterTypeDescription
object *stringObject name
schemastringSchema (library) that contains the object. ${SCHEMA_DEFAULT_HINT}
type *stringObject type: TABLE, VIEW, INDEX, ALIAS, TRIGGER, FUNCTION, PROCEDURE, or SEQUENCE
get_related_objectsList objects that depend on a table
ParameterTypeDescription
schemastringSchema (library) that contains the table. ${SCHEMA_DEFAULT_HINT}
table *stringTable name
get_table_constraintsGet primary keys, foreign keys, unique constraints
ParameterTypeDescription
schemastringSchema (library) name containing the table. ${SCHEMA_DEFAULT_HINT}
table *stringTable name to get constraints for
index_adviceList the indexes the query optimizer asked for in a library, merged and ranked by temporary index use
ParameterTypeDescription
limitnumberMaximum rows to return. Capped by QUERY_MAX_LIMIT.
schemastringSchema (library) whose tables to read advice for. ${SCHEMA_DEFAULT_HINT}
sincestringOnly advice last given on or after this date or timestamp, in the IBM i system's local time with no time zone. Example: "2026-01-31" or "2026-01-31 08:00:00"
tablestringTable name. Omit for every table in the library.
list_indexesList SQL indexes for a table
ParameterTypeDescription
schemastringSchema (library) name containing the table. ${SCHEMA_DEFAULT_HINT}
table *stringTable name to list indexes for
list_routinesList SQL procedures and functions in a library, with language, external program, and SQL data access
ParameterTypeDescription
filterstringFilter routine names. Use * as wildcard, e.g. "GET*". Without a wildcard, matches names containing the text.
limitnumberMaximum routines to return. Capped by QUERY_MAX_LIMIT.
schemastringSchema (library) to list routines in. ${SCHEMA_DEFAULT_HINT}
typestringOnly procedures or only functions. Omit for both.
list_schemasList schemas/libraries (with optional filter)
ParameterTypeDescription
filterstringFilter pattern for schema names. Use * as wildcard. Example: "QSYS*" matches schemas starting with QSYS
list_tablesList tables in a schema (with optional filter)
ParameterTypeDescription
filterstringFilter pattern for table names. Use * as wildcard. Example: "CUST*" matches tables starting with CUST
schemastringSchema (library) name to list tables from. ${SCHEMA_DEFAULT_HINT}
list_viewsList views in a schema (with optional filter)
ParameterTypeDescription
filterstringFilter pattern for view names. Use * as wildcard.
schemastringSchema (library) name to list views from. ${SCHEMA_DEFAULT_HINT}
profile_tableRow count, last change, and per-column distinct and null counts from stored statistics or a scan
ParameterTypeDescription
columnsarrayColumns to profile. Defaults to every column (the first ${MAX_COMPUTED_COLUMNS} when compute is true).
computebooleanScan the table for exact counts, MIN, and MAX. Slower on large tables. Default false.
schemastringSchema (library) that contains the table. ${SCHEMA_DEFAULT_HINT}
table *stringTable name
search_columnsFind columns by name or description across libraries
ParameterTypeDescription
filter *stringName or text to match. Use * as a wildcard. Example: "ITEM*" matches columns starting with ITEM
include_systembooleanInclude Q* and SYS* libraries. Ignored when a schema or a schema allowlist is set.
limitnumberMaximum rows to return. Capped by QUERY_MAX_LIMIT.
schemastringLimit the search to one library. Must be in the schema allowlist when one is configured.
search_ibmi_servicesFind IBM i services by keyword or category, with the release that added each one and an example query
ParameterTypeDescription
categorystringExact category, such as JOURNAL, SECURITY, or WORK MANAGEMENT. Call with no arguments to list them.
include_examplebooleanInclude the example query for each service. Default true.
limitnumberMaximum services to return. Capped by QUERY_MAX_LIMIT.
querystringKeywords, all of which must appear in the service name or category (case-insensitive). Example: "journal entries"
search_examplesbooleanAlso match keywords against the example queries. Default false.
search_tablesFind tables by name or description across libraries
ParameterTypeDescription
filter *stringName or text to match. Use * as a wildcard. Example: "ORDER*" matches tables starting with ORDER
include_systembooleanInclude Q* and SYS* libraries. Ignored when a schema or a schema allowlist is set.
limitnumberMaximum rows to return. Capped by QUERY_MAX_LIMIT.
schemastringLimit the search to one library. Must be in the schema allowlist when one is configured.
validate_queryCheck a statement without running it, including catalog names
ParameterTypeDescription
sql *stringSQL statement to validate. It is not executed.

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.5K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json and site/package-lock.json.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

1 check has not been run yet.

Releases

v3.8.1v3.8.1 · 15 Oct 20263.8.1 (2026-10-15) Bug Fixes quieter KPI tiles that fit on one line (#306) (459044a)
v3.8.0v3.8.0 · 15 Oct 20263.8.0 (2026-10-15) Features show query results as a grid and chart with MCP Apps (#303) (58030bf)
v3.7.0v3.7.0 · 15 Oct 20263.7.0 (2026-10-15) Features add an example web app with bring-your-own-model chat, business tools and light and dark themes (#287) (ef4a262) let the example web app use a company model key set on its server (#294) (f9936a7) Dependencies…
v3.6.1v3.6.1 · 9 Oct 20263.6.1 (2026-10-09) Dependencies bump the MCP SDK to 2.3.1 and fix the Dependabot alerts (#281) (e9a8a2a)
v3.6.0v3.6.0 · 9 Oct 20263.6.0 (2026-10-09) Features mapepire: add SSH agent authentication support via agent option (#270) (9f8b184)

README

The repository's README runs to about 2.5K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Db2i

How do I install Db2i?

In Claude Code, run claude mcp add db2i -- npx -y mcp-server-db2i@latest. Other MCP clients take the command after "--" in their server configuration.

Is Db2i safe to use with an AI agent?

Its trust score is 62 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Db2i still maintained?

Yes — the latest release is v3.8.1 (15 Oct 2026), and the last commit was yesterday. The repository has 31 stars and 23 open issues.

What tools does Db2i provide?

Conduid read 20 tools from the source: describe_routine, describe_table, execute_query, export_query, get_business_context, get_journal_info, get_object_ddl, get_related_objects and 12 more. 20 of them publish their parameters, listed under Tools above.

What license is Db2i released under?

The repository declares the MIT license. That applies to the latest release, v3.8.1, as well.