BI Chart MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BI Chart MCP Servercreate a bar chart of sales by region from sales_data.csv"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.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 WindowsInstall the required dependencies:
pip install -r requirements.txt
Running the Server
You can run the server using the provided script:
python scripts/run_server.pyAlternatively, you can start the server directly from the module:
python -m mcp_bi_visualizer.serverTesting
Run the tests using your preferred test runner. For example, with pytest:
pytestNotes
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!
Latest Blog Posts
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/c-cf/BI-Chart-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server