provchart-mcp
provchart-mcp
Servidor MCP para ProvChart — los agentes generan gráficos de CSS puro (HTML + CSS) o SVG para README/docs.
Sin Chart.js. No se requiere runtime de gráficos en el cliente para el renderizado. El mismo JSON que usa tu panel.
npm |
|
API | |
Keys | |
License | MIT |
Qué hace
Tool | Output |
| HTML + CSS para páginas web |
| SVG (+ data URI) para Markdown / documentación |
| Notas breves de inyección / SVG / runtime / errores (sin llamada a la API) |
Los agentes llaman a estas herramientas en lugar de inventar fragmentos de Chart.js.
Related MCP server: ECharts ChartPage MCP Server
Requisitos
Node.js 18+ (
fetchnativo)Clave de API de ProvChart — las cuentas gratuitas registradas incluyen generaciones de prueba mensuales limitadas
export PROVCHART_API_KEY=pc_live_xxxxxxxxNunca confirmes claves reales. Prefiere la configuración de env / MCP env.
Instalación y ejecución
Desde el código fuente (este repositorio)
cd provchart-mcp
npm install
export PROVCHART_API_KEY=pc_live_xxxxxxxx
node src/index.jsEl proceso habla MCP a través de stdio (permanece en silencio hasta que un cliente se conecta).
Tras la publicación
npx -y provchart-mcpClaude Desktop
Edita claude_desktop_config.json:
{
"mcpServers": {
"provchart": {
"command": "node",
"args": ["/absolute/path/to/provchart-mcp/src/index.js"],
"env": {
"PROVCHART_API_KEY": "pc_live_xxxxxxxx"
}
}
}
}O con npx (una vez publicado):
{
"mcpServers": {
"provchart": {
"command": "npx",
"args": ["-y", "provchart-mcp"],
"env": {
"PROVCHART_API_KEY": "pc_live_xxxxxxxx"
}
}
}
}Reinicia Claude Desktop después de guardar.
Cursor
mcp.json (de proyecto o global):
{
"mcpServers": {
"provchart": {
"command": "node",
"args": ["/absolute/path/to/provchart-mcp/src/index.js"],
"env": {
"PROVCHART_API_KEY": "pc_live_xxxxxxxx"
}
}
}
}Ejemplos de prompts
Usa
provchart_generatepara un gráfico de área con tema midnight: Tráfico vs Registros, de lunes a domingo.Genera un gráfico de líneas SVG de la latencia p50/p95 para un README de GitHub.
Explica cómo inyectar HTML/CSS de ProvChart sin una librería de gráficos.
Ejemplo de argumentos de la herramienta (provchart_generate)
{
"type": "area",
"theme": "midnight",
"series": [
{ "name": "Traffic", "color": "#4fd8c4", "points": [30, 45, 40, 60, 55, 70, 65] },
{ "name": "Signups", "color": "#f0a860", "points": [8, 12, 11, 18, 16, 22, 20] }
],
"axisX": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
}Inyecta el CSS devuelto en una etiqueta <style> y el HTML en un contenedor. Opcional: provchart-runtime para tooltips — no es necesario para el renderizado.
Entorno
Variable | Requerida | Descripción |
| Sí* | Clave de API ( |
| No | Por defecto |
*O pasa apiKey en los argumentos de la herramienta (se prefiere env).
Errores
Código / mensaje | Significado |
Falta la clave de API | Establece |
| Clave incorrecta o revocada |
| Cuota agotada (HTML + SVG comparten el mismo fondo) |
| El plan no incluye esta capacidad |
Estructura del proyecto
provchart-mcp/
package.json
README.md
src/
index.js # MCP stdio server
client.js # ProvChart HTTP helper
tools.js # Tool schemas + handlersRelacionados
ProvChart — producto y constructor
Demo en vivo — lote de API de múltiples gráficos
provchart-runtime — mejoras opcionales de HTML
st-core.fscss — raíces CSS puras abiertas
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceGenerates Apache ECharts diagrams and charts with AI dynamically, supporting all ECharts features and exporting to png, svg, and option formats.18442263MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate safe, runnable HTML chart pages from structured JSON data using Apache ECharts. It provides tools for chart type recommendation, page generation, validation, and patching with controlled, deterministic output.5MIT
- AlicenseAqualityAmaintenanceZero-dependency charts for Python and AI agents. SVG and PNG, 15 chart types, a one-line MCP server, and a Claude skill.411MIT
- AlicenseAqualityBmaintenanceEnables AI agents to create data visualizations like bar charts, line charts, pie charts, scatter plots, and histograms, returning inline SVG or PNG files.5MIT
Related MCP Connectors
Diagrams, badges, charts and QR codes as plain image URLs you can paste into Markdown.
Renders interactive Chart.js charts and dashboards inline in AI conversations.
Generate dynamic Mermaid diagrams and charts with AI assistance. Customize styles and export diagr…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Figsh/provchart-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server