Convert, validate, and inspect AI agent memories across formats
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Your AI agent has 6 months of memories in System A. You want to try System B. Without MIF, you lose everything. With MIF:
Done. Your memories are portable.
A vendor-neutral JSON envelope for AI agent memories. Like vCard for contacts or iCalendar for events β a minimal schema so memories move between providers without data loss.
3 required fields. That's it.
Everything else β memory types, tags, entities, embeddings, knowledge graph, vendor extensions β is optional. Add what you have, ignore what you don't.
| Format | ID | Auto-detect | Description |
|---|---|---|---|
| MIF v2 | shodh | "mif_version" in JSON | Native format, lossless round-trip |
| mem0 | mem0 | JSON array with "memory" field | mem0 memory exports |
| CrewAI | crewai | JSON array with "task_description" | CrewAI LTMSQLiteStorage exports |
| LangChain | langchain | JSON array with "namespace" + "value" | LangChain/LangMem Item format |
| Generic JSON | generic | JSON array with "content" field | Any JSON memory array |
| Markdown | markdown | Starts with --- | YAML frontmatter (Letta/Obsidian style) |
MIF supports optional fields for rich memory data:
observation, decision, learning, error, context, conversation, and custom typesFull specification: spec/mif-v2.md | JSON Schema: schema/mif-v2.schema.json
Expose MIF tools to any MCP-compatible AI client:
Tools: export_memories, import_memories, validate_memories, inspect_memories, list_formats
| System | Status | Type |
|---|---|---|
| shodh-memory | Production | Built-in HTTP API (/api/export/mif, /api/import/mif) |
| mif-tools (PyPI) | Production | Python package with CLI + MCP server |
| @varunshodh/mif-tools (npm) | Production | TypeScript/Node.js package with CLI |
| mem0 | Adapter ready | Python + npm |
| CrewAI | Adapter ready | Python + npm |
| LangChain | Adapter ready | Python + npm |
| Generic JSON | Adapter ready | Python + npm |
| Markdown (YAML frontmatter) | Adapter ready | Python + npm |
We welcome adapter implementations for any memory system. See CONTRIBUTING.md.
Apache 2.0
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mif-tools)<a href="https://allmcps.com/mcp/mif-tools"><img src="https://allmcps.com/api/badge/mif-tools?style=directory" alt="Mif Tools on AllMCPs" /></a>