@metrone-io/mcp 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +56 -0
  2. package/package.json +19 -1
package/README.md ADDED
@@ -0,0 +1,56 @@
1
+ # @metrone-io/mcp
2
+
3
+ [Model Context Protocol](https://modelcontextprotocol.io) server for [Metrone](https://metrone.io) analytics. Gives AI agents (Claude, GPT, Cursor, etc.) native access to your analytics data.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g @metrone-io/mcp
9
+ ```
10
+
11
+ ## Setup
12
+
13
+ Add to your MCP client configuration:
14
+
15
+ ```json
16
+ {
17
+ "mcpServers": {
18
+ "metrone": {
19
+ "command": "npx",
20
+ "args": ["-y", "@metrone-io/mcp"],
21
+ "env": {
22
+ "METRONE_API_KEY": "metrone_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
23
+ "METRONE_PROJECT_ID": "proj_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
24
+ }
25
+ }
26
+ }
27
+ }
28
+ ```
29
+
30
+ ## Available Tools
31
+
32
+ | Tool | Description |
33
+ |------|-------------|
34
+ | `metrone_get_stats` | Aggregate analytics (pageviews, visitors, bounce rate) |
35
+ | `metrone_get_events` | Recent events with filtering |
36
+ | `metrone_get_pages` | Top pages by views |
37
+ | `metrone_get_sources` | Traffic sources breakdown |
38
+ | `metrone_get_live` | Current live visitors |
39
+ | `metrone_track_event` | Track a custom event |
40
+ | `metrone_track_ai_call` | Track an AI call or chat session |
41
+
42
+ ## Example
43
+
44
+ Ask your AI agent:
45
+
46
+ > "How many pageviews did we get this week?"
47
+ > "What are our top traffic sources?"
48
+ > "Track a conversion event for user signup"
49
+
50
+ ## Documentation
51
+
52
+ [metrone.io/docs](https://metrone.io/docs)
53
+
54
+ ## License
55
+
56
+ [MIT](../../LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metrone-io/mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Metrone MCP server — expose analytics to AI agents via Model Context Protocol",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -21,6 +21,24 @@
21
21
  "dist",
22
22
  "README.md"
23
23
  ],
24
+ "keywords": [
25
+ "metrone",
26
+ "mcp",
27
+ "model-context-protocol",
28
+ "analytics",
29
+ "ai-agents"
30
+ ],
31
+ "author": "Metrone",
32
+ "license": "MIT",
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/metrone-io/sdks.git",
36
+ "directory": "packages/mcp"
37
+ },
38
+ "bugs": {
39
+ "url": "https://github.com/metrone-io/sdks/issues"
40
+ },
41
+ "homepage": "https://metrone.io",
24
42
  "dependencies": {
25
43
  "@modelcontextprotocol/sdk": "^1.0.0",
26
44
  "zod": "^4.3.6"