CS

clamp-sh/mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

2 stars 0 forks 品質 82 トレンド 12MIT

Analytics MCP server for Clamp Analytics. Gives Claude, Cursor, VS Code, Windsurf, and Cline tools for traffic, pages, events, revenue, errors, funnels, cohorts, and alerts. Stdio + hosted Remote MCP.

概要

Analytics MCP server for Clamp Analytics. Gives Claude, Cursor, VS Code Copilot, Windsurf, Cline, and any other Model Context Protocol client live access to your traffic, pages, events, revenue, errors, funnels, cohorts, and alerts — and the tools to create funnels and metric alerts from the conversation. Install the hosted Remote MCP from your Clamp dashboard in one click — auth happens automatically, no API key to paste, no config files to edit. Open a project, go to the Installation tab, and pick your editor. This npm package is the stdio path for CI, headless agents, custom clients, and self-hosted Clamp instances. Once connected, your agent can answer questions like: - "How's traffic this week?" - "Why did pageviews drop on Tuesday?" - "Which referrers drove the most signups?

README

以下は原文 README の抜粋です。原文を見る。

@clamp-sh/mcp

Analytics MCP server for Clamp Analytics. Gives Claude, Cursor, VS Code Copilot, Windsurf, Cline, and any other Model Context Protocol client live access to your traffic, pages, events, revenue, errors, funnels, cohorts, and alerts — and the tools to create funnels and metric alerts from the conversation.

Using Cursor, VS Code, Claude Code, or Claude Desktop? Install the hosted Remote MCP from your Clamp dashboard in one click — auth happens automatically, no API key to paste, no config files to edit. Open a project, go to the Installation tab, and pick your editor. This npm package is the stdio path for CI, headless agents, custom clients, and self-hosted Clamp instances.

What your agent can do

Once connected, your agent can answer questions like:

  • “How’s traffic this week?”
  • “Why did pageviews drop on Tuesday?”
  • “Which referrers drove the most signups?”
  • “Compare US vs Germany conversion this month”
  • “Create a funnel from /pricing to signup to purchase”
  • “Alert me when bounce rate on /pricing goes above 70%”
  • “What did Hacker News visitors actually read?”
  • “Run the weekly report”

Each question maps to one or two MCP tool calls. The agent picks the right tool, runs the query, and returns the answer in chat — no dashboard tab, no copy-paste.

Why an MCP server for analytics

A dashboard answers the questions you anticipated when you built it. An MCP server lets the agent answer the ones you didn’t. Same data, different access pattern: the agent can compose tools, follow up on its own answers, and run the diagnostic queries you’d manually click through.

Tools are typed (outputSchema per MCP protocol 2025-06-18), so client-side validation works before any call lands. Per-tool descriptions name the use case and a representative example, so agents pick the right tool on the first try.

Setup

GitHub で README 全文を見る

インストール

npx -y @clamp-sh/mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "clamp": { "command": "npx", "args": ["-y", "@clamp-sh/mcp"], "env": { "CLAMP_API_KEY": "sk_proj..." } } } }