# io.github.mpmcgowen/metricui (npm · @metricui/mcp-server)

React dashboard components — API lookup, code generation, and prop validation for AI tools.

- Trust score: 62/100 (medium)
- Change this week: +11
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@metricui/mcp-server`: 62/100 (this document), [markdown](https://verifymcp.io/servers/mpmcgowen-metricui/metricui-mcp-server.md), [page](https://verifymcp.io/servers/mpmcgowen-metricui/metricui-mcp-server)

## Channel facts

- Registry: `npm`
- Package: `@metricui/mcp-server`
- Version: `0.2.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 127 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 64/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (poor).
  - Tool/resource definitions use about 1983 tokens (~104/item across 19 items; 13 tools + 6 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 90/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 70% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add mpmcgowen-metricui -- npx -y @metricui/mcp-server
```

### Codex

```bash
codex mcp add mpmcgowen-metricui -- npx -y @metricui/mcp-server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mpmcgowen-metricui": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@metricui/mcp-server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add mpmcgowen-metricui --command npx --arg -y --arg @metricui/mcp-server
```

### Hermes

```yaml
mcp_servers:
  mpmcgowen-metricui:
    command: "npx"
    args: ["-y", "@metricui/mcp-server"]
```

### Other

```json
{
  "mcpServers": {
    "mpmcgowen-metricui": {
      "command": "npx",
      "args": [
        "-y",
        "@metricui/mcp-server"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 62, +37)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional regression] Security disclosure: fail → unverified
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → poor
- [functional] Licence: MIT

### 2026-08-01 (score 25, +18)

- [functional regression] Dependency health: partial → unverified
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100

### 2026-07-31 (score 7, −26)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 33, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 51)

First indexed and scored.

## MCP tools (13)

### `list_components` (~29 tokens)

List all MetricUI components, optionally filtered by category

Input parameters:

- `category` (string): Filter by category

### `search_components` (~44 tokens)

Search MetricUI components by use case description. Returns ranked results.

Input parameters:

- `query` (string, required): Natural language, e.g. 'show revenue over time' or 'pie chart'

### `get_component_api` (~55 tokens)

Get the full API reference for a specific MetricUI component — all props, types, defaults, examples

Input parameters:

- `component` (string, required): Component name, e.g. 'KpiCard', 'AreaChart', 'DataTable'

### `get_component_example` (~136 tokens)

Returns a complete, working code example for a MetricUI component with the requested features enabled. The example uses realistic sample data and has every relevant prop annotated. You adapt the values/labels to your specific use case — the structure and props are correct as-is.

Input parameters:

- `component` (string, required): Component name: KpiCard, AreaChart, BarChart, DonutChart, LineChart, DataTable, StatGroup, Sparkline, Badge
- `features` (array): Features to include in the example: comparison, sparkline, goal, conditions, dense, animation, stacked, grouped, horizontal, footer, pagination, etc.

### `generate_dashboard` (~155 tokens)

Generate a COMPLETE, production-quality MetricUI dashboard with theme presets, MetricGrid auto-layout, DashboardHeader with live status, FilterProvider + PeriodSelector, advanced KpiCards (conditions, goals, sparkline overlays), charts with reference lines and threshold bands, data-driven Callout alerts, and rich DataTable. Returns a full page.tsx file ready to use.

Input parameters:

- `description` (string, required): Dashboard description: 'SaaS metrics with MRR, churn, user growth, revenue breakdown, and top customers table'
- `metrics` (array): Specific metrics/sections to include
- `style` (string): Layout density
- `theme` (string): Theme preset (default: indigo)
- `variant` (string)

### `generate_data_shape` (~44 tokens)

Generate the TypeScript interface for a component's required data shape

Input parameters:

- `component` (string, required): Component name
- `series` (array): Series/field names to include

### `generate_table_columns` (~29 tokens)

Generate DataTable column definitions from a list of fields

Input parameters:

- `fields` (array, required): Field definitions

### `generate_provider_config` (~64 tokens)

Generate MetricProvider configuration JSX with only the fields you need

Input parameters:

- `animate` (boolean)
- `currency` (string)
- `dense` (boolean)
- `locale` (string)
- `nullDisplay` (string)
- `variant` (string)

### `validate_props` (~53 tokens)

Validate a MetricUI component's prop configuration — catches unknown props, type mismatches, deprecated usage, and common mistakes

Input parameters:

- `component` (string, required)
- `props` (object, required): Props to validate as key-value pairs

### `suggest_format` (~55 tokens)

Suggest the right format configuration for a value type

Input parameters:

- `sampleValue` (number): A sample value to show formatted output
- `valueType` (string, required): What kind of value: revenue, percentage, time, count, etc.

### `get_setup_guide` (~58 tokens)

Get complete setup instructions for MetricUI — install commands, peer dependencies, provider setup, CSS imports, and framework-specific configuration for Next.js, Vite, or CRA.

Input parameters:

- `framework` (string): Target framework (default: nextjs)

### `init_project` (~39 tokens)

Initialize a project for MetricUI — generates CLAUDE.md content with usage instructions so AI tools always use MetricUI components. Run this once per project.

### `search_docs` (~122 tokens)

Search all MetricUI documentation — components, props, types, patterns, format examples, and guides. Returns ranked results with snippets. Use this when a user asks conceptual questions like 'how do I set up dark mode?' or 'what format should I use for currency?'

Input parameters:

- `limit` (number): Max results to return (default 5)
- `query` (string, required): Natural language query, e.g. 'how to format currency', 'dark mode setup', 'table pagination', 'sparkline'
- `type` (string): Filter results by content type

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/mpmcgowen-metricui/metricui-mcp-server#diagnostics

## Score history

- 2026-08-03: 62
- 2026-08-02: 62
- 2026-08-01: 25
- 2026-07-31: 7
- 2026-07-30: 33
- 2026-07-28: 51
- 2026-07-27: 51

## Links

- npm package: https://www.npmjs.com/package/@metricui/mcp-server
- Socket report: https://socket.dev/npm/package/@metricui/mcp-server
- Repository: https://github.com/mpmcgowen/metricui
- Changelog RSS feed: https://verifymcp.io/servers/mpmcgowen-metricui/metricui-mcp-server/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/mpmcgowen-metricui/metricui-mcp-server/changelog.json
- HTML version of this page: https://verifymcp.io/servers/mpmcgowen-metricui/metricui-mcp-server
