About Im MCP
Im MCP is an MCP server published by stkoecn in the Search category: fast, local, read-only MCP Server for WeChat (4.x/3.x) & DingTalk (7.x V2/V3) chat history with FTS5 search. Conduid read 34 tools from its source: extract_image_key, get_auto_sync_status, get_chat_activity_stats, get_chat_record, get_dingtalk_messages, get_emoticon_image and 28 more. No package is published for it, so it installs from a source checkout.
The repository has 102 stars and 44 forks, and its last commit was on 22 Oct 2026. The latest release is v0.0.1. It is the only release Conduid has on record for this repository. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass License declared. Its topics include dingtalk and wechat.
Install
git clone https://github.com/stkoecn/im-mcpTools (34)
extract_image_key从运行中的绿泡泡进程内存提取**图片解密密钥**(微信 4.x V2 加密图片)。get_auto_sync_status查看定时自动同步的状态:开关、间隔、运行次数、上次运行结果。get_chat_activity_stats统计聊天活跃度:消息量、时间分布、发言人与互动结构。get_chat_record展开「聊天记录」合并转发消息(appmsg 子类型 19)。get_dingtalk_messagesGet chat messages for a specific conversation by cid.get_emoticon_image按表情 md5 取本地明文表情图(自定义表情 / 表情包)。get_group_digest一次取齐群聊日报 / 周报 / 年度报告所需的聚合数据。get_member_profile单个成员的群聊画像:活跃节奏、内容结构、互动对象与关键指标。get_message_image获取并解密指定消息关联的聊天图片。get_messages_by_date按指定单日(YYYY-MM-DD)查询聊天记录(用于日报分析、事件回溯等)。get_messages_by_range按自定义时间范围查询聊天记录(支持跨天与任意时段,比按单日查询更灵活)。get_messages_since增量拉取游标之后的新消息(供面板 / 脚本做增量刷新,避免重复拉全量)。get_persona_style分析某位联系人的沟通风格(统计画像 + 高频用语 + 典型语句),可用于风格蒸馏。get_session_history获取指定群聊或联系人的聊天记录(按时间正序排列,适合上下文理解与总结)。get_session_overview单个会话的轻量概览(切群首屏卡片用),只做少量聚合、返回很快。get_sync_status查看本地索引的数据新鲜度与规模,判断是否需要重新运行 wechat-init 同步新消息。get_unread_sessions列出有未读消息的会话(按最近活跃倒序),用于「还有哪些群没看」这类问题。get_user_avatars批量获取用户 / 群 / 公众号头像的本地图片文件路径。list_chatroom_members列出指定群聊的成员名单(自动关联联系人昵称与微信号)。list_dingtalk_contactsList DingTalk contacts and team members.list_dingtalk_conversationsList recent DingTalk conversations (group chats and private chats).list_emoticons列出绿泡泡表情包与表情(含官方文字说明)。list_favorites查询绿泡泡收藏条目(标题 / 描述 / 来源)。list_wechat_sessions查询绿泡泡会话列表(用于查找特定联系人或群聊的唯一 ID)。prepare_emoticons生成 / 刷新本地明文表情库(一次性操作,供 `get_emoticon_image` 使用)。search_contacts搜索绿泡泡联系人(按昵称 / 备注 / 微信号匹配)。search_dingtalk_messagesSearch DingTalk messages by keyword across conversations.search_media_files查找聊天中传输过的图片 / 文件 / 视频,并返回其磁盘路径。search_shared_files查找绿泡泡聊天中传输的文件(如 PDF、Excel、Word 等文档记录)。search_wechat_messages全文搜索绿泡泡聊天记录(多词 AND,可限定会话 / 发言人 / 时间窗)。set_auto_sync开启 / 关闭**定时自动同步**(重新解密源库 + 重建索引)。start_sync在**后台**执行一次完整同步并立即返回(推荐给有调用超时的客户端)。sync_dingtalk_dataManually sync and decrypt latest data from DingTalk local files with WAL validation.sync_wechat_database触发数据导入同步,使本地 MCP 数据库保持最新状态(**阻塞**直到完成)。Security checks
- ✓README presentThe repository's README runs to about 1.4K words.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 25 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.4K words, fetched a month ago. The original in the repository is authoritative.
Read full README