增强型Memos MCP服务器
增强版 Memos MCP服务器 有重大改进:
✨ 关键增强功能
- 平均代币减少83.4% 跨所有响应格式
- 智能分页 带限制/偏移参数
- 多种响应格式:ID_ONLY,最小,摘要,完整
- 智能内容摘要 突出显示搜索词
- 日期和标签过滤 能力
- 100%向后兼容性 使用原始API
📦 安装
# Install globally
pip install git+https://github.com/galacoder/mcp-server-memos-enhanced.git
# Or clone and install locally
git clone https://github.com/galacoder/mcp-server-memos-enhanced.git
cd mcp-server-memos-enhanced
pip install -e .🚀 使用Claude代码
claude mcp add memos "memos-mcp-server" \
-e MEMOS_URL=https://your-memos-instance.com \
-e MEMOS_API_KEY=your-api-key \
-e DEFAULT_TAG=#mcp📊 性能改进
- ID_ONLY格式:代币减少98.4%
- 最小格式:代币减少91.0%
- 摘要格式:代币减少70.6%
- 响应时间:速度提高17.6%
🛠️ 增强工具
search_mmos_enhanced
search_memos_enhanced(
query="search terms",
limit=10,
offset=0,
response_format="summary", # or "minimal", "id_only", "full"
content_max_length=300,
date_from="2024-01-01T00:00:00Z",
tags_filter=["work", "important"]
)所有原始工具仍然完全兼容。
📄 许可证
MIT许可证-与原始项目相同
🙏 鸣谢
基于 mcp服务器备忘录 作者:梁
