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 🙏

© 2025 – Pkg Stats / Ryan Hefner

gemini-sybase-cli

v1.0.0

Published

Un MCP para Gemini CLI que ejecuta consultas en una base de datos Sybase.

Readme

Gemini Sybase CLI

Un MCP (Mi-Código-Personal) para ser usado con Gemini CLI que permite ejecutar consultas SQL directamente en una base de datos Sybase.

Requisitos Previos

  1. Node.js: Debes tener Node.js (versión 16 o superior) instalado.
  2. Driver ODBC de Sybase: Debes tener el driver ODBC oficial de Sybase para tu sistema operativo instalado.
  3. Configurar un DSN (Data Source Name): Este es el paso más importante. Esta herramienta se conecta a Sybase a través de un DSN. Debes crearlo en tu sistema operativo:
    • En Windows: Ve a "Herramientas Administrativas" > "Orígenes de datos ODBC (64 bits)" (o 32 bits, según tu sistema). En la pestaña "DSN de sistema", crea un nuevo origen de datos, selecciona el driver de Sybase que instalaste y configura la conexión (servidor, puerto, base de datos, etc.). Dale un nombre fácil de recordar (ej: sybase_cli).

Instalación

  1. Navega al directorio gemini-sybase-cli:
    cd gemini-sybase-cli
  2. Instala las dependencias de Node.js:
    npm install

Configuración

  1. Crea un archivo .env a partir de la plantilla:

    • En Windows: copy .env.example .env
    • En Linux/macOS: cp .env.example .env
  2. Abre el archivo .env y rellena los campos:

    • DB_DSN: El nombre exacto del DSN que creaste en los requisitos previos.
    • DB_USER: Tu usuario de la base de datos.
    • DB_PASSWORD: Tu contraseña.

Uso con Gemini CLI

Este script está diseñado para ser llamado por la CLI de Gemini. Debes configurar un mcpServer en los ajustes de Gemini para apuntar a este script. La configuración recomendada es:

"sybase": {
  "id": "sybase_query",
  "display_name": "Sybase Query",
  "description": "Ejecuta una consulta SQL en la base de datos Sybase configurada.",
  "command": "node index.js {query}",
  "directory": "gemini-sybase-cli",
  "args": [
    {
      "name": "query",
      "type": "string",
      "description": "La consulta SQL a ejecutar."
    }
  ]
}

Una vez configurado, puedes pedirle a Gemini que ejecute consultas en lenguaje natural:

Ejecuta la consulta "SELECT * FROM bancos" en Sybase.