Skip to content
MCP server

Zhihu

Browse, search, download and publish Zhihu content from the terminal, for agents

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
0.5.0
Listing updated
today

Similar MCP servers

About Zhihu

Zhihu is an open-source MCP server for news and media. It runs locally on your machine and is started by your AI client.

This is an unofficial command-line toolkit for Zhihu (not affiliated with Zhihu Inc., as the README says) that is also exposed to agents through an MCP entry point installed with the mcp extra. Authentication is by pasted cURL from browser DevTools, QR-code login with the Zhihu app, or importing a local browser session, with multiple saved profiles.

The CLI reads feeds, hot lists, questions, answers, articles, pins and Zhihu Daily; searches questions, articles, users and topics; downloads content as Markdown with YAML frontmatter in an incremental way; publishes and edits answers and articles from Markdown; votes, follows, comments and manages collections; and exports your activity as JSON. Optional extras add creator income analytics with charts and NLP tools such as word clouds and clustering.

Because it signs requests and mimics a browser TLS fingerprint to talk to Zhihu, users should treat it as at-your-own-risk. It needs Python 3.10 or newer and is MIT licensed.

Install

Run in a terminal

claude mcp add zhihu-mcp -- uvx zhihu-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "zhihu-mcp": {
      "command": "uvx",
      "args": [
        "zhihu-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "zhihu-mcp": {
      "command": "uvx",
      "args": [
        "zhihu-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "zhihu-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "zhihu-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "zhihu-mcp": {
      "command": "uvx",
      "args": [
        "zhihu-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "zhihu-mcp": {
      "command": "uvx",
      "args": [
        "zhihu-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

What it does

Terminal reading
Feeds, hot lists, questions, answers, articles and pins in a pager.
Markdown downloads
Save content as Markdown with frontmatter, incrementally.
Search
Search questions, articles, users and topics.
Publish and edit
Write answers and articles from Markdown files.
Creator analytics
Income trends and indicators drawn as charts.
Multiple profiles
Switch between saved accounts.

Good for

  • Save a set of Zhihu answers as Markdown for notes
  • Search Zhihu topics from an agent
  • Publish an article from a local Markdown file
  • Analyse creator income trends

Pricing

Open source

Zhihu FAQ

Is it official?

No. The README says it is unofficial and not affiliated with Zhihu Inc.

How do I log in?

Paste a cURL from DevTools, scan a QR code, or import a browser session.

What Python version?

3.10 or newer.

Is download incremental?

Yes. Existing files with unchanged timestamps are skipped unless --force is used.

Is Zhihu free?

Yes. Zhihu is open source, so you can use and self-host it for free.

How do I add Zhihu to Claude Code?

Run this command in your terminal: claude mcp add zhihu-mcp -- uvx zhihu-mcp

What are the best alternatives to Zhihu?

The closest alternatives to Zhihu are Scrapling MCP Server, TrendRadar, Firecrawl MCP Server, Douyin_TikTok_Download_API and SearXNG Search.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers