Skip to main content
Glama
luyanhexay

zhihu-scraper-mcp

by luyanhexay

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_questionsA

按关键词搜索知乎问题,返回问题标题、描述、回答数、浏览量、关注数与 URL。关键词精简(≤3 词,过长易返回空)。适合需要精确问题列表,或作为后续 get_fulltext / get_comments 抓正文、评论的入口。

search_articlesA

按关键词搜索知乎文章(专栏),返回标题、作者、摘要与 URL。关键词精简(≤3 词,过长易返回空)。

search_usersA

按关键词搜索知乎用户,返回昵称、简介、粉丝数与主页 URL。关键词精简(≤3 词,过长易返回空)。

search_topicsA

按关键词搜索知乎话题。关键词精简(≤3 词,过长易返回空)。

get_fulltextA

获取一篇知乎回答/文章/问题的完整正文(Markdown)。传入 URL 即可,自动识别类型:回答与文章返回单篇全文;问题 URL 返回其下全部回答的合并全文。回答请用含 /question//answer/ 的完整 URL(裸 /answer/ 的 HTML 端点可能被风控)。

get_commentsB

获取任意知乎内容(回答/文章/问题)下的完整评论树,含嵌套子评论、点赞数、作者与时间。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 6 tools

Disambiguation5/5

Each of the 6 tools has a unique, non-overlapping purpose: four discovery endpoints (questions/articles/users/topics) and two retrieval endpoints (full text/comments). The overlap-prone tool is get_fulltext, which gracefully handles multiple URL types through explicit, well-documented auto-detection rather than ambiguity. The distinct search_* endpoints use the resource type (question/article/user/topic) as an unambiguous differentiator.

Naming Consistency5/5

All tools consistently follow a lowercase snake_case verb_noun convention. The 'search_' prefix uniformly denotes list-returning queries, while 'get_' denotes content retrieval with a specific identifier, which is a clear and conventional semantic split. No mixing of casing styles or verb forms exists, creating a predictable, learnable API.

Tool Count5/5

Six tools is a well-scoped number for this domain: each tool serves a distinct, non-overlapping function, avoiding both under-powered overloading and needless fragmentation. The search endpoints could theoretically be merged, but keeping them separate preserves type-specific return schemas (e.g., questions include answer count, articles include author/abstract) without parameter bloat. Similarly, get_fulltext's auto-detection responsibly consolidates several potential get_* tools into one ergonomic interface.

Completeness4/5

For a read-only scraper, the surface is well-considered, covering discovery (all four primary Zhihu entities), full-content retrieval, and comment trees, which addresses the core use cases end-to-end. Minor gaps exist, such as no dedicated structured user profile endpoint or trending/hot-topic access, but these fall outside the stated purpose. Overall, the 4 search + 2 fetch design is coherent and fully functional for its intended role.

Maintenance

ActivityMaintained
ResponsivenessNo issues