oracle
v1.0.7MCP server for interacting with Oracle databases
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
orcl-query
This tool executes SQL queries in a READY ONLY session connected to an Oracle database. If no active connection exists, it uses MCP server registration argument and environment variables ORACLE_USER and ORACLE_PASSWORD. You should: Execute the provided SQL query. Return the results in Json format. Args: sql: The SQL query to execute. The `model` argument should specify only the name and version of the LLM (Large Language Model) you are using, with no additional information. The `mcp_client` argument should specify only the name of the MCP (Model Context Protocol) client you are using…
| Parameter | Type | Description |
|---|---|---|
mcp_client * | string | Specify the name and version of the MCP client implementation being used (e.g. Copilot, Claude, Cline...) |
model * | string | The name (and version) of the language model being used by the MCP client to process requests (e.g. gpt-4.1, claude-sonnet-4, llama4...) |
sql * | string | The SQL query to execute |
orcl-explain
Generate and display the execution plan for a given SQL query using Oracle's EXPLAIN PLAN command. This tool helps you understand how Oracle will execute your query, including information about table access methods, join operations, indexes used, estimated costs, and cardinality estimates. Args: sql: The SQL query to explain. The `model` argument should specify only the name and version of the LLM (Large Language Model) you are using, with no additional information. The `mcp_client` argument should specify only the name of the MCP (Model Context Protocol) client you are using, with no add…
| Parameter | Type | Description |
|---|---|---|
mcp_client * | string | Specify the name and version of the MCP client implementation being used (e.g. Copilot, Claude, Cline...) |
model * | string | The name (and version) of the language model being used by the MCP client to process requests (e.g. gpt-4.1, claude-sonnet-4, llama4...) |
sql * | string | The SQL query to explain |
orcl-stats
Get comprehensive statistics for a specific Oracle database object (table, index, or view). This tool retrieves detailed information including row counts, block statistics, segment size, index information, column statistics, partition details, and other metadata that can help optimize queries and understand data distribution. Args: name: The name of the database object to get statistics for. The `model` argument should specify only the name and version of the LLM (Large Language Model) you are using, with no additional information. The `mcp_client` argument should specify only the name of…
| Parameter | Type | Description |
|---|---|---|
mcp_client * | string | Specify the name and version of the MCP client implementation being used (e.g. Copilot, Claude, Cline...) |
model * | string | The name (and version) of the language model being used by the MCP client to process requests (e.g. gpt-4.1, claude-sonnet-4, llama4...) |
name * | string | SQL Object to get stats |
orcl-connect
Provides an interface to connect to a specified database. If a database connection is already active, prompt the user for confirmation before switching to the new connection. The `model` argument should only be used to specify the name and version of the LLM (Large Language Model) you are using, with no additional information. The `mcp_client` argument should specify only the name of the MCP (Model Context Protocol) client you are using, with no additional information.
| Parameter | Type | Description |
|---|---|---|
connectionString * | string | The Oracle connect string (e.g. host.docker.internal:1521/freepdb1 |
password * | string | The Oracle password (e.g. tiger |
user * | string | The Oracle user (e.g. scott |
orcl-awr
Generate an Automatic Workload Repository (AWR) report or AWR SQL report for Oracle database performance analysis. AWR reports provide comprehensive performance metrics including database statistics, wait events, top SQL statements, system resources, and performance recommendations. If no sql_id is provided, generates a full AWR database report with: - Database instance information and configuration - Load profile and instance efficiency metrics - Top wait events and time model statistics - SQL statistics ordered by various metrics (elapsed time, CPU time, executions, etc.) - Segment statisti…
| Parameter | Type | Description |
|---|---|---|
sql_id | string |