Yank
Five sourced lines from a video, podcast, article or PDF, and a check that a quote is in its source
我该使用它吗
质量与安全性
发现(2)
- LOW在 recent_yanks 中
- LOW在 get_lines_for_url 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"yank": {
"url": "https://yank.info/api/mcp"
}
}
}远程端点
https://yank.info/api/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢search_lines(query, limit)
Full-text search across every line yank.info has ever extracted. Returns quotable lines with a verbatim flag (true = literal substring of the source transcript; false = labeled paraphrase), the speaker/author, the source, a timestamp and a moment link where the source is a video, and the permanent card URL to cite. Supports quoted phrases and a leading minus to exclude a word.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words, a name, a show, or a quoted phrase."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 40,
"default": 20
}
},
"required": [
"query"
]
}🟢check_quote(statement, source)
Yank Check: a statement and the source it is supposed to come from, in; a verdict and a receipt, out. FOUND (the words are in the representation Yank inspected), CLOSE MATCH (substantially the same wording, with the difference shown), DISTILLED MATCH (a passage shares most of the statement's content words but not its literal words; shared words can say the opposite, so read the passage), NOT FOUND (Yank inspected an adequate representation and could not find support), or CAN'T ESTABLISH (Yank could not obtain or inspect enough evidence; the reason says why). With where (a moment for media, the publisher's page opened on the exact words for an article), speaker with the class of that claim (file-stated, representation-stated, not-established), the passage around it, which representation was read (captions, transcript, article text, filing, document) and how much of it (inspected: words, duration), and when. A NOT FOUND is a bounded claim scoped to the representation read, never a claim that the words were not said; a CLOSE MATCH lists the words that differ (difference.tokens), never a similarity number; every verdict carries one plain sentence (finding). No model is consulted: the verdict resolves against the representation itself. Sources Yank already holds check immediately; an article, a public PDF (located by page) or a captioned video is read for the check; audio that would need transcribing is not spent on here and returns CAN'T ESTABLISH with acquisition_required, so yank it first. None of the verdicts is a judgement on whether the statement is true.
输入模式
{
"type": "object",
"properties": {
"statement": {
"type": "string",
"description": "The words to check, as claimed. One claim at a time, up to 600 characters."
},
"source": {
"type": "string",
"description": "The public http(s) link the statement is supposed to come from."
}
},
"required": [
"statement",
"source"
]
}🟢get_yank(slug)
Fetch a yank (five extracted lines from one source) by its slug, the last path segment of a yank.info/y/<slug> URL. Includes every line's verbatim flag, timestamp, moment link, surrounding context, permanent card URL, share image, plus the whole yank as Markdown.
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "e.g. stanford-connect-the-dots-looking-1s52rgg"
}
},
"required": [
"slug"
]
}🟢get_lines_for_url(url)
Ask before you extract: everything yank.info already holds from one source URL. Any form of the link works (a youtu.be short link with a timestamp, a watch URL with a playlist, an article with tracking parameters, an Apple Podcasts or Overcast episode link); equivalent URLs return the same answer. Returns real counts (yanks, lines, verbatim lines) and, for up to five yanks, every line with its verbatim flag, timestamp, moment link, context and permanent card URL. Zero yanks is an answer, not an error. Reads the library only; never fetches the source.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The source URL in any of its forms."
}
},
"required": [
"url"
]
}🟢recent_yanks(limit)
The newest yanks in the library, one card each (rank-1 line, author, source type, URL).
输入模式
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 24,
"default": 8
}
}
}社区
证据