
Memdata
io.github.thelabvenice由 GitHub 帳號 thelabvenice 發布v1.4.1更新於 Oct 24, 2026
Persistent memory for AI agents. Store context, retrieve it semantically.
概覽
Memdata 為 AI 助理提供持久長期記憶:儲存筆記與脈絡,之後以語意檢索取回。
- 可以做什麼
- 依來源名稱把文字存入長期記憶,自動切塊並向量化
- 以自然語言檢索記憶,可依日期範圍篩選
- 列出已存記憶與切塊數量,並依 ID 刪除某筆記憶
- 開始與結束工作階段、設定代理身分,並儲存交接內容供下次工作階段使用
- 查找人物、公司、專案等關聯實體,並檢查 API 連線與儲存用量
- 適用情境
- 適合希望助理在不同對話與不同用戶端之間記住決策、會議紀錄和專案背景,並在下次工作階段接續上次進度的情境。
- 執行需求
- 透過 npx(Node.js)以 stdio 在本機執行。需要 MemData API 金鑰(MEMDATA_API_KEY,訂閱方式)或 X402_WALLET_KEY 中的錢包私鑰(按次付費),README 說明兩者擇一。需要連線至 MemData API 的網路,可用 MEMDATA_API_URL 覆寫預設位址。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Memdata,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
memdata-mcp
MCP server for MemData - persistent memory for AI agents.
Give Claude, Cursor, or any MCP-compatible AI long-term memory across conversations.
What it does: Store notes, decisions, and context → retrieve them semantically later. Your AI remembers everything.
🚀 New in v1.7.0: Autonomous Agent Support
Agents can now pay for themselves. No API key. No human in the loop.
Using the x402 payment protocol, autonomous agents can use their wallet to pay per request with USDC on Base. Your wallet address IS your identity - same wallet, same memories across sessions.
Why MemData?
AI assistants forget everything between sessions. MemData fixes that:
- Ingest → Drop in meeting notes, docs, decisions
- Chunk & Embed → Automatically split and vectorize
- Query → Ask questions, get relevant context back
- Tag → AI auto-tags content for better retrieval
Works with Claude Desktop, Claude Code, Cursor, and any MCP client.
👤 For Humans
Use an API key. You manage the subscription, your AI gets memory.
Setup
- Get your API key at memdata.ai/dashboard/api-keys
- Add to your MCP config:
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
Claude Code (~/.claude.json or project .mcp.json):
Cursor (~/.cursor/mcp.json):
- Restart your client - you should now see MemData tools available.
🤖 For Agents
New in v1.7.0 - No API key. No human. Just your wallet.
Why This Matters
Traditional AI memory requires API keys tied to human accounts. But autonomous agents running 24/7 need memory that:
- Outlives any single conversation - persist across hosts and platforms
- Belongs to the agent - wallet address = identity, portable and self-sovereign
- Pays for itself - no subscription, no human approval needed
This is memory infrastructure for the autonomous agent economy.
Setup
How it works
- Agent makes a request (query, ingest, etc.)
- Server returns
402 Payment Requiredwith price - MCP automatically signs payment with agent's wallet
- Request completes - memory stored/retrieved
Your wallet address IS your identity. Same wallet = same memories, across any host or platform.
Pricing (USDC on Base)
The MCP automatically handles 402 responses and payment signatures using @x402/fetch.
Learn More
- x402 Protocol - HTTP-native payments
- ERC-8004 - Trustless Agents standard (MemData is aligned)
Supported Content
Note: MCP tools handle text content directly. For files (PDFs, images, audio), use the dashboard or HTTP API.
Tools
Core Tools
Identity & Session Tools (v1.2.0+)
v1.5.0 - Session Start Rename
memdata_whoami→memdata_session_start- Renamed for clarity. The name now signals "call this first at every session". Description includes 🚀 emoji to catch attention in tool lists.
v1.4.0 UX Improvements
- Visual match quality - Query results show 🟢🟡🟠🔴 indicators for match strength
- Smarter session_start - Prompts to set identity on first use, deduplicates recent activity
- Better ingest feedback - Shows chunk count and explains async AI tagging
- Session continuity - Emphasizes "Continue Working On" and reminds to use
session_end
memdata_ingest
Store text in long-term memory.
Parameters:
content(string) - Text to storename(string) - Source identifier (e.g., "meeting-notes-jan-29")
memdata_query
Search memory with natural language.
Parameters:
query(string) - Natural language searchlimit(number, optional) - Max results (default: 5)
memdata_list
List all stored memories with chunk counts.
memdata_delete
Delete a memory by artifact ID (get IDs from memdata_list).
memdata_status
Check API connectivity and storage usage.
memdata_session_start
🚀 Call this first at the start of every session. Essential for session continuity.
Returns: agent name, identity summary, session count, last session handoff, recent activity.
v1.5.0: Renamed from
memdata_whoamifor clarity - the name signals "call me first".
memdata_set_identity
Set or update your agent identity.
Parameters:
agent_name(string, optional) - Your name (e.g., "MemBrain")identity_summary(string, optional) - Who you are and your purpose
memdata_session_end
Save context before ending a session. Next session will see this handoff.
Parameters:
summary(string) - What happened this sessionworking_on(string, optional) - Current focuscontext(object, optional) - Additional context to preserve
memdata_query_timerange
Search memory within a date range.
Parameters:
query(string) - Natural language searchsince(string, optional) - ISO date (e.g., "2026-01-01")until(string, optional) - ISO date (e.g., "2026-01-31")limit(number, optional) - Max results
memdata_relationships
Find entities that appear together in your memory.
Parameters:
entity(string) - Name to search fortype(string, optional) - Filter by type (person, company, project)limit(number, optional) - Max relationships
How it works
- Ingest: Text is chunked, embedded, and stored
- Query: Your question is matched against stored memories using semantic similarity
- Results: Returns relevant content with similarity scores
Scores of 30-50% are typical for good matches. Semantic search finds meaning, not keywords.
Environment Variables
Note: Use either MEMDATA_API_KEY (subscription) or X402_WALLET_KEY (pay-per-use), not both.
What this package does
This is a thin MCP client that calls the MemData API. It does not:
- Store any data locally
- Send data anywhere except memdata.ai
- Collect analytics or telemetry
You can inspect the source code in src/index.ts.
Example Usage
Once configured, just talk to your AI:
Links
Contributing
Issues and PRs welcome! This is the open-source MCP client for the hosted MemData service.
License
MIT
來源:README.md,提交 3416989
工具
0版本歷史
1- v1.4.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分