liuliangriji-mcp
流量日记 MCP Server — 让 AI 查询和分析你的自媒体数据
简介
liuliangriji-mcp 是「流量日记」macOS App 的 MCP (Model Context Protocol) 服务器,让 Claude、Cursor、VS Code Copilot 等 AI 客户端能直接查询你导入的微信公众号和小红书数据。
前置条件
- 「流量日记」macOS App 正在运行
- App 设置中 MCP API 服务已开启(默认端口 19820)
安装
推荐使用 uvx(无需手动安装):
uvx liuliangriji-mcp
或通过 pip 安装:
pip install liuliangriji-mcp
配置
Claude Desktop
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
Claude Code
编辑 ~/.claude/settings.json 或项目 .mcp.json:
{
"mcpServers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
VS Code Copilot
创建 .vscode/mcp.json:
{
"servers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
Cursor
编辑 ~/.cursor/mcp.json:
{
"mcpServers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
Trae
编辑 ~/.trae/mcp.json:
{
"mcpServers": {
"liuliangriji": {
"command": "uvx",
"args": ["liuliangriji-mcp"]
}
}
}
可用工具
| 工具名 | 说明 |
|---|---|
liuliangriji_check_connection |
检查流量日记连接状态 |
liuliangriji_list_accounts |
列出所有自媒体账号 |
liuliangriji_wechat_account_daily |
公众号每日统计 |
liuliangriji_wechat_article_stats |
文章 7 日数据 |
liuliangriji_wechat_top_articles |
热门文章排行 |
liuliangriji_wechat_followers |
粉丝增长数据 |
liuliangriji_xhs_account_traffic |
小红书账号流量 |
liuliangriji_xhs_notes |
小红书笔记数据 |
liuliangriji_import_history |
查询导入历史 |
liuliangriji_export_csv |
导出 CSV 数据 |
使用示例
配置完成后,在 AI 对话中即可使用:
用户:我公众号上周的阅读量趋势怎么样?
用户:帮我对比一下小红书和公众号最近一个月的粉丝增长
用户:哪篇文章的阅读量最高?
许可证
MIT
Metadata
Release files for liuliangriji-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| liuliangriji_mcp-0.1.1.tar.gz | 8.9 kB | Without provenance | Details for liuliangriji_mcp-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| liuliangriji_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for liuliangriji_mcp-0.1.1-py3-none-any.whl |
Total release size: 17.3 kB
Release files / liuliangriji_mcp-0.1.1.tar.gz
| Download URL | liuliangriji_mcp-0.1.1.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c41ac7524f70d4f91926bf46ccc0a472d0f89a53047c31d3187f08d810cb81e3
|
|
BLAKE2b-256 checksum How to use checksums |
39e438b4e06ef9767a5714a8d91e475f3fc9a6f3b14a76c3704155e04b68d5ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / liuliangriji_mcp-0.1.1-py3-none-any.whl
| Download URL | liuliangriji_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5b981c1abe576b7f94742cb4565e9cd2ac7a1db2ea746dfaa1d7e2bafd4847e
|
|
BLAKE2b-256 checksum How to use checksums |
934cfb8c3d4e7500d1aa92af7b0bac721f244250ad9f4d16a3be0d1755bc827a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for liuliangriji-mcp 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.