Cover image
Try Now
2025-04-14

Ein MCP -Tool zum Generieren von Diagrammen (Linie, Balken, Kuchen, Hist)

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

图表生成工具

本项目是一个基于 FastMCP 的图表生成工具,支持从 JSON 数据生成多种类型的图表,包括折线图、柱状图、饼图和直方图。生成的图表可以保存为图片文件。

功能特性

  • 支持的图表类型
    • 折线图(Line Chart)
    • 柱状图(Bar Chart)
    • 饼图(Pie Chart)
    • 直方图(Histogram)
  • 支持中文字符:通过设置 SimHei 字体,图表可以正确显示中文字符。
  • 自动创建目录:如果保存图表的路径不存在,程序会自动创建目录。
  • 错误处理:在生成图表过程中发生错误时,会返回详细的错误信息。

文件结构

  • v1.py:主程序文件,包含图表生成工具的实现。
  • README.md:项目说明文件。

使用方法

  1. 安装依赖: 确保已安装以下 Python 库:

    • matplotlib
    • numpy
    • FastMCP

    使用以下命令安装依赖:

    pip install matplotlib numpy fastmcp
    

相关推荐

  • av
  • Führen Sie mühelos LLM -Backends, APIs, Frontends und Dienste mit einem Befehl aus.

  • 1Panel-dev
  • 🔥 1Panel bietet eine intuitive Weboberfläche und einen MCP -Server, um Websites, Dateien, Container, Datenbanken und LLMs auf einem Linux -Server zu verwalten.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • rulego
  • ⛓️Rugele ist ein leichter, leistungsstarker, leistungsstarker, eingebetteter Komponenten-Orchestrierungsregel-Motor-Rahmen für GO.

  • sigoden
  • Erstellen Sie einfach LLM -Tools und -Argarten mit einfachen Bash/JavaScript/Python -Funktionen.

  • hkr04
  • Leichtes C ++ MCP (Modellkontextprotokoll) SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / diskord / telegram / slack 等平台 | 支持 Chatgpt 、 Deepseek 、 Diffy 、 Claude 、 Gemini 、 xai 、 ppio 、 、 ulama 、 lm Studio 、阿里云百炼、火山方舟、 siliconflow 、 qwen 、 mondshot 、 chatglm 、 sillytraven 、 mcp 等 llm 的机器人 / agent | LLM-basierte Instant Messaging Bots-Plattform, unterstützt Zwietracht, Telegramm, Wechat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • On-Premise-Konversationslappen mit konfigurierbaren Behältern

  • modelscope
  • Bauen Sie LLM-Multi-Agent-Anwendungen auf einfachere Weise auf.

  • paulwing
  • Ein Test -Repository, das mit MCP -Dienst erstellt wurde

    Reviews

    2.4 (5)
    Avatar
    user_GFnhtjS6
    2025-04-23

    The mcp-chart-generator by lhyn81 is an outstanding tool for anyone looking to create detailed and professional charts effortlessly. Its user-friendly interface and comprehensive features make data visualization straightforward and efficient. Whether for academic, business, or personal use, this application simplifies complex information into easy-to-understand visuals. Highly recommended for those in need of an effective chart generation solution!

    Avatar
    user_iCyk4JfY
    2025-04-23

    The mcp-chart-generator by lhyn81 is an outstanding tool for anyone needing to create charts efficiently. It's incredibly user-friendly and allows for seamless integration into various projects. This utility's functionality and ease of use make it a must-have, especially for data analysis and visualization tasks. Highly recommended!

    Avatar
    user_j93gRZ1F
    2025-04-23

    I've been using the mcp-chart-generator by lhyn81 and I must say it's exceptional. This tool is incredibly easy to use and generates high-quality charts in no time. The interface is user-friendly, and it supports multiple languages, making it versatile for various projects. The welcome message is inviting, setting a positive tone right from the start. Highly recommended for anyone needing reliable chart generation.

    Avatar
    user_EeH9FNxR
    2025-04-23

    The mcp-chart-generator by lhyn81 is a game-changer for data visualization enthusiasts. Its intuitive interface and powerful features make creating charts an absolute breeze, saving countless hours of manual work. Whether you're a novice or a seasoned pro, this tool will undoubtedly enhance your productivity and the quality of your visual reports. Highly recommended!

    Avatar
    user_SlXnjuHs
    2025-04-23

    The mcp-chart-generator developed by lhyn81 is a fantastic tool for anyone looking to create professional-grade charts effortlessly. Its user-friendly interface and robust features make it an excellent choice for both beginners and experts in data visualization. I highly recommend it for anyone needing accurate and visually appealing charts for their projects.