zhihu-mcp-proxy
v1.1.0
Published
MCP server for Zhihu Search — bridges Zhihu's official MCP-over-SSE API to stdio for npx usage
Maintainers
Readme
zhihu-mcp-proxy
MCP server for Zhihu Search — bridges Zhihu's official MCP-over-SSE API to stdio.
Quick Start
npx zhihu-mcp-proxyRequires ZHIHU_ACCESS_SECRET environment variable.
Configuration
Claude Desktop / OpenClaw / any MCP client
{
"mcpServers": {
"zhihu-search": {
"command": "npx",
"args": ["zhihu-mcp-proxy"],
"env": {
"ZHIHU_ACCESS_SECRET": "your_access_secret_here"
}
}
}
}OpenClaw openclaw.json
{
"mcp": {
"servers": {
"zhihu-search": {
"command": "npx",
"args": ["zhihu-mcp-proxy"],
"env": {
"ZHIHU_ACCESS_SECRET": "your_access_secret_here"
}
}
}
}
}Tool
zhihu_search
| Parameter | Type | Required | Description |
|-----------|--------|----------|------------------------------------|
| query | string | ✅ | Search keywords, 2-100 characters |
| count | number | ❌ | Number of results (1-10, default 10) |
Returns structured XML with titles, authors, content snippets, and ranking scores.
How It Works
- On startup, connects to Zhihu's SSE endpoint with your access_secret
- Receives the
endpointevent with a session-specific message URL - Initializes the MCP session over that channel
- Exposes
zhihu_searchas a local stdio MCP tool - Forwards tool calls to Zhihu and returns results
Getting an Access Secret
Apply at Zhihu Open Platform.
License
MIT
