npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

douyin-summary-mcp

v1.0.0

Published

MCP服务:从抖音分享链接提取音频、进行语音识别并整理对话内容

Readme

抖音语音识别MCP服务

这是一个基于 Node.js 的 MCP(Model Context Protocol)服务,用于从抖音分享链接中提取音频、进行语音识别,并使用AI大模型整理对话内容。

功能特性

  • 解析抖音分享文本,自动提取短链接
  • 通过RapidAPI获取抖音视频的MP3音频地址
  • 使用阿里云通义千问语音识别模型进行音频转文字
  • 使用阿里千问大模型整理对话内容,识别说话人角色
  • 支持异步任务处理和自动轮询
  • 返回结构化的对话JSON数组

安装

npm install -g douyin-summary-mcp

或者从源码安装:

git clone <repository-url>
cd douyin-summary-mcp
npm install
npm run build
npm link

配置

配置环境变量:

export RAPIDAPI_KEY="your_rapidapi_key_here"
export DASHSCOPE_API_KEY="your_dashscope_api_key_here"

获取API Keys:

使用方法

配置 Claude Desktop

编辑配置文件(位置见下方),添加:

{
  "mcpServers": {
    "douyin-summary": {
      "command": "douyin-summary-mcp",
      "env": {
        "RAPIDAPI_KEY": "your_rapidapi_key_here",
        "DASHSCOPE_API_KEY": "your_dashscope_api_key_here"
      }
    }
  }
}

配置文件位置:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

配置 Cursor

编辑配置文件:~/.cursor/mcp.json(Linux/macOS)或 %APPDATA%\Cursor\mcp.json(Windows)

{
  "mcpServers": {
    "douyin-summary": {
      "command": "douyin-summary-mcp",
      "env": {
        "RAPIDAPI_KEY": "your_rapidapi_key_here",
        "DASHSCOPE_API_KEY": "your_dashscope_api_key_here"
      }
    }
  }
}

配置完成后,重启 Claude Desktop 或 Cursor,即可使用 @douyin-summary 工具。

工作流程

  1. 解析分享文本: 从分享文本中提取抖音短链接(如 https://v.douyin.com/ybL9NO9RjKA
  2. 获取MP3地址: 调用RapidAPI接口,获取视频的MP3音频地址
  3. 语音识别: 提交异步任务到阿里云语音识别服务,轮询直到完成
  4. 对话整理: 调用阿里千问大模型分析对话内容,识别说话人角色,格式化为JSON数组

技术栈

  • Node.js 18+
  • TypeScript
  • @modelcontextprotocol/sdk
  • axios

许可证

MIT