Skip to main content
Glama
widgetdash-mcp

widgetdash-mcp

by purian

WidgetDash MCP server

Let your AI agent put any number on your iPhone.

WidgetDash shows numbers from any service on iPhone Home Screen widgets, Lock Screen widgets and Live Activities. This Model Context Protocol server lets Claude Desktop, Claude Code, Cursor and other MCP clients push data to your widgets and read it back. You just ask:

"Put my Stripe MRR on my iPhone widget."

What you need

  1. The free WidgetDash iOS app: https://apps.apple.com/us/app/widgetdash/id6761054679, with a WidgetDash widget on your Home Screen or Lock Screen.

  2. Your API keys. Get them at https://widgetdash.app/app.

    • Write key: lets the agent create and update your widget data.

    • Read key (optional): read-only access. If you leave it out, the read tools use the write key.

  3. Node.js 18 or newer (npx comes with it).

Related MCP server: asc-mcp

Setup

Claude Code

claude mcp add widgetdash -e WIDGETDASH_WRITE_KEY=your-write-key -- npx -y widgetdash-mcp

Claude Desktop

Edit claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude Desktop:

{
  "mcpServers": {
    "widgetdash": {
      "command": "npx",
      "args": ["-y", "widgetdash-mcp"],
      "env": {
        "WIDGETDASH_WRITE_KEY": "your-write-key",
        "WIDGETDASH_READ_KEY": "your-read-key"
      }
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json for all projects, or .cursor/mcp.json for one project:

{
  "mcpServers": {
    "widgetdash": {
      "command": "npx",
      "args": ["-y", "widgetdash-mcp"],
      "env": { "WIDGETDASH_WRITE_KEY": "your-write-key" }
    }
  }
}

Other MCP clients that can launch a stdio server work the same way. The command is npx -y widgetdash-mcp, and the keys go in the environment variables below.

Environment variables

Variable

Required

Description

WIDGETDASH_WRITE_KEY

For writes

Write key from https://widgetdash.app/app. push_metrics, push_number and delete_source need it.

WIDGETDASH_READ_KEY

No

Read key. list_sources and get_widget_data use it, or the write key if it isn't set.

WIDGETDASH_API_URL

No

API base URL. Default: https://api.widgetdash.app.

Example prompts

  • "Put my Stripe MRR on my iPhone widget." (The agent reads the number with a Stripe tool, then calls push_number.)

  • "Show today's GitHub stars, open issues and open PRs for my repo on my Lock Screen widget."

  • "Make a 'Server' widget with CPU as a progress bar, uptime as a number and a green 'Healthy' status badge."

  • "Every time you finish a build, set the 'CI' widget status to Passing or Failing."

  • "What's on my WidgetDash widget right now?"

  • "Remove the old 'test' source from my widget."

Tools

Tool

What it does

push_number

Sets one value on a source, e.g. MRR = $12,400. Other metrics on the source stay as they are. The metric is matched by label. If the source doesn't exist yet, it is created.

push_metrics

Creates or updates a source: title (display_name), SF Symbol icon, category, sort_order (new sources only; reorder in the app) and the full metrics list. The list replaces the source's current metrics.

list_sources

Lists your sources (key, title, icon, hidden or shown) and how many your plan allows. The free plan allows 5.

get_widget_data

Shows what's on the widget now: every enabled source with its metrics and last update time, or a single source.

delete_source

Permanently deletes a source and ends any Live Activity for it.

Metrics

Each metric has a label, a value, an optional type, an optional color and an optional wide:

  • type sets how the widget draws the value:

    • number: a big bold figure.

    • text: a plain string.

    • status: a colored badge.

    • progress: a bar. The value must be 0 to 100, and a trailing % is removed for you.

    • percentage: compact percent text.

    • timestamp: a moment, shown as a live relative time such as "8 hours ago". Send an ISO 8601 time (2026-10-23T05:00:00Z) or Unix epoch seconds. Reads show the relative time plus the exact time.

    If you leave type out, values that look like numbers (42, $12,400, 3.5%) become number and everything else becomes text. With push_number, an existing metric keeps its current type, color and wide, and the source's other metrics are re-sent as they were stored: timestamps keep their exact time, and colors chosen by the source's color rules stay under the rules' control.

  • color: green, red, yellow, blue, gray, orange, purple or cyan.

  • wide: true gives the metric a full-width row of its own on Large widgets (iOS app 1.8 or later), for long text such as a title. Other text that shares a row shows up to two lines. Put wide metrics last to keep the others in one row.

  • icon: any SF Symbol name, e.g. dollarsign.circle.fill, chart.bar.fill, server.rack or heart.fill.

Fields you leave out (display_name, icon, category, raw_data) keep their current values. sort_order only places a new source: once it exists, its order is the one set in the app, so an agent can't undo it.

Security

  • The write key can only write your own widget data. It can't reach other users' data or your account's billing.

  • Keys go only in the Authorization header of requests to the WidgetDash API. The server never logs them and removes them from any error text it returns.

  • Treat the write key like a password. If it leaks, rotate it at https://widgetdash.app/app.

  • The server only talks to WIDGETDASH_API_URL, which is https://api.widgetdash.app by default.

Development

npm install
npm run build        # compiles src/ to dist/
npm test             # builds, then runs the end-to-end tests

npm test runs every tool through a real MCP client over stdio, against an in-memory mock of the WidgetDash API (test/mock-api.mjs). It needs no network and no keys, and it never contacts production.

To try it interactively, run npx @modelcontextprotocol/inspector node dist/index.js.

MCP Registry

server.json is the entry for the official MCP Registry under the name io.github.purian/widgetdash-mcp, following schema 2025-12-11. The mcpName field in package.json must match that name for npm ownership verification. Status: draft. It hasn't been published yet, and the registry is still in preview, so check server.json against the current schema before running mcp-publisher publish.

License

MIT © WidgetDash

Available Tools

5 tools
delete_sourceDelete WidgetDash sourceA
DestructiveIdempotent

Permanently delete a data source (and its data) from the user's WidgetDash iPhone widgets. Ends any Live Activity for it. Only do this when the user asks to remove it. Requires WIDGETDASH_WRITE_KEY.

Inputs: source_key (required).

get_widget_dataRead iPhone widget dataA
Read-only

Read what is currently shown on the user's WidgetDash iPhone widgets: every enabled source with its metrics and last update time, or one source if source_key is given. Uses WIDGETDASH_READ_KEY, or the write key if no read key is set.

Inputs: source_key.

list_sourcesList WidgetDash sourcesA
Read-only

List the data sources on the user's WidgetDash iPhone widgets (source_key, title, icon, enabled/hidden) plus the plan's source usage (the free plan allows 5 sources). Uses WIDGETDASH_READ_KEY, or the write key if no read key is set.

Inputs: no named parameters.

push_metricsPush metrics to iPhone widgetA
Idempotent

Create or update a WidgetDash data source shown on the user's iPhone Home Screen / Lock Screen widgets and Live Activities. Sets the source's title, SF Symbol icon, category and its full list of metrics (label + value + type + color). The metrics list REPLACES the source's current metrics; use push_number to change a single value. Omitted display_name/icon/category keep their current values; sort_order only applies when the source is created. Requires WIDGETDASH_WRITE_KEY.

Inputs: metrics (required), source_key (required), icon, category, +3 more.

push_numberPush one number to iPhone widgetA
Idempotent

Quickest way to put a single number or value on the user's iPhone Home Screen / Lock Screen widget via WidgetDash, e.g. 'Stripe MRR = $12,400' or 'Open tickets = 7'. Sets one metric (matched by label) on a source, keeping the source's other metrics, title and icon; creates the source if it does not exist. Requires WIDGETDASH_WRITE_KEY.

Inputs: label (required), value (required), source_key (required), icon, +5 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool has a distinct action, and the push_metrics vs push_number overlap is explicitly resolved in the descriptions (full metric list replacement vs single value update). The only mild ambiguity is between get_widget_data and list_sources, since get_widget_data also enumerates sources with metrics, though list_sources uniquely adds plan usage metadata.

    Naming Consistency5/5

    All five tools follow a clean snake_case verb_noun pattern (delete_source, get_widget_data, list_sources, push_metrics, push_number). Verbs are semantically meaningful and consistent within the read (get/list) and write (push/delete) families.

    Tool Count5/5

    Five tools map exactly onto the domain's core operations: list sources, read widget data, full upsert, quick single-value upsert, and delete. No redundant tools and nothing that feels like padding.

    Completeness4/5

    The lifecycle is largely covered: read, list, create/update (both full and incremental), and delete. Minor gaps exist — sources are listed with enabled/hidden state but there is no tool to toggle visibility, reorder, or remove an individual metric, so agents must rewrite the whole metric list to make such changes.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to access App Store Connect data including financial metrics, subscription analytics, app performance data, and revenue insights. Provides real-time iOS app metrics through secure API integration with rate limiting and comprehensive reporting capabilities.
      18 npm
      39
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      Enables AI agents to manage App Store Connect apps, including registering bundle IDs, uploading metadata and screenshots, setting age ratings, managing TestFlight groups and testers, and submitting apps for review.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to ring or text a user's actual iPhone, read a question or update aloud, and return the spoken answer back to the agent as text. Calls and messages land in a single titled thread per agent, with tools for polling results, waiting for replies, and labeling conversations.
      46
      MIT