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.
Fair trust
47 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade C
55/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.
How quality is graded
Where the 47 comes from
22 + 10 + 2 + 0 + 10 + 3 = 47. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 10 of 10 points.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.
{ "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
| Name | Required | Notes |
|---|---|---|
ORACLE_USER | Optional | Oracle user name |
ORACLE_PASSWORDSecret | Optional | Oracle password |
Tools
All capabilitiesTools 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 usingorcl-connect)ORACLE_PASSWORD: Oracle password (optional if usingorcl-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_namehost: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.internalif the Oracle Database is running on the host network (e.g., localhost) - Credentials are passed via environment variables
ORACLE_USERandORACLE_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
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.