sogou-weixin
This project provides a tool for searching articles through Sogou WeChat and encapsulates it as an MCP (Model Context Protocol) server.
claude mcp add --transport stdio ptbsare-sogou-weixin-mcp-server uv run server.py \ --env UV_LOG_LEVEL="info" \ --env PYTHONUNBUFFERED="1"
How to use
This MCP server exposes a tool for searching WeChat official account articles through the Sogou WeChat platform. It is packaged as an MCP service so other AI agents or systems can call the tool using the MCP protocol. The server runs as a Python application and is intended to be managed with uv, a dependency and process manager. After starting the server, clients can send MCP requests that invoke the search_wechat_articles tool and receive structured article results including title, snippet, URL, source, and date. The tool is designed to support keyword queries and a configurable number of results (top_num).
How to install
Prerequisites:
- Python 3.10 or higher
- uv installed (dependency manager for Python projects)
Installation steps:
-
Install uv if not already installed: curl -LsSf https://astral.sh/uv/install.sh | sh
-
Clone or download the repository and navigate to the project directory: git clone https://github.com/your-org/sogou-weixin-mcp-server.git cd sogou-weixin-mcp-server
-
Install dependencies using uv: uv sync
-
Run the MCP server: uv run server.py
-
The server will start and listen for MCP client requests. Ensure network access to Sogou WeChat services if applicable.
Additional notes
Tips and considerations:
- Ensure Python 3.10+ is in use, as the server relies on modern Python features.
- The server exposes a tool named search_wechat_articles. Use the MCP tooling interface to specify input with fields such as query (string) and top_num (integer, default 18).
- If you encounter network or rate-limiting issues from the Sogou WeChat service, adjust query frequency or implement caching.
- The output includes structured article data (title, snippet, URL, source, date) to facilitate downstream processing.
- If running behind a proxy or in a restricted environment, set appropriate HTTP_PROXY/HTTPS_PROXY environment variables.
- For debugging, increase UV log level or check server.py for any additional runtime options.
Related MCP Servers
WeChat-MCP: let Claude/ChatGPT and other AI assistants read and reply to WeChat for you
nautex
MCP server for guiding Coding Agents via end-to-end requirements to implementation plan pipeline
mcp-yfinance
Real-time stock API with Python, MCP server example, yfinance stock analysis dashboard
cloudwatch-logs
MCP server from serkanh/cloudwatch-logs-mcp
servicenow-api
ServiceNow MCP Server and API Wrapper
the -company
TheMCPCompany: Creating General-purpose Agents with Task-specific Tools