npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@munlib/oracledb-readonly-mcp

v0.1.0

Published

Read-only MCP server for querying one or more Oracle Database connections.

Readme

Oracle Database Read-Only MCP

Servidor MCP en Node.js/TypeScript para consultar Oracle Database desde OpenCode en modo solo lectura.

Capacidades

  • Consultar tablas, vistas y materialized views con SELECT o WITH.
  • Hacer joins, filtros, agregaciones, conteos y busquedas avanzadas.
  • Listar schemas, tablas, vistas, columnas, claves, constraints e indices.
  • Inspeccionar procedures, functions y packages sin ejecutarlos.
  • Leer source disponible y dependencias de objetos.
  • Obtener EXPLAIN PLAN de consultas read-only.

Instalacion

npm install
npm run build

Cuando este publicado en npm:

npx -y @munlib/oracledb-readonly-mcp

Configuracion OpenCode

Ejemplo opencode.json con datos genericos:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "oracledb-readonly": {
      "type": "local",
      "enabled": true,
      "command": ["npx", "-y", "@munlib/oracledb-readonly-mcp"],
      "env": {
        "ORACLE_NAME": "oracleReadonly",
        "ORACLE_USER": "readonly_user",
        "ORACLE_PASSWORD": "REPLACE_WITH_SECRET",
        "ORACLE_CONNECT_STRING": "db-host.example.com:1521/service_name",
        "ORACLE_DEFAULT_LIMIT": "25",
        "ORACLE_MAX_LIMIT": "100",
        "ORACLE_QUERY_TIMEOUT_MS": "15000"
      }
    }
  }
}

Formato con nombre de servicio:

host:puerto/service_name

Formato con SID:

host:puerto:SID

Despues de cambiar opencode.json, reinicia OpenCode.

Variables

| Variable | Uso | | --- | --- | | ORACLE_CONNECTIONS | JSON con varias conexiones. | | ORACLE_USER | Usuario para una conexion. | | ORACLE_PASSWORD | Password para una conexion. | | ORACLE_CONNECT_STRING | Host/puerto/servicio o descriptor Oracle. | | ORACLE_NAME | Nombre logico de la conexion. | | ORACLE_DEFAULT_LIMIT | Limite por defecto. | | ORACLE_MAX_LIMIT | Limite maximo. | | ORACLE_QUERY_TIMEOUT_MS | Timeout por consulta. | | ORACLE_SEARCH_TABLE_LIMIT | Maximo de tablas/vistas en busqueda global. | | ORACLE_SEARCH_COLUMN_LIMIT | Maximo de columnas por tabla/vista en busqueda global. |

Herramientas

| Herramienta | Uso | | --- | --- | | oracle_list_connections | Lista conexiones configuradas. | | oracle_list_schemas | Lista schemas visibles. | | oracle_list_tables | Lista tablas, vistas y materialized views. | | oracle_describe_table | Describe columnas. | | oracle_table_keys | Lista claves, constraints e indices. | | oracle_query_readonly | Ejecuta SELECT o WITH con binds. | | oracle_count_rows | Cuenta filas con filtro opcional. | | oracle_table_sample | Devuelve muestra limitada. | | oracle_search_database | Busca texto en tablas/vistas. | | oracle_list_routines | Lista procedures, functions y packages. | | oracle_describe_routine | Muestra argumentos de rutinas. | | oracle_get_routine_source | Lee source disponible. | | oracle_list_dependencies | Lista dependencias. | | oracle_explain_query | Muestra plan de ejecucion. |

Solo Lectura

El MCP bloquea INSERT, UPDATE, DELETE, MERGE, CREATE, ALTER, DROP, TRUNCATE, GRANT, REVOKE, CALL, EXEC, EXECUTE, BEGIN y DECLARE.

Tambien bloquea multiples statements. Usa ademas un usuario Oracle con permisos reales de solo lectura.

Publicacion NPM

npm run publish:check
npm run publish:dry-run
npm run publish:npm

Linux/macOS:

npm run publish:npm:bash -- --bump none --dry-run --skip-login