Skip to main content
Glama
0PValencia

@0pvalencia/chart-from-data-mcp

Official
by 0PValencia
README.md
# @0pvalencia/chart-from-data-mcp

MCP de gráficos (bar/line/pie) vía QuickChart → PNG.

## Cursor / Claude / VS Code

### Local (recomendado si clonas el repo)

```json
{
  "mcpServers": {
    "chart-from-data": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/chart-from-data-mcp/dist/cli.js"]
    }
  }
}
```

Tras clonar: `npm install && npm run build`.

### npx (sin clonar)

```json
{
  "mcpServers": {
    "chart-from-data": {
      "command": "npx",
      "args": ["-y", "@0pvalencia/chart-from-data-mcp"]
    }
  }
}
```

> Si abres este repo en Cursor y usas `npx`, hace falta `npm install && npm run build` para que el bin local exista. Sin eso, `npx` falla con `chart-from-data-mcp: not found` y el MCP se queda cargando.

## Install / run

```bash
npx -y @0pvalencia/chart-from-data-mcp
```

## Local

```bash
npm install
npm run build
npm start
```

## Tools

- `render_chart` — `{ type, labels, values, title? }` → path PNG

Usa [QuickChart](https://quickchart.io).

## License

MIT

TDQS

C2.7/5.0

Scored across 1 tool

Disambiguation5/5

Since there is only one tool, there is no possibility of confusion with other tools. The tool's purpose is clearly described as rendering a chart from labels and values.

Naming Consistency5/5

The tool name follows a clear verb_noun pattern and is descriptive of its function. With a single tool, there is no inconsistency to evaluate.

Tool Count2/5

The server provides only one tool, which feels too thin for a chart-rendering service. Typically, such a server would include multiple tools for different chart types or configuration options.

Completeness2/5

The tool only accepts labels and values, with no ability to specify chart type, title, or other customization options. This leaves significant gaps for users who need different chart formats or styling.

Maintenance

ActivitySlowing
ResponsivenessNo issues