Skip to main content
Glama
joseignaciom5

MCP Excel-PostgreSQL

MCP Excel-PostgreSQL

Este servidor implementa el Model Context Protocol (MCP) para conectar asistentes de IA (como Claude Desktop) con tus datos locales. Permite leer y editar archivos Excel y realizar consultas a bases de datos PostgreSQL de forma segura y directa, facilitando flujos de trabajo de análisis de datos sin necesidad de exportaciones manuales.

Instalación

  1. Clona el repositorio e instala las dependencias:

    npm install
  2. Compila el servidor (genera los archivos en dist/):

    npm run build

Related MCP server: Excel MCP Server

Configuración para Claude Desktop

Agregar a tu configuración MCP (~/.MPC/mcp.json o Claude Desktop config):

{
  "mcpServers": {
    "excel-mcp-server": {
      "command": "node",
      "args": ["/path/to/your/project/dist/main.js"],
      "cwd": "/path/to/your/project",
      "env": {
        "POSTGRES_USER": "your_user",
        "POSTGRES_HOST": "localhost",
        "POSTGRES_DB": "your_db",
        "POSTGRES_PASSWORD": "your_password",
        "POSTGRES_PORT": "5432"
      }
    }
  }
}

Herramientas disponibles

Excel: read_excel, write_excel, update_excel

PostgreSQL: connect_database, execute_query, create_table, insert_data, list_tables, describe_table, get_database_info

Integración: export_to_excel, import_from_excel

Available Tools

2 tools
read_excelB

Lee un archivo Excel y devuelve los datos en formato JSON

ParametersJSON Schema
NameRequiredDescriptionDefault
filePathYesRuta del archivo Excel
sheetNameNoHoja a leer (opcional, default: primera)
hasHeadersNoPrimera fila son encabezados

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries full burden. It only states the basic function and does not disclose traits like error handling, size limits, or required permissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence that is appropriately sized and front-loaded with the purpose. It wastes no words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of output schema, the description adequately mentions the return format (JSON). However, it could be more complete by addressing potential errors or limitations, but the core information is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the description adds minimal value beyond what the schema already provides. The description does not elaborate on parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool reads an Excel file and returns data in JSON format, with a specific verb and resource. It distinguishes from the sibling tool write_excel which writes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is provided. There is no mention of alternatives or context for selecting this tool over write_excel.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

write_excelB

Escribe datos a un archivo Excel

ParametersJSON Schema
NameRequiredDescriptionDefault
dataYesDatos a escribir
headersNoEncabezados
filePathYesRuta donde guardar
sheetNameNoNombre de la hojaSheet1

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It only says 'write data' without disclosing whether it overwrites, appends, requires existing file, or other behavioral traits important for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence with no filler. It is front-loaded with the core action. Could benefit from slight expansion but is not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 4 parameters, no output schema, and no annotations, the description is too brief. It lacks details on data format requirements, error handling, or behavior when file exists, which are important for an action tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with basic descriptions for all 4 parameters. The tool description adds no extra semantic value beyond what the schema already provides, so baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Escribe datos a un archivo Excel' is clear and specific, using a verb ('escribe') and a resource ('archivo Excel'). It directly states the tool's action and distinguishes it from the sibling 'read_excel'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance is provided. However, the sibling 'read_excel' implies this tool is for writing, so usage context is somewhat clear through tool name contrast.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

B3.3/5.0
Disambiguation5/5

The two tools have completely distinct purposes: one reads Excel files, the other writes them. There is no possibility of confusion between read_excel and write_excel.

Naming Consistency5/5

Both tools follow a clear verb_excel pattern (read, write), making the naming predictable and consistent.

Tool Count2/5

Only 2 tools are provided, which is too few given the server name 'Excel-PostgreSQL' implies handling both Excel and PostgreSQL data. Even ignoring the PostgreSQL part, basic Excel operations like listing sheets or modifying specific cells are missing.

Completeness1/5

The tool surface is severely incomplete for a server claiming to cover both Excel and PostgreSQL. With only read and write for Excel, and no PostgreSQL tools at all, agents will lack essential capabilities.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joseignaciom5/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server