Content
# Tool List - User Guide
## 📦 1. Installation Steps
### 1. Install Node.js Dependencies
```bash
cd /home/admin/openclaw/workspace/wechat-skill
npm install
```
### 2. Configure Claude Desktop
**macOS Path:**
```
~/Library/Application Support/Claude/claude_desktop_config.json
```
**Windows Path:**
```
%APPDATA%\Claude\claude_desktop_config.json
```
**Linux Path:**
```
~/.config/Claude/claude_desktop_config.json
```
Add the following content to the configuration file (or merge with the existing `mcpServers` configuration):
```json
{
"mcpServers": {
"wechat": {
"command": "node",
"args": ["/home/admin/openclaw/workspace/wechat-skill/server.js"]
}
}
}
```
### 3. Restart Claude Desktop
Close and reopen the Claude Desktop application.
---
## 🚀 2. Usage
### 1. Fetch WeChat Official Account Article
Enter in the Claude dialogue box:
```
Help me fetch the content of this article: https://mp.weixin.qq.com/s/xxxxx
```
or
```
Use the fetch_wechat_article tool to fetch https://mp.weixin.qq.com/s/xxxxx
```
**Return Content:**
- Article Title
- Official Account Name
- Publish Time
- Article Summary
- Main Content
- Image Count
### 2. Search WeChat Official Account Articles
```
Search for WeChat articles about "Artificial Intelligence"
```
### 3. Get Official Account Information
```
Get information about the official account "Alibaba Cloud"
```
---
## 📋 3. Available Tool List
| Tool Name | Function | Parameters |
|--------|------|------|
| `fetch_wechat_article` | Fetch article content | `url`: Article link |
| `search_wechat_articles` | Search articles | `keyword`: Keyword, `limit`: Quantity limit |
| `get_account_info` | Get official account information | `account_name`: Official account name |
---
## 🔧 4. Troubleshooting
### Issue 1: Tool Not Displayed
**Solution:**
1. Confirm the correct path in the configuration file
2. Check if the `node` command is available: `which node`
3. Restart Claude Desktop
### Issue 2: Fetching Failed
**Possible Causes:**
- WeChat anti-crawling restrictions
- Link has expired
- Network issues
**Solution:**
- Ensure the link is up-to-date (WeChat article links have a time limit)
- Check network connection
### Issue 3: View Logs
```bash
# Manually run server to view output
cd /home/admin/openclaw/workspace/wechat-skill
node server.js
```
---
## ⚠️ 5. Precautions
1. **Copyright**: Fetched content is only for personal learning, please do not use for commercial purposes
2. **Frequency Limit**: Avoid making a large number of requests in a short period, which may trigger anti-crawling
3. **Link Timeliness**: WeChat article links may have an expiration time
4. **Compliance**: Comply with WeChat official account content specifications
---
## 📝 6. Example Dialogue
```
User: Help me fetch this WeChat article
https://mp.weixin.qq.com/s/ABC123XYZ
Claude: [Automatically call fetch_wechat_article tool]
## 📄 WeChat Official Account Article
**Title:** Alibaba Cloud Releases New Large Model
**Official Account:** Alibaba Cloud
**Publish Time:** 2026-04-10
**Summary:** Today, Alibaba Cloud officially released...
**Main Content:**
[Article main content...]
**Image Count:** 5
**Original Link:** https://mp.weixin.qq.com/s/ABC123XYZ
```
---
## 🔗 7. Related Files
- Server Code: `/home/admin/openclaw/workspace/wechat-skill/server.js`
- Configuration File: `claude_desktop_config.json`
- Dependency Configuration: `package.json`
---
**Creation Time:** 2026-04-11
**Version:** 1.0.0