Zhihu MCP server

Zhihu MCP: your AI searches answers, reads comments and checks the hot list without a login

Point your client at one URL and your agent can search Zhihu answers, articles and videos by upvotes or date, read the answers under a question, go through comments and replies, and check an author's followers and upvotes received. The hot list is one call away. EveryInfra runs the server; you need an API key, not a Zhihu account, cookies or a QR-code scan.

27
Zhihu capabilities
24
tools
110
platforms
MCP server URL
https://api.everyinfra.com/mcp

In mainland China, use this URL: https://api-cn.everyinfra.com/mcp

Example: the most-upvoted answers about grad school exams

everyinfra_call_api
{
  "platform": "zhihu",
  "action": "search",
  "params": {
    "keyword": "考研",
    "content_type": "answer",
    "sort": "upvote_count_descending"
  }
}

Each url points to one answer: give it to content_detail and content_comments, or to question_answers to read the other answers to that question. author_url goes to profile.

27 Zhihu capabilities, from search and answers to authors and columns

Your agent lists these capabilities and their parameters with everyinfra_list_capabilities, then calls one with everyinfra_call_api, platform set to zhihu and action set to the first column. Besides search and answers, there are pins, columns, ebooks, scholar search, Salt search, topic search and search suggestions.

actionCapabilityPrice
searchSearch$0.79 per 1,000 requests
content_detailContent detail$0.56 per 1,000 requests
content_commentsContent comments$0.56 per 1,000 requests
comment_repliesComment replies$0.56 per 1,000 requests
profileDetails$0.56 per 1,000 requests
user_articlesUser articles$0.56 per 1,000 requests
hot_listHot list$0.81 per 1,000 requests
question_answersAnswers to a question$0.81 per 1,000 requests
user_answersUser answers$0.81 per 1,000 requests
user_pinsUser pins$0.81 per 1,000 requests
user_searchAccount search$0.79 per 1,000 requests
column_searchColumn search$0.79 per 1,000 requests
scholar_searchScholar search$0.79 per 1,000 requests
salt_searchYan Selection search$0.79 per 1,000 requests
pin_commentsPin comments$0.81 per 1,000 requests
topic_searchTopic search$0.79 per 1,000 requests
ebook_searchEbook search$0.79 per 1,000 requests
search_suggestSearch suggestions$0.56 per 1,000 requests
search_presetsSearch presets$0.56 per 1,000 requests
search_discoverSearch discovery$0.56 per 1,000 requests
question_detailQuestion details$0.79 per 1,000 requests
pin_detailPin details$0.79 per 1,000 requests
question_commentsQuestion comments$0.56 per 1,000 requests
column_articlesColumn items$0.56 per 1,000 requests
related_articlesRecommended articles$0.56 per 1,000 requests
article_relationshipArticle upvote line$0.56 per 1,000 requests
article_comment_configArticle comment settings$0.56 per 1,000 requests

From the hot list or a keyword to an author's page, in four steps

hot_list and search both return content urls: answers and articles go to content_detail and content_comments, questions to question_answers, and any comment with reply_count above 0 hands its id to comment_replies.

  1. Find content with hot_list and search

    hot_listsearch

    hot_list needs no parameters and returns the 30 entries of the hot list with rank, hot_value, answer count and follower count. For search, keyword is a content term, not a link or username; content_type takes answer, article or video, and sort takes upvote_count_descending or time_descending. You get 20 by default, up to 100.

  2. Read answers with question_answers and content_detail

    question_answerscontent_detail

    question_answers takes a question link, an answer link under that question, or the numeric question ID; sort is default or updated, with up to 20 per call and sometimes fewer than limit. content_detail reads one answer, article or video in full with its upvotes, comments and saves; it doesn't take question pages.

  3. Read comments with content_comments and comment_replies

    content_commentscomment_replies

    content_comments takes an answer, article or video link and returns 20 comments by default, up to 100, each with like_count and reply_count. For a comment with reply_count above 0, pass its id as comment_id, together with the same url, to comment_replies.

  4. Profile the author with profile and user_answers

    profileuser_answers

    profile takes a zhihu.com/people/ link and returns followers, answer and article counts, upvotes received in received_upvote_count, and the verification label. user_answers also accepts the bare username slug and returns 20 answers per page, newest first; pass next_page_token back as page_token for the next page. With only a nickname, start with user_search.

Then ask for what you need

The agent checks the capability catalog first, then picks a tool and its parameters. Each example links to the matching API page, so you can review the parameters and fields first.

  1. Find the most-upvoted Zhihu answers about preparing for grad school exams, with title, upvotes and author.

    Tool used: everyinfra_call_apiZhihu · Search

  2. Read the answers to this Zhihu question and group them into the main points of view.

    Tool used: everyinfra_call_apiZhihu · Answers to a question

  3. Pull the comments on this answer and show where people agree and disagree.

    Tool used: everyinfra_call_apiZhihu · Content comments

  4. What's in the top ten of the Zhihu hot list right now?

    Tool used: everyinfra_call_apiZhihu · Hot list

Connect your client

In any client that supports remote MCP, add https://api.everyinfra.com/mcp and send Authorization: Bearer followed by your API key. The same URL serves 24 tools: everyinfra_call_api for Zhihu, plus search, CAPTCHA solving, AI and account tools.

mcp.json
{
  "mcpServers": {
    "everyinfra": {
      "url": "https://api.everyinfra.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Keep the API key in your client's secret or environment settings, and never commit it to a repository.

Client-by-client setup and every tool on the remote MCP overview

Frequently asked questions

Does Zhihu have an official API?

Yes. The Zhihu Open Platform launched in May 2026 with Zhihu search, web-wide search, the hot list and Zhida (Zhihu's AI answers), but Zhihu search returns at most 10 results per call (20 for web search), the hot list gives only titles, links and summaries, and calls are quota-limited. The Zhihu MCP's search returns up to 100 results per call, and question_answers returns the answer text.

What Zhihu data can I get?

27 capabilities: content search, the hot list, question details and their answers, answer and article text, comments and replies, pins, column articles, author profiles with their answers, articles and pins, and search for users, columns, topics, ebooks, scholarly content and Salt. Read-only: it never answers, upvotes or sends messages.

Do I need to log in to Zhihu?

No. You use only your EveryInfra API key: no Zhihu account, cookies or QR-code scan, and no script or browser on your machine. Many open-source Zhihu scrapers need your own login session; this doesn't.

How is the Zhihu MCP billed?

MCP costs nothing extra; Zhihu capabilities cost from $0.56 per 1,000 requests. One search call returns up to 100 results and counts as one call; capabilities that page, such as user_answers, count each page once. Invalid parameters, failed calls and empty results aren't charged, and everyinfra_list_capabilities is free.

How do I connect it to Claude or Cursor?

Add https://api.everyinfra.com/mcp in the remote MCP settings of Claude or Cursor, with the Authorization header; setup for ChatGPT, Claude Code and Codex is on the remote MCP overview. Then ask for the most-upvoted grad-school exam answers and their shared advice, and the agent will call search first and read comments if it needs them.

What should I watch out for?

Keep questions and answers apart: question links go to question_answers, while content_detail and content_comments take only answer, article and video links. question_answers can return fewer than your limit, sometimes just 5, so call again for more. profile takes only a zhihu.com/people/ link, never a nickname.

Let your agent read Zhihu answers and their comment threads

Sign up, create an API key in the console, and add it to the configuration above to start calling these tools from your chat.

Start for freeView pricing

Google Analytics needs consent. Privacy