Skip to content
MCP server

rhp-mcp MCP Server

Make charts with rhp from any AI agent: an MCP server with rhp's guide, references and recipes, and a checker that renders a chart in a browser and reports what is wrong, with screenshots

rhp-mcp scores 51 (Fair), licensed MIT and written in HTML. It installs as a local process. It does not declare tools yet. Filed under Browser automation. GitHub shows 66 stars. Package registries report about 110 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by bezda-teamMITHTML66 stars
Trust score
51Fair
Trust score 51 of 100, Fair

Fair trust

51 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 51 comes from

0 + 20 + 10 + 10 + 4 + 7 = 51. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity10 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 10 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "bezda-team-rhp": {      "command": "npx",      "args": [        "-y",        "@bezda/rhp-mcp@0.1.3"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

https://github.com/user-attachments/assets/a2a87543-8e15-4739-aa47-8b4f75fa4c3c

rhp: reactive html plots

rhp builds charts out of HTML elements placed by CSS, with SolidJS, instead of drawing them into an SVG or a canvas. You describe one slat, the template for one row of data, from a few blocks (Bar, Dot, Tick, Label, Cell, Place, Area and Line), and rhp draws a slat for every row and keeps each one in its place. When a value changes, only what reads it runs again, and a block writes only the CSS variables that changed.

Guides, reference and a gallery of live charts: https://rhp.vercel.app

Install

npm install @bezda/rhp

Solid is its only peer dependency, and there is no stylesheet to import: rhp adds its CSS when the first chart appears. A Solid app's build (Vite, SolidStart, Astro) compiles rhp's source with the app. Anywhere else the package picks a ready build: one for browsers, and one for Node, Deno and workers that draws charts on a server.

  • No build step: import @bezda/rhp/standalone from a CDN, one module with Solid included (36 kB gzipped); Install shows a whole page.
  • React: @bezda/rhp-react, in react/, turns an rhp chart into a React component.

Example

A bar chart, as a Solid app's App.jsx (Install starts a new app):

import { Chart, Plot, Bar, Label, slat } from "@bezda/rhp";

const Fruit = slat({ thickness: 32, room: { start: 80, end: 40 } }, (d) => (
  <div>
    <Label edge="start">{d.name}</Label>
    <Bar to={d.sold} />
    <Label at={d.sold}>{d.sold}</Label>
  </div>
));

export default function App() {
  return (
    <Chart scale={[0, 30]}>
      <Plot name={["Apples", "Bananas", "Cherries"]} sold={[12, 18, 7]}>{Fruit}</Plot>
    </Chart>
  );
}

Each prop of the Plot is a column of data, and each slat reads its row's values as d.name and d.sold. Your first chart builds this up step by step.

For a large scatter plot, the experimental ManyDots collection renders plain HTML points without a slat or Solid computation for each point. It supports shared styling, category classes, and per-point colors, sizes, and shapes. Choose it explicitly, or keep Dot for individual blocks and custom slat content at any point count.

Good to know

  • Charts are plain DOM with no shadow root: querySelector, Testing Library and your page's event listeners all work.
  • A slat's CSS reaches only its own slats, and the page's CSS can't change a chart's layout. A Chart that says noCssGuard leaves that protection out and draws faster, for a page whose CSS leaves its elements alone; noCssGuard() does it for every chart on the page.
  • slat(settings, fn) returns a new function, the slat type, and leaves fn as it was, so one function can make several slat types with different settings. Give the Plot what slat() returns: fn itself carries no settings.

Make charts with an AI agent

rhp comes with an Agent Skill and a checker, so an AI coding agent that has never seen rhp can make an rhp chart in one go.

  • The skill (skills/rhp/) teaches the agent how a chart is built, gives it tested chart pages to take technique from, and makes it check its work. npx skills add bezda-team/rhp installs it into Claude Code, Codex, Cursor, Copilot, Gemini CLI and other agents.
  • The checker (mcp/) renders a chart in a browser at desktop and phone widths and reports what a reader would hit, with a fix for each: npx -y @bezda/rhp-mcp check chart.html. With no arguments it is an MCP server with the same check.
  • Claude Code installs both with /plugin marketplace add bezda-team/rhp, then /plugin install rhp@rhp.

Build with AI on the website has the setup for each tool and a prompt for chat apps.

What's in the package

File
dist/index.jsthe browser build, one ES module, with Solid left to the app
dist/server.jsthe same for a server
dist/source/the source, for a Solid app's own build (the solid export condition)
dist/standalone.jsrhp and Solid in one module, for pages with no build step
dist/rhp.cssrhp's stylesheet, for a page that links it once itself (linkedCss())
dist/rhp-no-css-guard.cssthe same without the guard, for such a page that also calls noCssGuard()
dist/posters.cssthe gallery's poster looks, for <Poster> (optional)

Development

You need Node 22 or later.

npm install
npx playwright install    # the browsers the tests run in
npm run build             # dist/
npm test                  # builds the test pages and checks them in Chromium
npm run buildwrites dist/
npm testchecks the types with tsc, then the test pages in Chromium with Playwright. BROWSER=webkit or BROWSER=firefox runs them in that engine; CI runs all three on every pull request and on master.
npm run galleryexamples/gallery/out/slat-gallery.html, a page of plots the tests also check
bench/rhp against eleven other chart libraries: see bench/README.md
bench/ab/rhp against itself (a change against master), measured so the answer holds on a machine in use: see bench/ab/README.md

The code:

src/plot.jsxChart, Plot, Scale, Axis and Theme
src/blocks.jsxthe blocks
src/manydots.jsx, src/manydots.cssthe experimental bulk HTML scatter collection and its narrow geometry rules
src/style.jshow CSS gets into the page: slat(), restyle(), scoping a slat's CSS, and the CSS a server writes
src/rhp.cssthe core CSS; guard.css (the rules that keep a page's CSS out of charts, left out with noCssGuard), and gutters.css and cross.css, added when a chart first needs them
src/frame.js, src/animate.jswhen changes are written, and the JS version's clock
src/data.js, src/shape.jsthe data helpers and shape()
src/poster.jsx, src/posters.cssPoster and its looks
test/run.mjsevery check, including an app drawn on a server and taken over in the browser, and a Vite app built from rhp's source

The AI kit has its own checks: npm install and npm test in mcp/ run the checker against a set of broken charts, the gallery's examples and every recipe in skills/rhp/recipes/.

Contributing

Bug reports, questions and pull requests are welcome on GitHub.

  • A bug: open an issue with the smallest chart that shows it (one HTML file is best), the browser it happens in, and what you expected to see.
  • A change: open a pull request against master. Run npm test before you open it, and npm test in mcp/ as well when you change the skill, a recipe or the checker. CI runs the same tests in Chromium, WebKit and Firefox on every pull request.
  • A fix is easiest to accept with a check that fails without it: a test page in test/, or a broken chart in mcp/test/broken/ for the checker.
  • A recipe or a change to the skill keeps the checker clean: node mcp/bin/rhp-mcp.js check <file> reports no errors and no warnings at the widths the skill checks.
  • Write code the way the code around it is written.

History

Version 2 is a rewrite of v1 ("react html plots"), a React library in three packages; v1's code is on the v1 branch.

License

MIT, see LICENSE. Some files came from elsewhere and keep their own licenses: see CREDITS.md.

Frequently asked questions

What is rhp-mcp MCP Server?

Make charts with rhp from any AI agent: an MCP server with rhp's guide, references and recipes, and a checker that renders a chart in a browser and reports what is wrong, with screenshots

How do I install rhp-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. rhp-mcp MCP Server runs locally from the npm package @bezda/rhp-mcp with the command npx -y @bezda/rhp-mcp@0.1.3.

Is rhp-mcp MCP Server free and open source?

Yes. rhp-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does rhp-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for rhp-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is rhp-mcp MCP Server's trust score calculated?

rhp-mcp MCP Server scores 51 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server