Skip to main content

linkdigest-mcp (Python)

把抖音、小红书、TikTok、YouTube、X 链接变成 AI 能读的文本:逐字稿、带大致时间的画面文字、 每张图的描述和 OCR、要点,可选爆款拆解(breakdown)和翻译。

Turn a Douyin, Xiaohongshu, TikTok, YouTube or X link into text an LLM can read.

This package is a thin client for the hosted service at linkdigest.dev: nothing is downloaded or transcribed on your machine, and it has no dependencies (Python 3.10+, standard library only). It installs three things:

from linkdigest import LinkDigest Python SDK — waits for long videos for you (GET /api/v1/digest/{jobId}?wait=20) and raises typed errors (402 carries a pay link)
linkdigest <url> command line — Markdown to stdout, --json, --breakdown, --translate en
linkdigest-mcp stdio MCP server — the digest_url tool, forwarded to https://linkdigest.dev/mcp with your key

Install from this repo (the package is not on PyPI yet; a linkdigest-mcp package on PyPI is not ours until this README says so):

pip install "git+https://github.com/jcaiagent7143-ui/linkdigest-mcp#subdirectory=python"

All three read the API key from LINKDIGEST_API_KEY. Issue one at linkdigest.dev/app/keys — 10 free credits on sign-up, no card.

from linkdigest import LinkDigest

ld = LinkDigest()  # LINKDIGEST_API_KEY
d = ld.digest("https://v.douyin.com/xxxx/", breakdown=True)
print(d.title, d.credits)
print(d.markdown)
linkdigest "https://xhslink.com/o/xxxx" --breakdown
{
  "mcpServers": {
    "linkdigest": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/jcaiagent7143-ui/linkdigest-mcp#subdirectory=python", "linkdigest-mcp"],
      "env": { "LINKDIGEST_API_KEY": "ld_live_..." }
    }
  }
}

Full documentation (中文): README.zh-CN.md · English: README.md

MIT licensed.

Metadata

Release files for linkdigest-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for linkdigest-mcp 0.2.0
File Size Uploaded
linkdigest_mcp-0.2.0.tar.gz 28.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for linkdigest-mcp 0.2.0
File Interpreter ABI Platform
linkdigest_mcp-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 52.7 kB

Release files / linkdigest_mcp-0.2.0.tar.gz

Download URL linkdigest_mcp-0.2.0.tar.gz
Size 28.5 kB
Tags Source
SHA-256 checksum
How to use checksums
122d1e8dac2a8096e2e1ecc257c32ebadfc48a93f3b6ad58571ad43df19755d2
BLAKE2b-256 checksum
How to use checksums
fb434390cdba9cc6cf1437aaf64a42c00a83af55bd89924943083e692e73f306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / linkdigest_mcp-0.2.0-py3-none-any.whl

Download URL linkdigest_mcp-0.2.0-py3-none-any.whl
Size 24.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b691ddb1fd81ed273864a6e59a1062a29936167f917c0c7e664bfba3b655d932
BLAKE2b-256 checksum
How to use checksums
430403834a75d3c3b638b1faf5b3f242f39e46077b117899a8d9b7b539551b7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.1

2 release files

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page