Install IBM Db2 for i in Claude Code
claude mcp add ibm-db2-for-i -e DB2I_HOSTNAME=... -e DB2I_USERNAME=... -e DB2I_PASSWORD=... -- npx -y mcp-server-db2i{
"mcpServers": {
"ibm-db2-for-i": {
"command": "npx",
"args": [
"-y",
"mcp-server-db2i"
],
"env": {
"DB2I_HOSTNAME": "...",
"DB2I_USERNAME": "...",
"DB2I_PASSWORD": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the IBM Db2 for i MCP server do?
Read-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).
Is the IBM Db2 for i MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does IBM Db2 for i run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add IBM Db2 for i to Claude Code?
Run: claude mcp add ibm-db2-for-i -e DB2I_HOSTNAME=... -e DB2I_USERNAME=... -e DB2I_PASSWORD=... -- npx -y mcp-server-db2i
More databases MCP servers
View allTiger
timescale/tiger-cli
Provides programmatic access to Tiger Cloud services, databases, and documentation.
Sqlite
jparkerweb/mcp-sqlite
Interact with SQLite databases.
Trino
tuannvm/mcp-trino
A Go implementation of a Model Context Protocol (MCP) server for Trino, enabling LLM models to query distributed SQL databases through standardized tools.
Bigquery
LucasHild/mcp-server-bigquery
BigQuery database integration with schema inspection and query capabilities.
AI Toolkit
memgraph/ai-toolkit/mcp-memgraph
Run queries against Memgraph and access its schema.
Redash
seob717/redash-mcp
Redash integration: natural-language SQL with safety guards and PII detection, table selection, saved queries, dashboards, widgets and alerts.