MCPInstall
BI-Chart-MCP-Server logo

BI-Chart-MCP-Server

by c-cf 13 stars c-cf/BI-Chart-MCP-Server

A MCP (Model Context Protocol) server for data transformation and business intelligence charts will allow AI assistants to connect to your data sources, transform the data, and generate high-quality visual charts through natural language requests.

READMEmain

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!

More Data Analysis & Visualization MCP servers

Similar servers from the same category.

CoinStats

coinstatshq

Provides real-time cryptocurrency market data, portfolio tracking, and news through direct access to the CoinStats API for retrieving coin information, market trends, wallet balances, and exchange integrations.

DataTrack+1

Vizro

mckinsey

Enables creation and validation of data visualization dashboards through natural language by generating chart code, validating configurations, and producing interactive Vizro visualizations with PyCafe preview links.

Data Analysis & Visualization

Provides a bridge between AI agents and Atlan data catalog services for searching, retrieving, traversing lineage, and updating asset metadata through the pyatlan SDK

search

Integrates tools powered by the Cloudflare DNS Analytics API to provide insights on DNS analytics and optimization.

Data Analysis & Visualization