apollo-charting
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CHARTING_FONT | No | Font family to use for charts. | system |
| CHARTING_GRID | No | Whether to show grid lines: true or false. | true |
| CHARTING_HOME | No | Data root directory for generated artifacts. | ~/.local/share/charting |
| CHARTING_SCALE | No | Default scale factor (1-4) multiplying width and height. | 2 |
| CHARTING_THEME | No | Default chart theme: light or dark. | light |
| CHARTING_WIDTH | No | Default chart width in CSS pixels. | 720 |
| CHARTING_HEIGHT | No | Default chart height in CSS pixels. | 420 |
| CHARTING_LEGEND | No | Legend position (e.g., bottom). | bottom |
| CHARTING_PALETTE | No | Default palette name. | default |
| CHARTING_BACKGROUND | No | Chart background: transparent or a color. | transparent |
| CHARTING_OUTPUT_DIR | No | Default output directory for generated PNGs. | <home>/output |
| APOLLO_CHARTING_HOST | No | Host to bind for HTTP transports. Also configurable via --host. | 127.0.0.1 |
| APOLLO_CHARTING_PORT | No | Port to bind for HTTP transports. Also configurable via --port. | 8000 |
| APOLLO_CHARTING_LOG_LEVEL | No | Log verbosity: DEBUG, INFO, WARNING, ERROR, or CRITICAL. | INFO |
| APOLLO_CHARTING_TRANSPORT | No | Transport protocol: stdio (default), streamable-http, or sse. Also configurable via --transport. | stdio |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| render_chartA | Render a chart spec to a PNG and return metadata plus the inline image. Args:
spec: The chart spec (schema v1); see the charting://schema resource.
out: Output PNG path. Defaults to |
| validate_specA | Validate a chart spec without rendering it. With |
| chart_componentC | Return the equivalent shadcn/Recharts JSX for a chart spec. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| make-chart | Compose and render a chart spec with apollo-charting. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| palettes | Every built-in palette with its colors. |
| theme_list | The light and dark token maps. |
| demo_list | The names of the bundled example specs. |
| schema | A concise reference for every chart spec key. |
TDQS
Scored across 3 tools
Each tool has a distinct role: rendering, validation, and generating component code. No overlap or ambiguity between them.
All names follow snake_case with a verb-noun or clear-purpose pattern (render_chart, validate_spec, chart_component). Consistent and predictable.
Three tools is small but well-scoped for the stated purpose of chart rendering and conversion. Not overly thin, and each tool is essential.
Covers the core workflow: validate a spec, render to PNG, and generate JSX. Minor gaps like listing themes or configuration are not critical for the main use case.