The repository or configuration that created this release differ from a previous release. View details.
zhihu-mcp
An MCP server that exposes Zhihu — China's largest Q&A platform — to AI agents over stdio.
This package is a thin alias: it installs zhihu-toolkit[mcp] and provides the zhihu-mcp executable. The server itself is implemented in zhihu-toolkit.
Install
uvx zhihu-mcp # run without installing
pip install zhihu-mcp # or install it
Requires Python 3.10+.
Use
Add the server to any MCP client (Claude Code, Claude Desktop, Cursor, …):
{
"mcpServers": {
"zhihu": {
"command": "zhihu-mcp"
}
}
}
Then ask, for example:
Search Zhihu for articles about Rust async, pick three, and download them as Markdown.
The server exposes one typed tool per CLI command, each with a JSON Schema derived from that command's own parameters, plus the zhihu_help and zhihu_run escape hatches. The full surface consumes a lot of context. Newer zhihu-toolkit releases add zhihu-mcp --groups browse,search, which narrows it to selected command subtrees.
Authentication is shared with the zhihu CLI. Log in once with zhihu auth login, zhihu auth paste, or zhihu auth import, and the MCP server uses the same profile.
MCP Registry
The repository's server.json is the manifest for the official MCP Registry. Its two version strings are the placeholder 0.0.0 in the working tree — do not replace it with a real release number. The publish-mcp.yml workflow rewrites both from the tag-derived build version, publishes the entry with GitHub OIDC (no secret needed), and uploads the same manifest as the mcp-registry-manifest artifact. The artifact is the manual fallback if the automated publish fails:
mcp-publisher login github
mcp-publisher publish
The version in the manifest must match a release that actually exists on PyPI, or the registry rejects the entry.
Links
- Source, documentation, and the full command reference: https://github.com/KrisTHL181/zhihu-toolkit
- The underlying toolkit:
zhihu-toolkit
MIT licensed. Unofficial project, not affiliated with Zhihu.
Metadata
Release files for zhihu-mcp 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zhihu_mcp-0.5.0.tar.gz | 3.5 kB | With provenance | Details for zhihu_mcp-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zhihu_mcp-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for zhihu_mcp-0.5.0-py3-none-any.whl |
Total release size: 6.3 kB
Release files / zhihu_mcp-0.5.0.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | zhihu_mcp-0.5.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2509c505717fea2872c6e662813b44916d39b9b37809e4b90504e0dcb17eacb5
|
|
BLAKE2b-256 checksum How to use checksums |
13d462bce4af593152d0525dc5b097033db3829c5711113680d06b898896f18d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 11, 2026.
Transparency logRelease files / zhihu_mcp-0.5.0-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | zhihu_mcp-0.5.0-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4bbed92968647a325c828ab4774462e6b3981ba473da814e38dd40a871aee4de
|
|
BLAKE2b-256 checksum How to use checksums |
702e89dc5e6a106c5d31d7b56560a89a3d530a61c60884dd61e4576752f009b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 11, 2026.
Transparency logSecurity for zhihu-mcp 0.5.0
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.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.4.0 github.com/KrisTHL181/zhihu-cli
- Added 0.5.0 github.com/KrisTHL181/zhihu-toolkit
Attestation for zhihu_mcp-0.5.0.tar.gz
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 Nov 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.