drio
Open app

MCP Server - Oracle DB Context

Source

MCP Server for working with large Oracle databases

Catalog onlyCatalog onlySTDIO

Overview

MCP Server - Oracle DB Context is a powerful Model Context Protocol (MCP) server designed to provide contextual database schema information for large Oracle databases, enabling AI assistants to efficiently understand and work with databases containing thousands of tables.

To use the MCP Server, install the required dependencies, set up your Oracle connection details in a .env file, and run the server using the command uv run main.py. You can also integrate it with GitHub Copilot in VSCode Insiders for enhanced functionality.

  • Smart Schema Caching: Minimizes database queries by maintaining a local cache of the database schema. - Targeted Schema Lookup: Retrieve schema for specific tables without loading the entire database structure. - Table Search: Find tables by name pattern matching. - Relationship Mapping: Understand foreign key relationships between tables. - Oracle Database Support: Specifically built for Oracle databases. - MCP Integration: Works seamlessly with AI assistants like GitHub Copilot, Claude, and ChatGPT.
  1. Assisting AI models in understanding complex database schemas.
  2. Enabling efficient database queries for large-scale applications.
  3. Providing contextual information for data analysis and reporting.

Add to your AI client

Use these steps to connect MCP Server - Oracle DB Context in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-db-context-danielmeppiel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-db-context-danielmeppiel"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-db-context-danielmeppiel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-db-context-danielmeppiel"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-db-context-danielmeppiel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-db-context-danielmeppiel"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-db-context-danielmeppiel": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-db-context-danielmeppiel"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-db-context-danielmeppiel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-db-context-danielmeppiel"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-db-context-danielmeppiel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-db-context-danielmeppiel"
      ]
    }
  }
}

FAQ

Can MCP Server handle very large Oracle databases?

Yes! It is specifically designed to work with large Oracle databases containing thousands of tables.

Is there a specific version of Python required?

Yes, Python 3.12 or higher is required for optimal performance.

How does schema caching work?

The server builds and maintains a local cache of your database schema to minimize the need for repeated database queries.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3150,"uuid":"9d34a95e-8596-4cd9-a00a-70b54662cb24","name":"mcp-db-context","title":"MCP Server - Oracle DB Context","description":"MCP Server for working with large Oracle databases","avatar_url":"https://avatars.githubusercontent.com/u/51440732?v=4","created_at":"2025-03-18T03:03:43.984Z","updated_at":"2025-03-18T14:12:40.549Z","status":"created","author_name":"danielmeppiel","author_avatar_url":"https://avatars.githubusercontent.com/u/51440732?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/danielmeppiel/mcp-db-context","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"5\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-20 21:39:32\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]