whatt.io API 数据获取 MCP 服务器

用于将语言模型与 whatt.io API 集成的 MCP 服务器,支持通过 GET 请求访问任意 whatt.io API 端点,适用于在 MCP 客户端中获取和分析 whatt.io 数据。

  • by StefanLostboyslab
  • TypeScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 StefanLostboyslab/whattio-mcp

使用说明

whatt.io MCP Server

A Model Context Protocol (MCP) server for integrating Language Models with the whatt.io API.

Installation

  1. Install dependencies:

    npm install
    
  2. Build the server:

    npm run build
    

Configuration

Set the environment variable WHATTIO_API_KEY before running the server or connecting an MCP Client to it.

export WHATTIO_API_KEY="your-whatt-io-api-key"

You can also override the base URL (defaults to https://api.whatt.io/v1):

export WHATTIO_API_BASE_URL="https://analytics.whattio.com/api"

Running the Server

Run the server natively via the CLI interface (stdio):

npm start

Using Model Context Protocol Inspector

To debug and test tools interactively:

npx @modelcontextprotocol/inspector node build/index.js

Available Tools

  • get_whattio_data: Send GET requests to any whatt.io API endpoint.