Skip to content
MCP server
Registry

oracle MCP Server

MCP server for interacting with Oracle databases

oracle scores 47 (Fair), with no SPDX license recorded. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 2 stars. Package registries report about 85 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by marcelo-ochoaNo license2 stars
Trust score
47Fair
Trust score 47 of 100, Fair

Fair trust

47 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • No license recorded.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 47 comes from

22 + 10 + 2 + 0 + 10 + 3 = 47. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance10 / 20

How recently the repository saw a commit or release.

Maintenance: 10 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License0 / 10

A clear, OSI-style open-source license.

License: 0 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "marcelo-ochoa-oracle": {      "command": "npx",      "args": [        "-y",        "@marcelo-ochoa/server-oracle@1.0.7"      ],      "env": {        "ORACLE_USER": "",        "ORACLE_PASSWORD": "YOUR_ORACLE_PASSWORD"      }    }  }}

Environment variables

NameRequiredNotes
ORACLE_USEROptionalOracle user name
ORACLE_PASSWORDSecretOptionalOracle password

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Oracle Database

A Model Context Protocol server that provides read-only access to Oracle Database. This server enables LLMs to inspect database schemas, execute and explain read-only queries.

Components

Tools

  • orcl-query

    • Execute read-only SQL queries against the connected Oracle Database
    • Input: sql (string): The SQL query to execute
    • All queries are executed within a READ ONLY transaction
  • orcl-explain

    • Explain plan SQL queries against the connected Oracle Database
    • Input: sql (string): The SQL query to execute
    • Requires GRANT SELECT_CATALOG_ROLE TO your_user;
  • orcl-stats

    • Get statistics for a given table on current connected schema
    • Input: name (string): The table name
    • Table owner is equal to USER SQL function returning value
  • orcl-connect

    • Reconnect using new credentials
    • Input: connectionString (string): SQLNet connect string for example host.docker.internal:1521/freepdb1
    • Input: user (string): Username for example scott
    • Input: password (string): Password, for example tiger

Example: orcl-connect host.docker.internal:1521/freepdb1 hr hr_2025

  • orcl-awr
    • Automatic Workload Repository (AWR) with optional sql_id, requires SELECT_CATALOG_ROLE and grant execute on DBMS_WORKLOAD_REPOSITORY package
    • Input: sql_id (string): (optional) SQL id to get the AWR report for an specific query, if null full last generated AWR report

Resources

The server provides schema information for each table in the Oracle Database current connected user:

  • Table Schemas (oracle://USER/<table>/schema)
    • JSON schema information for each table
    • Includes column names and data types
    • Automatically discovered from Oracle Database metadata

Change Log

See Change Log for the history of changes.

Demos

See Demos for usage examples with Claude Desktop, Docker AI, Gemini CLI, and Antigravity Code Editor.

Oracle AWR in action

See Oracle AWR in action for an example of an AWR report generated using the orcl-awr tool, followed by an analysis of the top SQL statements.

The Oracle server uses environment variables or the orcl-connect tool for secure credential management:

  • ORACLE_USER: Oracle username (optional if using orcl-connect)
  • ORACLE_PASSWORD: Oracle password (optional if using orcl-connect)

Connection String

The connection string should contain only the host, port, and service/SID information (without embedded credentials). Providing it as a command-line argument is optional. If omitted at startup, you must use the orcl-connect tool to establish a connection before using other functionality.

Supported connection string formats:

  • host:port/service_name
  • host:port:SID

Building

Docker:

docker build -t mochoa/mcp-oracle -f src/oracle/Dockerfile .

Usage with Claude Desktop

To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:

Docker

  • When running Docker on macOS, use host.docker.internal if the Oracle Database is running on the host network (e.g., localhost)
  • Credentials are passed via environment variables ORACLE_USER and ORACLE_PASSWORD
{
  "mcpServers": {
    "oracle": {
      "command": "docker",
      "args": [
        "run", 
        "-i", 
        "--rm",
        "-e", "ORACLE_USER=myuser",
        "-e", "ORACLE_PASSWORD=mypassword",
        "mochoa/mcp-oracle",
        "host.docker.internal:1521/freepdb1"
      ]
    }
  }
}

Note: You can still provide the connection string as a final argument if you want to connect automatically on startup: "args": [..., "mochoa/mcp-oracle", "host.docker.internal:1521/freepdb1"].

Sources

As usual the code of this extension is at GitHub, feel free to suggest changes and make contributions, note that I am a beginner developer of React and TypeScript so contributions to make this UI better are welcome.

Compared to SQLcl MCP server

Using SQLcl Docker extension you could register a connection using:

docker exec --user sqlcl -ti mochoa_sqlcl-docker-extension-desktop-extension-service /opt/sqlcl/bin/sql -save hr_mcp -savepwd hr/hr_2025@host.docker.internal:1521/freepdb1   

after that using this registration:

{
  "mcpServers": {
    "sqlcl-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "exec",
        "--user",
        "sqlcl",
        "-i",
        "mochoa_sqlcl-docker-extension-desktop-extension-service",
        "/opt/sqlcl/bin/sql",
        "-mcp"
      ]
    }
  }
}

Just replace above Demo prompts instead of "orcl-query" tool use "run-sql".

📜 License

This project is licensed under the Apache License, Version 2.0 for new contributions, with existing code under MIT - see the LICENSE file for details.

Frequently asked questions

What is oracle MCP Server?

MCP server for interacting with Oracle databases

How do I install oracle MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. oracle MCP Server runs locally from the npm package @marcelo-ochoa/server-oracle with the command npx -y @marcelo-ochoa/server-oracle@1.0.7.

Does oracle MCP Server support remote (HTTP) connections?

No remote endpoint is listed for oracle MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is oracle MCP Server's trust score calculated?

oracle MCP Server scores 47 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server