schemacrawler-ai

vv18.0.4-1
io.github.schemacrawler/schemacrawler-ai Checked 3 hours ago Published 7 days ago

Enables natural language schema queries — explore tables, keys, procedures, and get SQL help fast

Values you need

VariableWhat it is
SCHCRWLR_MCP_SERVER_TRANSPORToptional MCP Server transport type - valid values are 'http' or 'stdio', defaulting to 'stdio'.
SCHCRWLR_DATABASE_USERoptional secret Database user name. Can be optional depending on the database connection type.
SCHCRWLR_DATABASE_PASSWORDoptional secret Database user password. Can be optional depending on the database connection type.
SCHCRWLR_JDBC_URLoptional secret Optional JDBC URL for database connection. If nonblank, server, host, port, and database are ignored. Credentials may still be supplied separately.
SCHCRWLR_SERVERoptional SchemaCrawler database connector identifier, for example, 'sqlserver' or 'sqlite'. Required if the JDBC URL is blank or unset.
SCHCRWLR_HOSToptional Database host. Defaults to the connector's host default. Used only if the JDBC URL is blank or unset.
SCHCRWLR_PORToptional Database port. Valid decimal values from 1024 through 65535 are used; otherwise the connector's default port is retained. Used only if the JDBC URL is blank or unset.
SCHCRWLR_DATABASEoptional Optional database name or connector-specific database value. Used only if the JDBC URL is blank or unset.
SCHCRWLR_DATABASE_ALIASoptional Optional stable alias used to identify this database server in MCP instructions and tool results.
SCHCRWLR_DATABASE_DESCRIPTIONoptional Optional description of this database server, included in MCP instructions and the about_database response.
SCHCRWLR_INFO_LEVELoptional How much database metadata to retrieve: 'minimum', 'standard', 'detailed', or 'maximum'. Defaults to 'standard'; unset or unrecognized values also use 'standard'.
SCHCRWLR_LOG_LEVELoptional Java logging level. Defaults to 'INFO'. Java logging names such as 'SEVERE', 'WARNING', 'INFO', 'CONFIG', 'FINE', 'FINER', 'FINEST', 'ALL', and 'OFF', and numeric levels are accepted.
SCHCRWLR_EXCLUDE_TOOLSoptional MCP Server tools to exclude, as a comma-separated list.
SCHCRWLR_OFFLINE_DATABASEoptional Optional path to a serialized offline catalog snapshot. When set, catalog loading uses this snapshot.
SCHCRWLR_ADDITIONAL_CONFIGoptional secret Additional SchemaCrawler configuration encoded as a JSON object. Invalid JSON logs a warning and uses empty additional configuration; do not include secrets.

Docker discovery passed

Requires Docker

Run in a terminal
claude mcp add schemacrawler-ai -- docker run -i --rm schemacrawler/schemacrawler-ai:18.0.4-1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "schemacrawler-ai": {
      "args": [
        "run",
        "-i",
        "--rm",
        "schemacrawler/schemacrawler-ai:18.0.4-1"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "schemacrawler-ai": {
      "args": [
        "run",
        "-i",
        "--rm",
        "schemacrawler/schemacrawler-ai:18.0.4-1"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "schemacrawler-ai": {
      "args": [
        "run",
        "-i",
        "--rm",
        "schemacrawler/schemacrawler-ai:18.0.4-1"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.schemacrawler-ai]
command = "docker"
args = ["run", "-i", "--rm", "schemacrawler/schemacrawler-ai:18.0.4-1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: diagram, describe_routines, lint, table_importance, table_path, describe_tables, detect_clusters, table_sample, ….
  4. If it fails, check that the required runtime is installed (Docker) and that the values above are set.

Machine-readable: install.md · manifest.json