{"name":"io.github.Patdolitse/piia-engram","slug":"patdolitse-piia-engram","title":"Piia Engram","description":"Local-first AI identity for MCP coding tools. Lessons, decisions, and context you control.","url":"https://mcp.market/server/patdolitse-piia-engram","rating":null,"grade":"A","score":92,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":39,"stars":160,"forks":14,"downloads_week":null,"last_push_at":"2026-09-01T18:00:50.000Z","license":"AGPL-3.0"},"uptime":null,"claimed":false,"transport":"pypi","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/Patdolitse/piia-engram","website":"https://github.com/Patdolitse/piia-engram","version":"4.20.0","remotes":[],"packages":[{"registryType":"pypi","registryBaseUrl":"https://pypi.org","identifier":"piia-engram","version":"4.20.0","runtimeHint":"uvx","transport":{"type":"stdio"},"runtimeArguments":[{"description":"Install this exact PyPI package version before running the MCP console script.","value":"piia-engram==4.20.0","type":"named","name":"--from"},{"description":"Console script that starts the MCP server; the package name itself launches setup.","value":"piia-engram-mcp","type":"positional"}],"packageArguments":[{"description":"Run the server over standard MCP stdio transport.","value":"stdio","type":"named","name":"--transport"}],"environmentVariables":[{"description":"Skip optional local startup reconciliation during marketplace/client validation; set to background for local cross-tool sync.","default":"off","name":"ENGRAM_MCP_STARTUP_SYNC"},{"description":"Expose the context-budget friendly default surface; set to all for the full advanced surface.","default":"core","name":"ENGRAM_TOOLS"},{"description":"Force UTF-8 stdio frames on Windows-style consoles.","default":"utf-8","name":"PYTHONIOENCODING"}]}],"tools":[{"name":"_session_handoff_state","description":"Extract only explicit completion/next/blocking signals for a checkpoint.","write_action":false,"price_micros":0,"input_schema":null},{"name":"add_decision","description":"记录单条关键决策（用户明确选了某个方案）。 / Record one key decision when the user explicitly chose an option.","write_action":false,"price_micros":0,"input_schema":null},{"name":"add_lesson","description":"记录单条经验教训（你已经知道要记什么）。 / Record one lesson learned when you already know what to save.","write_action":false,"price_micros":0,"input_schema":null},{"name":"add_playbook","description":"记录操作手册（Playbook）— 结构化的多步骤流程。 / Record an operational playbook — a structured multi-step procedure.","write_action":false,"price_micros":0,"input_schema":null},{"name":"archive_knowledge","description":"按 ID 归档 lesson 或 decision（自动识别类型）。 / Archive a lesson or decision by ID, automatically detecting the item type.","write_action":false,"price_micros":0,"input_schema":null},{"name":"check_anchors","description":"Owner-only: revalidate anchor-backed freshness provenance for one repository.","write_action":false,"price_micros":0,"input_schema":null},{"name":"confirm_knowledge","description":"Owner-only: explicitly stamp a knowledge item with human/test/anchor freshness provenance.","write_action":false,"price_micros":0,"input_schema":null},{"name":"doctor","description":"记忆系统自诊断。 / Memory system self-diagnosis.","write_action":false,"price_micros":0,"input_schema":null},{"name":"explore_knowledge","description":"探索知识关联：相连条目、相似条目或全库合并建议。 / Explore knowledge links: related items, similar items, or merge candidates across the library.","write_action":false,"price_micros":0,"input_schema":null},{"name":"export_engram","description":"导出 Engram 数据：单文件备份或 OpenClaw 兼容格式。 / Export Engram data: a single-file backup, or the OpenClaw-compatible format.","write_action":false,"price_micros":0,"input_schema":null},{"name":"export_feedback_report","description":"导出匿名内测反馈报告。 / Export anonymous beta feedback report.","write_action":false,"price_micros":0,"input_schema":null},{"name":"export_knowledge_report","description":"导出完整 Markdown 知识报告并返回内容。 / Export a full Markdown knowledge report and return its content.","write_action":false,"price_micros":0,"input_schema":null},{"name":"extract_session_insights","description":"从会话摘要中批量自动提取经验教训和决策（你不需要自己分类）。 / Automatically extract lessons and decisions from a session summary without manually classifying them.","write_action":false,"price_micros":0,"input_schema":null},{"name":"find_tool","description":"搜索已注册的本地工具/程序。 / Search for registered local tools and programs.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_audit_log","description":"获取最近的审计日志条目。 / Get recent audit log entries.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_daily_log","description":"读取项目的每日日志（人类可读的会话时间线）。 / Read a project's daily log (human-readable session timeline).","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_decisions","description":"按时间列出关键决策；也可还原决策链或某个问题的修订历史。 / List the user's key decisions by time; can also reconstruct a decision thread or a question's revision history.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_identity_card","description":"导出用户的可携带 AI 身份卡（Markdown 格式）。 / Export the user's portable AI identity card as Markdown.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_identity_facets","description":"按切面读取用户身份信息（画像/偏好/信任边界/工作风格/质量标准/领域图谱）。 / Read user identity facets: profile, preferences, trust boundaries, work style, quality standards, and the domain map.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_knowledge_history","description":"查看一个知识条目（lesson/decision/playbook）的修订历史。 / Return the revision history (superseded snapshots) of one knowledge item.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_knowledge_inheritance","description":"为新项目或任务生成可继承知识包。 / Build a knowledge inheritance pack for a new project or task.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_knowledge_overview","description":"获取统一的知识概览：摘要、健康报告和过期知识。 / Get a unified knowledge overview: digest, health report, and stale items.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_lessons","description":"获取用户从过去项目中学到的经验教训。 / Get lessons the user learned from past projects.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_permission_profile","description":"查看当前所有调用者的权限全景：谁有什么信任级别、能看到什么。 / View the permission landscape: who has what trust level and what they can access.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_playbooks","description":"Playbook 统一读取入口：列表 / 单条 / 最近使用 / 管理视图。 / Unified Playbook reader: list, single item, recently used, or management view.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_project_context","description":"读取特定项目的知识快照（项目级，只含该项目的历史）。 / Read the knowledge snapshot for a specific project, containing only that project's history.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_recall","description":"获取结构化 Recall Surface v1 载荷。 / Get a structured Recall Surface v1 payload.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_recent_context","description":"找回最近的 AI 对话上下文。 / Retrieve the most recent AI conversation context.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_relevant_knowledge","description":"按项目路径自动推荐最相关的经验教训（无需搜索词）。 / Automatically recommend the most relevant lessons for a project path, without search keywords.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_resume_brief","description":"跨会话/跨工具接续简报（v3.30 新增）。 / Cross-session, cross-tool resume brief.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_stale_knowledge","description":"列出超过指定天数未复习的知识条目。 / List knowledge items not reviewed for more than the specified number of days.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_user_context","description":"获取用户的个性化上下文（冷启动，分层延迟可控）。 / Get tiered cold-start user context with latency control.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_wrap_up_session_status","description":"读取 wrap_up_session 的阶段状态。 / Read metadata-only stage status for a wrap_up_session operation.","write_action":false,"price_micros":0,"input_schema":null},{"name":"import_engram","description":"导入 Engram 数据：从备份文件或 OpenClaw 兼容文件。 / Import Engram data: from a backup file, or from OpenClaw-compatible files.","write_action":false,"price_micros":0,"input_schema":null},{"name":"ingest_notes","description":"从自由文本笔记中提取经验教训和关键决策并写入知识库。 / Extract lessons and key decisions from free-form notes and save them to the knowledge base.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_agent_sessions","description":"列出可用的 AI 对话上下文记录（仅元数据）。 / List available AI context sessions (metadata only).","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_projects","description":"列出用户参与过的所有项目及基本信息。 / List all projects the user has worked on with basic metadata.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_tools","description":"列出所有已注册的本地工具/程序。 / List all registered local tools and programs.","write_action":false,"price_micros":0,"input_schema":null},{"name":"manage_caller_trust","description":"调用者信任统一入口：授予 / 修改 / 撤销某个 AI 工具的信任级别。 / Unified caller-trust management: grant, change, or revoke an AI tool's trust level.","write_action":false,"price_micros":0,"input_schema":null},{"name":"manage_playbook","description":"Playbook 统一管理入口：更新 / 归档 / 删除 / 恢复。 / Unified Playbook management: update, archive, delete, restore.","write_action":false,"price_micros":0,"input_schema":null},{"name":"manage_relation","description":"知识关系统一入口：建立或移除条目间关联（无类型双向 / 有类型有向）。 / Unified knowledge relations: create or remove links between items (untyped bidirectional, or typed directed).","write_action":false,"price_micros":0,"input_schema":null},{"name":"memory_store","description":"统一知识写入入口 — 根据 kind 自动路由到 add_lesson / add_decision / add_playbook。 Unified knowledge write endpoint — routes to add_lesson / add_decision / add_playbook based on kind.","write_action":false,"price_micros":0,"input_schema":null},{"name":"merge_knowledge","description":"将次要知识条目合并进主知识条目。 / Merge a secondary knowledge item into a primary knowledge item.","write_action":false,"price_micros":0,"input_schema":null},{"name":"onboard_accept","description":"Owner-only: accept an onboard candidate and stamp anchor provenance.","write_action":false,"price_micros":0,"input_schema":null},{"name":"onboard_repo","description":"Owner-only: scan a repo and create staging repo-fact candidates.","write_action":false,"price_micros":0,"input_schema":null},{"name":"playbook_execution","description":"Playbook 执行统一入口：准备计划 / 更新步骤 / 查看状态。 / Unified Playbook execution: prepare a plan, update a step, or check status.","write_action":false,"price_micros":0,"input_schema":null},{"name":"preview_context_governance","description":"Build a local context-governance preview; proposal-only, no apply.","write_action":false,"price_micros":0,"input_schema":null},{"name":"read_web_content","description":"读取网页、视频或文章的文本内容。 / Read text content from a web page, video, or article.","write_action":false,"price_micros":0,"input_schema":null},{"name":"refresh_quick_context","description":"刷新本地 `quick_context.md` 快照（跨工具 / 离线场景的快速通路）。 / Refresh the local quick_context.md snapshot (cross-tool / offline fast path).","write_action":false,"price_micros":0,"input_schema":null},{"name":"register_tool","description":"注册本地工具/程序到环境图谱（已存在则更新）。 / Register a local tool or program in the environment registry; updates if it already exists.","write_action":false,"price_micros":0,"input_schema":null},{"name":"request_outline_review","description":"生成交互式知识审查 HTML 页面，用户可在浏览器中逐条保留或归档知识。 / Generate an interactive knowledge review HTML page where the user can retain or archive items.","write_action":false,"price_micros":0,"input_schema":null},{"name":"review_staging","description":"知识评审统一入口：列队列 / 批量审批 / 单条复习 / 执行审查结果。 / Unified knowledge review: list the staging queue, batch-approve, refresh one item, or apply review-page results.","write_action":false,"price_micros":0,"input_schema":null},{"name":"save_agent_context","description":"自动保存 AI 对话上下文检查点。 / Auto-save an AI conversation context checkpoint.","write_action":false,"price_micros":0,"input_schema":null},{"name":"save_project_snapshot","description":"写入或更新项目的知识快照（写操作，不是读取）。 / Write or update a project's knowledge snapshot; this is a write operation, not a read.","write_action":false,"price_micros":0,"input_schema":null},{"name":"search_knowledge","description":"搜索知识库（lessons/decisions/playbooks）。 / Search lessons, decisions, and playbooks by keyword.","write_action":false,"price_micros":0,"input_schema":null},{"name":"start_project","description":"新项目一键启动：继承跨项目经验并建立项目档案。 / Start a new project in one step: inherit cross-project knowledge and create a project record.","write_action":false,"price_micros":0,"input_schema":null},{"name":"update_identity","description":"更新一个身份字段。 / Update one identity field.","write_action":true,"price_micros":0,"input_schema":null},{"name":"update_knowledge","description":"按 ID 更新 lesson、decision 或 playbook（自动识别类型）。 / Update a lesson, decision, or playbook by ID, automatically detecting the item type.","write_action":true,"price_micros":0,"input_schema":null},{"name":"user_portrait","description":"用户写照统一入口：查看 / 对比 / 保存快照。 / Unified user portrait: view, compare, or snapshot.","write_action":false,"price_micros":0,"input_schema":null},{"name":"wrap_up_session","description":"会话结束一键收尾：自动提取知识、操作流程并保存项目快照。 / Wrap up a session in one step: extract knowledge, detect playbooks, and save a project snapshot.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":92,"grade":"A","scanned_at":"2026-09-20T20:11:13.110Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-20T20:11:13.094Z","components":{"code":{"score":25,"max":25,"notes":["131 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":12,"max":15,"notes":["local package, no credentials required"]},"maintenance":{"score":15,"max":15,"notes":["last push 19 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"pypi","identifier":"piia-engram","version":"4.20.0","found":true,"license":"AGPL-3.0-or-later","dependencyCount":19,"publishedAt":"2026-09-01T16:27:19.641882Z","repositoryUrl":"https://github.com/Patdolitse/piia-engram"}],"repo":{"found":true,"owner":"Patdolitse","repo":"piia-engram","archived":false,"pushedAt":"2026-09-01T18:00:50Z","stars":160,"forks":14,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/168504668?v=4","ownerCreatedAt":"2024-04-30T03:22:44Z","license":"AGPL-3.0"},"icon":{"url":"https://avatars.githubusercontent.com/u/168504668?v=4&s=128","source":"github"},"presence":{"stars":160,"forks":14,"downloadsWeek":null,"license":"AGPL-3.0","lastPushAt":"2026-09-01T18:00:50.000Z","score":39}}}},"grade_history":[],"reviews":[]}