# Build charts with typed params

> Build charts with typed params is an open-source agent skill for analytics and data. Builds Amplitude charts from typed parameters so the agent avoids hand-written JSON. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/build-charts-with-typed-params
- **Repository:** https://github.com/amplitude/mcp-marketplace
- **GitHub stars:** 50
- **License:** MIT
- **Skill name:** build-charts-with-typed-params
- **Collection:** https://github.com/amplitude/mcp-marketplace
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-12-03

## About

This skill teaches an agent to describe Amplitude charts as typed, UI-shaped parameters passed to the query_amplitude_data tool, which the server compiles into a validated chart definition. It covers the shared building blocks such as event selections, filter conditions, segments, date ranges and intervals, and the specific fields for segmentation, funnel, retention, sessions and data table charts. Raw definition JSON is kept as a fallback for the few chart types the typed model does not cover.

The workflow has two paths: creating a new chart by resolving event and property names through the taxonomy tools first, and modifying or forking a saved chart by fetching it in typed form and resubmitting it linked to its parent. It also gives guidance on group-level properties, compile error hints, and what to check when a query returns empty data, such as name mismatches, date windows and missing group-by entries.

The skill expects an Amplitude MCP connection with the query, chart retrieval and taxonomy search tools available. It has no bundled scripts and is written in Markdown with JSON examples.

## When your agent uses it

> Builds Amplitude charts using the typed `chart` parameter on query_amplitude_data — events, filters, group-bys, segments, date ranges, and per-kind fields for segmentation, funnel, retention, sessions, and data tables. Use when creating a chart, modifying or forking a saved one, or when a query returns empty data.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/amplitude/mcp-marketplace/tree/HEAD/plugins/amplitude/skills/build-charts-with-typed-params)
- [License: MIT](https://github.com/amplitude/mcp-marketplace/tree/HEAD/plugins/amplitude/skills/build-charts-with-typed-params)

## Features

- **Typed chart parameters:** Describes charts with a small model mirroring the chart builder, compiled server-side into a validated definition.
- **Chart kinds coverage:** Explains the segmentation, funnel, retention, sessions and data table chart types and their key fields.
- **Saved chart forking:** Shows how to fetch a saved chart as typed parameters, edit it and link the new query to the original.
- **Group property handling:** Covers account-level properties, group type naming and what to do when the server rejects a group property.
- **Compile error recovery:** Lists common compile errors such as range and interval mismatches and how to fix a single field.
- **Empty result troubleshooting:** Gives a checklist for diagnosing queries that return no data, such as name, scope and date window issues.

## Good for

- Create a weekly unique users chart for a signup event filtered by platform
- Fork a saved Amplitude chart and change its date range or breakdown
- Build a funnel with a seven-day conversion window across onboarding events
- Chart account-level plan tiers by counting organizations instead of users
- Diagnose why an Amplitude query returns empty data

## Install

### Claude Code

This skill ships in the `amplitude` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add amplitude/mcp-marketplace
/plugin install amplitude@amplitude
```

Or copy only this skill to `~/.claude/skills/build-charts-with-typed-params`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/build-charts-with-typed-params &&
cp -R "$tmp/plugins/amplitude/skills/build-charts-with-typed-params" ~/.claude/skills/build-charts-with-typed-params &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/build-charts-with-typed-params` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/build-charts-with-typed-params` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/build-charts-with-typed-params &&
cp -R "$tmp/plugins/amplitude/skills/build-charts-with-typed-params" ~/.agents/skills/build-charts-with-typed-params &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/build-charts-with-typed-params` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/build-charts-with-typed-params` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/build-charts-with-typed-params &&
cp -R "$tmp/plugins/amplitude/skills/build-charts-with-typed-params" ~/.cursor/skills/build-charts-with-typed-params &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/build-charts-with-typed-params` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/amplitude/mcp-marketplace.git --path plugins/amplitude/skills/build-charts-with-typed-params
```

Or copy the folder to `~/.gemini/skills/build-charts-with-typed-params` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/build-charts-with-typed-params`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/build-charts-with-typed-params &&
cp -R "$tmp/plugins/amplitude/skills/build-charts-with-typed-params" ~/.copilot/skills/build-charts-with-typed-params &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/build-charts-with-typed-params` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git
```

Then copy `mcp-marketplace/plugins/amplitude/skills/build-charts-with-typed-params` into your agent's skills folder as `build-charts-with-typed-params`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Build charts with typed params trigger?

It applies when creating a chart, modifying or forking a saved one, or when a query returns empty data.

### Does Build charts with typed params need any scripts or extra files?

No scripts are included; the skill is a single SKILL.md that relies on the Amplitude MCP tools.

### What happens if a property name is wrong?

The compiler checks structure only, so a non-existent name returns a valid chart with empty data; the skill advises resolving names through taxonomy search first.

### Can Build charts with typed params build chart types outside the typed model?

Yes, it falls back to raw definition JSON for composition and revenue LTV charts or advanced parameters with no typed field.

### How do I install Build charts with typed params in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/build-charts-with-typed-params to use it in all your projects, or to .claude/skills/build-charts-with-typed-params in one project. Or install the amplitude plugin, which includes it: /plugin marketplace add amplitude/mcp-marketplace, then /plugin install amplitude@amplitude.

### Does Build charts with typed params run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Build charts with typed params?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Build charts with typed params?

The closest alternatives to Build charts with typed params are Create chart, Create dashboard, Analyze chart, Chart link analysis and Analyze dashboard.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Create chart](https://ai-powered.com/skills/create-chart): Create chart is an open-source agent skill for analytics and data.
- [Create dashboard](https://ai-powered.com/skills/create-dashboard): Create dashboard is an open-source agent skill for analytics and data.
- [Analyze chart](https://ai-powered.com/skills/analyze-chart): Analyze chart is an open-source agent skill for analytics and data.
- [Chart link analysis](https://ai-powered.com/skills/chart-link-analysis): Chart link analysis is an open-source agent skill for analytics and data.
- [Analyze dashboard](https://ai-powered.com/skills/analyze-dashboard): Analyze dashboard is an open-source agent skill for analytics and data.
- [Visualization](https://ai-powered.com/skills/visualization-metabase): Visualization is an open-source agent skill for analytics and data.
- [Scheduled report refresh](https://ai-powered.com/skills/scheduled-report-refresh): Scheduled report refresh is an open-source agent skill for analytics and data.
- [Analyze experiments](https://ai-powered.com/skills/analyze-experiments): Analyze experiments is an open-source agent skill for analytics and data.

---
Source: https://ai-powered.com/skills/build-charts-with-typed-params
