MCP cover image
See in Github
2025-04-01

用于数据转换和BI图表的MCP(模型上下文协议)服务器将允许AI助手连接到您的数据源,转换数据并通过自然语言请求生成高质量的可视化。

1

Github Watches

2

Github Forks

4

Github Stars

BI Chart MCP Server

This project implements the BI Chart MCP Server using Python. Previously, the functionality was prototyped with TypeScript, but the current and maintained version is built with Python.

Project Structure

  • mcp_bi_visualizer/: Contains the main server code and modules.
    • server.py: Main entry point for starting the MCP server.
    • data/: Data loading and processing modules.
      • loader.py
      • processor.py
    • resources/: Modules to manage project resources.
      • manager.py
      • memo.py
    • visualization/: Visualization components.
      • renderer.py
      • vega_lite.py
  • scripts/
    • run_server.py: A script to launch the server.
  • tests/: Unit tests for the server and visualization components.
  • Other files include configuration files (e.g., pyproject.toml, requirements.txt, setup.py) and documentation.

Installation

  1. Clone the repository.
  2. Create a virtual environment and activate it:
    python -m venv .venv
    .venv\Scripts\activate   # On Windows
    
  3. Install the required dependencies:
    pip install -r requirements.txt
    

Running the Server

You can run the server using the provided script:

python scripts/run_server.py

Alternatively, you can start the server directly from the module:

python -m mcp_bi_visualizer.server

Testing

Run the tests using your preferred test runner. For example, with pytest:

pytest

Notes

  • The project has been migrated from a TypeScript-based implementation to Python.
  • For any issues or contributions, please refer to the CONTRIBUTING.md file.

Enjoy using the BI Chart MCP Server!

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

    Reviews

    4 (1)
    Avatar
    user_WckN8y4E
    2025-04-15

    I've been using the R2D2 application by BlockOpsNetwork and it has truly revolutionized my workflow. The seamless integration and user-friendly interface make it an invaluable tool for my day-to-day operations. Highly recommended for anyone looking to enhance their productivity! Check it out here: https://mcp.so/server/r2d2/blockopsnetwork.