Skip to main content
Glama
wechat-localmind

wechat-localmind

by qilaidev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WECHAT_LOCALMIND_KEYNo全局 64 位 Hex SQLCipher 密钥
WECHAT_LOCALMIND_DATA_DIRNo自定义微信数据根目录(如 `xwechat_files` 或 `WeChat Files`)
WECHAT_LOCALMIND_ACCOUNT_DIRNo显式指定单个登录账号目录
WECHAT_LOCALMIND_SNAPSHOT_DIRNo自定义统一只读快照与附件导出目录

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
wechat_list_chatsA

List accessible macOS/Windows WeChat chat sessions across 1-on-1 direct chats (wxid_* / custom aliases / filehelper), group chats (@chatroom / @im.chatroom), and official accounts (gh_*), including chat_id, chat_name, chat_type, latest_msg_id cursor, 24h message count, and member count.

wechat_list_groupsA

List accessible macOS/Windows WeChat group chats (@chatroom / @im.chatroom), including chat_id, group_name, latest_msg_id cursor, 24h message count, and member count.

wechat_fetch_messagesA

Fetch cleaned WeChat messages across 1-on-1 direct chats, group chats, or official accounts by incremental cursor (after_msg_id) or time window (since). Automatically resolves 4-tier real names (remark > group nick > nick > wxid), @mentions, 150-char reply chains, filters out revoked messages, and prepends context buffer messages.

wechat_search_messagesA

Search keyword across allowed WeChat 1-on-1 direct chats, group chats, and official accounts (including zstd-compressed XML messages) and return matching messages with surrounding context.

wechat_export_mediaA

Safely export local WeChat media attachments from allowed chats (automatically decoding .dat XOR / V1-V2 AES+XOR images to .jpg/.png, voice .silk/.aud, documents .pdf/.xlsx) by msg_id.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation4/5

fetch_messages, search_messages, and export_media each target a clearly distinct operation on messages. The only overlap is wechat_list_groups, which is fully subsumed by wechat_list_chats' broader coverage including group chats, so an agent may wonder when to prefer one over the other, though descriptions distinguish them.

Naming Consistency5/5

All five tools follow a consistent 'wechat_' prefix plus verb_noun snake_case pattern (list_chats, list_groups, fetch_messages, export_media, search_messages). The convention is fully predictable.

Tool Count5/5

Five tools is well within the ideal 3-15 range and each tool maps to a real need (browse, fetch, search, export). No tool feels gratuitous except possibly the redundant list_groups.

Completeness4/5

The surface covers listing, message retrieval, search, and media export, which are the core read workflows for local WeChat data. Gaps exist: there is no way to list group members or chat/contact details despite member_count being exposed, and no official-accounts-specific accessor beyond generic listing.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues