{"_id":"@triplewhale/mcp-server-triplewhale","_rev":"7-d488e722d7ce5dd13002e9e3cf5606fb","name":"@triplewhale/mcp-server-triplewhale","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"@triplewhale/mcp-server-triplewhale","version":"0.0.1","author":{"name":"TripleWhale"},"license":"MIT","_id":"@triplewhale/mcp-server-triplewhale@0.0.1","maintainers":[{"name":"dermasmid","email":"twerskycheskel@gmail.com"},{"name":"chezih-","email":"chezih@gmail.com"}],"homepage":"https://github.com/Triple-Whale/mcp-server-triplewhale/","bugs":{"url":"https://github.com/Triple-Whale/mcp-server-triplewhale/issues"},"bin":{"mcp-server-triplewhale":"dist/index.js"},"dist":{"shasum":"eaee4b2816979ef77a54043c766a6678a4e05c3c","tarball":"https://registry.npmjs.org/@triplewhale/mcp-server-triplewhale/-/mcp-server-triplewhale-0.0.1.tgz","fileCount":8,"integrity":"sha512-3diGApILhL9qxbx/mOxQzgaNlTgZCH+uSkdHNgTCnVCEf82I5Bt9dOfjCevm4AFDSZ5cPldpUATnERIYAHGnnw==","signatures":[{"sig":"MEUCIQCtIKwg+QIkS3kE5y/RtGl4+8l/LsCN3JdmEW5qWKBFOgIgL14O/aemO647kmAKsYXwJ9yRjJR4+2mcXcR5uFKxO5E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16090},"type":"module","access":"public","engines":{"node":">=18.0.0"},"gitHead":"ff24f4c1e83c8acfc8f7de045f7f9e5c284d2ff5","scripts":{"test":"npx braintrust eval src/tools-evaluations","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js', '755')\"","watch":"tsc-watch --onSuccess \"chmod 755 dist/index.js\"","format":"prettier --write .","inspector":"npx @modelcontextprotocol/inspector dist/index.js","prerelease":"npm run build"},"_npmUser":{"name":"chezih-","email":"chezih@gmail.com"},"_npmVersion":"10.9.0","description":"MCP server for interacting with Triplewhale API","directories":{},"_nodeVersion":"22.12.0","dependencies":{"zod":"3.24.1","axios":"^1.8.1","chalk":"5.3.0","node-fetch":"2.7.0","@modelcontextprotocol/sdk":"1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.1.38","prettier":"^3.4.1","autoevals":"0.0.111","tsc-watch":"^6.2.1","braintrust":"0.0.177","typescript":"^5.3.3","@types/node":"^20.11.24","@types/node-fetch":"^2.6.12"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-triplewhale_0.0.1_1740612760347_0.15662795919905292","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@triplewhale/mcp-server-triplewhale","version":"0.0.2","author":{"name":"TripleWhale"},"license":"MIT","_id":"@triplewhale/mcp-server-triplewhale@0.0.2","maintainers":[{"name":"dermasmid","email":"twerskycheskel@gmail.com"},{"name":"chezih-","email":"chezih@gmail.com"}],"homepage":"https://github.com/Triple-Whale/mcp-server-triplewhale/","bugs":{"url":"https://github.com/Triple-Whale/mcp-server-triplewhale/issues"},"bin":{"mcp-server-triplewhale":"dist/index.js"},"dist":{"shasum":"5a4784196505bed0541fabc2aef693af59ae29d1","tarball":"https://registry.npmjs.org/@triplewhale/mcp-server-triplewhale/-/mcp-server-triplewhale-0.0.2.tgz","fileCount":3,"integrity":"sha512-KYcTmnrVJxwa7DTKoIsvaEsVOZVQwD20iywoZByFILAa66tn5ZUy9gV66lMvgdJC6oOT6+5Sq4ARiSpEPcUX1Q==","signatures":[{"sig":"MEUCIQCyRlLbf0fQnN4N75R45/uvTjn9Rzk6legAteqT2w6+iwIgAIqo1e5fConxWu9FD3AeybUCDrp6DDv3q2sdNVudnKc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5488},"type":"module","access":"public","engines":{"node":">=18.0.0"},"gitHead":"72da9a49a5dd96bc4764555e3427468fa040f378","scripts":{"test":"npx braintrust eval src/tools-evaluations","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js', '755')\"","watch":"tsc-watch --onSuccess \"chmod 755 dist/index.js\"","format":"prettier --write .","inspector":"npx @modelcontextprotocol/inspector dist/index.js","prerelease":"npm run build"},"_npmUser":{"name":"chezih-","email":"chezih@gmail.com"},"_npmVersion":"10.9.2","description":"MCP server for interacting with Triplewhale API","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"3.24.1","axios":"^1.8.1","chalk":"5.3.0","node-fetch":"2.7.0","@modelcontextprotocol/sdk":"1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.1.38","prettier":"^3.4.1","autoevals":"0.0.111","tsc-watch":"^6.2.1","braintrust":"0.0.177","typescript":"^5.3.3","@types/node":"^20.11.24","@types/node-fetch":"^2.6.12"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-triplewhale_0.0.2_1740651959892_0.6695258289855335","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@triplewhale/mcp-server-triplewhale","version":"0.0.3","author":{"name":"TripleWhale"},"license":"MIT","_id":"@triplewhale/mcp-server-triplewhale@0.0.3","maintainers":[{"name":"dermasmid","email":"twerskycheskel@gmail.com"},{"name":"chezih-","email":"chezih@gmail.com"}],"homepage":"https://github.com/Triple-Whale/mcp-server-triplewhale/","bugs":{"url":"https://github.com/Triple-Whale/mcp-server-triplewhale/issues"},"bin":{"mcp-server-triplewhale":"dist/index.js"},"dist":{"shasum":"bd328c3ba828b969565c098e83d4fea3695f63ba","tarball":"https://registry.npmjs.org/@triplewhale/mcp-server-triplewhale/-/mcp-server-triplewhale-0.0.3.tgz","fileCount":8,"integrity":"sha512-MGxPa/jfT/gmatQdK98LxLS9qHaa+zHnkhfpe0TJ25ZFJbkbOCIb6aOUig8d+/hNcC5gWeK3jzJVdyrueLE2rA==","signatures":[{"sig":"MEUCIQDSME00BhUGxefR1NtYSkAznqcSzGJAfjjU+KpHdc/2vAIgfBycrqBcPEnIRfhbSz+MG+rD2BPctnebgL8gvEc1V94=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16093},"type":"module","access":"public","engines":{"node":">=18.0.0"},"gitHead":"fd22d06cf07641202177a9a66b89a30a998ae93b","scripts":{"test":"npx braintrust eval src/tools-evaluations","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js', '755')\"","watch":"tsc-watch --onSuccess \"chmod 755 dist/index.js\"","format":"prettier --write .","inspector":"npx @modelcontextprotocol/inspector dist/index.js","prerelease":"npm run build"},"_npmUser":{"name":"chezih-","email":"chezih@gmail.com"},"_npmVersion":"10.9.2","description":"MCP server for interacting with Triplewhale API","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"3.24.1","axios":"^1.8.1","chalk":"5.3.0","node-fetch":"2.7.0","@modelcontextprotocol/sdk":"1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.1.38","prettier":"^3.4.1","autoevals":"0.0.111","tsc-watch":"^6.2.1","braintrust":"0.0.177","typescript":"^5.3.3","@types/node":"^20.11.24","@types/node-fetch":"^2.6.12"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-triplewhale_0.0.3_1740656044424_0.007921876769383163","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@triplewhale/mcp-server-triplewhale","version":"0.0.5","author":{"name":"TripleWhale"},"license":"MIT","_id":"@triplewhale/mcp-server-triplewhale@0.0.5","maintainers":[{"name":"dermasmid","email":"twerskycheskel@gmail.com"},{"name":"chezih-","email":"chezih@gmail.com"}],"homepage":"https://github.com/Triple-Whale/mcp-server-triplewhale/","bugs":{"url":"https://github.com/Triple-Whale/mcp-server-triplewhale/issues"},"bin":{"mcp-server-triplewhale":"dist/index.js"},"dist":{"shasum":"46ca03c44c124568d78e3d1e89ea4c69fefcefc1","tarball":"https://registry.npmjs.org/@triplewhale/mcp-server-triplewhale/-/mcp-server-triplewhale-0.0.5.tgz","fileCount":8,"integrity":"sha512-D+x9+gpfFcaFE7Q5LlZ3/yVBU0q8rTyqLtxNibrqgSFkf4xHQBht2SbCaWjZFHKI4yc8rKknkkaJfAaw3gn8zg==","signatures":[{"sig":"MEUCIQCQYRKThtKT0xfufGxd1bpCG/6NYF/UrGmYUWSQfv0mnwIgeh/DQaQxnJvETjpykNnVBNo2CWFhWrkgXkvFuShftgM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16093},"type":"module","access":"public","engines":{"node":">=18.0.0"},"gitHead":"757b4a2675635f50e077f9bdb5832fb013fcf785","scripts":{"test":"npx braintrust eval src/tools-evaluations","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js', '755')\"","watch":"tsc-watch --onSuccess \"chmod 755 dist/index.js\"","format":"prettier --write .","inspector":"npx @modelcontextprotocol/inspector dist/index.js","prerelease":"npm run build"},"_npmUser":{"name":"chezih-","email":"chezih@gmail.com"},"_npmVersion":"10.9.2","description":"MCP server for interacting with Triplewhale API","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"3.24.1","axios":"^1.8.1","chalk":"5.3.0","node-fetch":"2.7.0","@modelcontextprotocol/sdk":"1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.1.38","prettier":"^3.4.1","autoevals":"0.0.111","tsc-watch":"^6.2.1","braintrust":"0.0.177","typescript":"^5.3.3","@types/node":"^20.11.24","@types/node-fetch":"^2.6.12"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-triplewhale_0.0.5_1740996889479_0.5352800938097508","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@triplewhale/mcp-server-triplewhale","version":"0.0.6","author":{"name":"TripleWhale"},"license":"MIT","_id":"@triplewhale/mcp-server-triplewhale@0.0.6","maintainers":[{"name":"dermasmid","email":"twerskycheskel@gmail.com"},{"name":"chezih-","email":"chezih@gmail.com"}],"homepage":"https://github.com/Triple-Whale/mcp-server-triplewhale/","bugs":{"url":"https://github.com/Triple-Whale/mcp-server-triplewhale/issues"},"bin":{"mcp-server-triplewhale":"dist/index.js"},"dist":{"shasum":"e37d4c411fb5af3d7ce9bf3b6501afe34ebfed62","tarball":"https://registry.npmjs.org/@triplewhale/mcp-server-triplewhale/-/mcp-server-triplewhale-0.0.6.tgz","fileCount":8,"integrity":"sha512-NT2RwL0mkTUcKn2HT+ch3RtCmxkfxG4n7q7T93+7IsO2rbtaQPuYjfkRryOndGrIyCGqW0qC22ISIhLoDKPNAg==","signatures":[{"sig":"MEUCIQC+3agEolC281pPa1qtG6gv0KpRDRaYn98gJSQ2OX/kVgIgYRnTLJ9zGDNr2cIvTI9SPQPlru7YL5Hhljn8WLFQqOc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16093},"type":"module","access":"public","engines":{"node":">=18.0.0"},"gitHead":"6948082d5eb68f6855aafb279e196ede54e4eaed","scripts":{"test":"npx braintrust eval src/tools-evaluations","build":"tsc && node -e \"require('fs').chmodSync('dist/index.js', '755')\"","watch":"tsc-watch --onSuccess \"chmod 755 dist/index.js\"","format":"prettier --write .","inspector":"npx @modelcontextprotocol/inspector dist/index.js","prerelease":"npm run build"},"_npmUser":{"name":"chezih-","email":"chezih@gmail.com"},"_npmVersion":"10.9.2","description":"MCP server for interacting with Triplewhale API","directories":{},"_nodeVersion":"22.13.1","dependencies":{"zod":"3.24.1","axios":"^1.8.1","chalk":"5.3.0","node-fetch":"2.7.0","@modelcontextprotocol/sdk":"1.6.0"},"_hasShrinkwrap":false,"devDependencies":{"bun":"^1.1.38","prettier":"^3.4.1","autoevals":"0.0.111","tsc-watch":"^6.2.1","braintrust":"0.0.177","typescript":"^5.3.3","@types/node":"^20.11.24","@types/node-fetch":"^2.6.12"},"_npmOperationalInternal":{"tmp":"tmp/mcp-server-triplewhale_0.0.6_1741175231629_0.6476322350355892","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-02-26T23:32:40.232Z","modified":"2026-02-23T21:30:04.133Z","0.0.1":"2025-02-26T23:32:40.584Z","0.0.2":"2025-02-27T10:26:00.055Z","0.0.3":"2025-02-27T11:34:04.638Z","0.0.5":"2025-03-03T10:14:49.669Z","0.0.6":"2025-03-05T11:47:11.818Z"},"bugs":{"url":"https://github.com/Triple-Whale/mcp-server-triplewhale/issues"},"author":{"name":"TripleWhale"},"license":"MIT","homepage":"https://github.com/Triple-Whale/mcp-server-triplewhale/","description":"MCP server for interacting with Triplewhale API","maintainers":[{"email":"twerskycheskel@gmail.com","name":"dermasmid"},{"email":"ariel@triplewhale.com","name":"ariel_elozory"},{"email":"shirar@triplewhale.com","name":"shira-rakovsky"},{"email":"chezih@gmail.com","name":"chezih-"}],"readme":"# Triplewhale MCP Server\n\n[![npm version](https://img.shields.io/npm/v/@triplewhale/mcp-server-triplewhale)](https://www.npmjs.com/package/@triplewhale/mcp-server-triplewhale)\n[![npm downloads](https://img.shields.io/npm/dt/@triplewhale/mcp-server-triplewhale)](https://www.npmjs.com/package/@triplewhale/mcp-server-triplewhale)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![smithery badge](https://smithery.ai/badge/triplewhale)](https://smithery.ai/server/triplewhale)\n\nModel Context Protocol (MCP) is a [new, standardized protocol](https://modelcontextprotocol.io/introduction) for managing context between large language models (LLMs) and external systems. In this repository, we provide an installer as well as an MCP Server for [Triplewhale](https://triplewhale.com).\n\nThis lets you use Claude Desktop, or any MCP Client, to use natural language to accomplish things with Triplewhale, e.g.:\n\n- `Was my net profit positive last month?.`\n- `Rank countries by order revenue and new users for the last quarter..`\n- `Give me ads ROAS over the last 7 days and break it out by attribution model?`\n\n# Claude Setup\n\n### Installing via Smithery\n\nTo install Triplewhale MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/triplewhale):\n\n```bash\nnpx -y @smithery/cli install triplewhale --client claude\n```\n\n## Requirements\n\n- Node.js >= v18.0.0\n- Claude Desktop\n- Triplewhale API key - you can generate one through the Triplewhale console. [Learn more](https://kb.triplewhale.com/en/articles/8116412-creating-and-managing-api-keys) or [click here](https://app.triplewhale.com/api-keys) for quick access.\n\n## How to use locally\n\n1. Run `npx -y @triplewhale/mcp-server-triplewhale init $TRIPLEWHALE_API_KEY`\n2. Restart Claude Desktop\n3. You should now be able to try a simple command such as `what's my meta spend in the last 7 days?`\n\n[//]: # (## Guides)\n\n[//]: # ()\n[//]: # (- [Claude Desktop with Triplewhale MCP Server]&#40;https://triplewhale.tech/guides/triplewhale-mcp-server&#41;)\n\n[//]: # (- [Cline with Triplewhale MCP Server]&#40;https://triplewhale.tech/guides/cline-mcp-triplewhale&#41;)\n\n[//]: # (- [Windsurf with Triplewhale MCP Server]&#40;https://triplewhale.tech/guides/windsurf-mcp-triplewhale&#41;)\n\n\n## Supported Tools\n\n- `moby`\n\n[//]: # (## Development with MCP CLI Client)\n\n[//]: # ()\n[//]: # (The easiest way to iterate on the MCP Server is using the `mcp-client/`. Learn more in `mcp-client/README.md`.)\n\n[//]: # ()\n[//]: # (```bash)\n\n[//]: # (npm install)\n\n[//]: # (npm run build)\n\n[//]: # (npm run watch # You can keep this open.)\n\n[//]: # (cd mcp-client/ && TRIPLEWHALE_API_KEY=... npm run start:mcp-server-triplewhale)\n\n[//]: # (```)\n\n## Development with Claude Desktop\n\n```bash\nnpm install\nnpm run build\nnpm run watch # You can keep this open.\nnode dist/index.js init $TRIPLEWHALE_API_KEY\n```\n\nThen, **restart Claude** each time you want to test changes.\n\n# Testing\n\nTo run the tests you need to setup the `.env` file according to the `.env.example` file.\n\n```bash\nnpm run test\n```\n","readmeFilename":"README.md"}