Oracle Database MCP

Databasestdio
Repository

A Model Context Protocol server for working with large Oracle databases. It provides contextual schema information for databases with thousands of tables, letting AI assistants understand relationships, look up table and column definitions, and run queries without loading the entire schema into context.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "oracle-database": {
      "command": "npx",
      "args": [],
      "env": {
        "ORACLE_CONNECTION_STRING": "<YOUR_ORACLE_CONNECTION_STRING>"
      }
    }
  }
}

Tools (2)

get_table_schema

Retrieve the schema for a specific table, including columns and keys.

{
  "type": "object",
  "required": [
    "table"
  ],
  "properties": {
    "table": {
      "type": "string",
      "description": "Table name to describe"
    }
  }
}

run_query

Execute a read-only SQL query against the Oracle database.

{
  "type": "object",
  "required": [
    "sql"
  ],
  "properties": {
    "sql": {
      "type": "string",
      "description": "SQL statement to execute"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server information

Author
Daniel Meppiel (@danielmeppiel)
Repository
https://github.com/danielmeppiel/oracle-mcp-server
License
MIT
Stars
0
Last updated
July 25, 2026