highchart-mcp-sdk (Python)
Async Python client for the Highcharts MCP server.
Install
pip install highchart-mcp-sdk # (not yet published)
# from source:
pip install -e packages/sdk-python
Usage
import asyncio
from highchart_mcp_sdk import HighchartClient
async def main():
# Spawn the server over stdio...
async with HighchartClient.connect_stdio(command="node", args=["dist/index.js"]) as client:
catalog = await client.list_chart_types()
cfg = await client.create_chart(
type="line",
title="Sales",
xAxisCategories=["Jan", "Feb", "Mar"],
series=[{"name": "Revenue", "data": [10, 20, 15]}],
)
svg = await client.render_chart(
{"chart": {"type": "candlestick"}, "series": [{"data": [[1, 2, 3, 1, 2]]}]},
format="svg",
constr="stockChart",
)
# ...or connect to a running HTTP server:
# async with HighchartClient.connect_http("http://localhost:3000/mcp", api_key="...") as client:
# ...
asyncio.run(main())
API
HighchartClient.connect_stdio(command, args=None, env=None)— async context managerHighchartClient.connect_http(url, api_key=None, headers=None)— async context managercreate_chart(**input)→ dict ({"constr", "options"}or a render result)render_chart(chart_options, format=None, constr=None)export_chart(chart_options, format, constr=None, width=None, height=None, scale=None)list_chart_types(family=None)
Tool errors raise HighchartToolError.
Tests
pip install -e "packages/sdk-python[test]"
pytest packages/sdk-python # offline unit tests
RUN_PY_E2E=1 pytest packages/sdk-python # end-to-end (needs a runnable server)
Metadata
Release files for highchart-mcp-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| highchart_mcp_sdk-0.1.0.tar.gz | 4.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| highchart_mcp_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / highchart_mcp_sdk-0.1.0.tar.gz
| Download URL | highchart_mcp_sdk-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efc51f0837cc2ee42ee51fd934f0a9e95e7889fc2f9cd9bb7fe820a6d04b01f9
|
|
BLAKE2b-256 checksum How to use checksums |
500a952a227170f24c43a663b5d470e1397ff424fd4c993e6801cd7d4c626414
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.11
|
Release files / highchart_mcp_sdk-0.1.0-py3-none-any.whl
| Download URL | highchart_mcp_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d3fea4865000ba749338ead1fba766a228b525e808e5d28be0c1a9b0e088ffe
|
|
BLAKE2b-256 checksum How to use checksums |
38d190773a2355777ca5db73c2004a53265f910353aa6ed1dbcb0a739942b08f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.11
|
Security for highchart-mcp-sdk 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.