npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@axicharts/charts-mcp

v0.1.5

Published

MCP server for AxiCharts cartesian panel authoring — create, validate, revise, and compile marks[] specs.

Readme

@axicharts/charts-mcp

MCP server for RFC-004 agent chart families — cartesian, distribution, and matrix. Wraps @axicharts/charts-spec planner and validation APIs so external agents compose closed marks[] grammars without repo context.

Tools (Tier 0)

| Tool | Purpose | |------|---------| | create_panel | Intent + family → PanelSpec (prefer over legacy per-family tools) | | validate_panel | Spec + rows → { ok, spec?, errors[] } with fix patches | | list_marks | Closed mark catalog per family | | plan_dashboard | Tabular CSV/rows → KPIs, charts, decisions, persona | | compose_panel | PanelRecipe + rows → validated PanelSpec (C174) | | execute_transform | aggregateRows — groupBy + aggregates + where | | list_transform_ops | Closed transform algebra catalog | | describe_data_profile | Field names + inferred roles |

Tools (cartesian debug / compat)

| Tool | Purpose | |------|---------| | create_cartesian_panel | Intent + optional rows/groupBy pre-aggregate | | validate_cartesian_spec | Cartesian-only validation | | revise_cartesian_panel | Multi-turn revise (add rule/band/line) | | list_cartesian_marks | Cartesian mark catalog | | compile_cartesian_panel | Validate + compile smoke test | | create_table_panel | Row preview / transaction table |

Schema URLs: cartesian-panel.schema.json · data-profile.schema.json on relevant tools.

OpenAPI tool bundle (non-MCP agents)

import { OPENAPI_TOOL_BUNDLE } from "@axicharts/charts-mcp/openapi";

Published JSON (after build): openapi/tools.bundle.json in this package.

Docs: Agent MCP schemas

Cursor / Claude Desktop

Published (npm):

{
  "mcpServers": {
    "axicharts": {
      "command": "npx",
      "args": ["-y", "@axicharts/charts-mcp"]
    }
  }
}

See examples/cursor-mcp.json.

Typical agent loop

  1. describe_data_profile — learn field names and roles
  2. plan_dashboard — full tabular plan (preferred for CSV/chat tables)
  3. create_panel — single panel from intent (must name mark types for cartesian)
  4. execute_transform + compose_panel — when you need explicit aggregation recipes
  5. validate_panel — mandatory; retry on UNKNOWN_FIELD using fix patches
  6. compile_cartesian_panel — optional smoke before handoff

For tabular CSV uploads, prefer plan_dashboard over hand-building panels.

Agent skills

Related packages

  • @axicharts/charts-spec — validation, compile, playground
  • @axicharts/charts-planner — tabular planDashboardFromRows