About BI Chart MCP Server
BI Chart MCP Server is a Python MCP server for AI-assisted data transformation and BI chart generation. Its project includes data loading, processing, and Vega-Lite visualization modules.
Key features
- 01Load and process data
- 02Generate BI visualizations
- 03Includes Vega-Lite rendering components
- 04Includes unit tests
Use cases
- 01Transform data through an AI assistant
- 02Generate data visualization charts
MCP support
The MCP server lets AI assistants connect to data sources, transform data, and generate visualizations.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEBI 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.pyprocessor.py
- resources/: Modules to manage project resources.
manager.pymemo.py
- visualization/: Visualization components.
renderer.pyvega_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
- Clone the repository.
- Create a virtual environment and activate it:
python -m venv .venv .venv\Scripts\activate # On Windows - 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!
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.