Skip to main content
D

dsh-dataxapi

data-x-api/dsh-dataxapi

Connects DataXAPI's remote MCP server through DSH's own MCP client (five tools: find, describe, call, read_more, account) and adds a skill for reading public data from Douyin, Xiaohongshu, WeChat Official Accounts, Weibo, Bilibili, Zhihu, TikTok, YouTube and other platforms. Finding an endpoint and its price needs no key; calls read DATAXAPI_API_KEY from the environment.

Install

dsh plugin --profile web add github:data-x-api/dsh-dataxapi

README

DataXAPI 的 DeepSeek Harness 插件

中文 | English

在 DeepSeek Harness(dsh)里直接取抖音、小红书、微信公众号、视频号、微博、B 站、知乎、快手,以及 TikTok、YouTube、X、Instagram 等平台的公开数据:搜内容、看评论、查账号和作品、看热榜、视频转文字。不用部署服务,不用登录这些平台,按次付费。

插件做两件事:

  1. 用 dsh 自带的 MCP 客户端连上 DataXAPI 的远程 MCP 服务(https://api.dataxapi.com/mcp),模型多出 5 个工具:mcp__dataxapi__find、describe、call、read_more、account。
  2. 带一个技能 dataxapi-data:先找接口、先报价,再取数;没有 Key 时教用户怎么开通。

安装

dsh plugin --profile web add @dataxapi/dsh

web 换成你在用的 profile(如 tui)。

设置 Key

find(按需求找接口)和 describe(参数和价格)不用 Key,装好就能用。真正取数的 call 要 Key:

  1. 到 dataxapi.com 注册,新账户可免费试用最多 333 次调用,不用绑卡;
  2. 在控制台建一个 API Key,建议设每日和每月的花费上限;
  3. 设成环境变量后启动 dsh:
export DATAXAPI_API_KEY=你的Key
dsh web

Key 只从环境变量读,放在请求头里发给 DataXAPI,不写进配置文件,也不放进网址。改了 Key 要重启 dsh。

用起来

直接用中文说要什么,例如:

  • “搜一下小红书上最近讲露营装备的笔记,取第一页,先告诉我多少钱”
  • “这条抖音视频下面大家在夸什么、骂什么”
  • “把这个公众号最近 10 篇文章的标题和链接列出来”

模型会先用 find 和 describe 找接口、报价,再用 call 取一页。每次调用都在 DataXAPI 控制台的调用记录里,标着 MCP;失败的调用不收费。

验证

npm test

检查插件声明、配置和技能格式,并且不带 Key 连一次远程服务:能列出 5 个工具、find 能找到接口,不产生费用。

链接

MIT 许可。

Related plugins