Mio Memory Read-only
Allows ChatGPT/OpenAI clients to search local Markdown memory notes and fetch specific sections with source metadata, keeping notes local while enabling AI retrieval from approved files.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mio Memory Read-onlySearch my notes for 'vacation plans' and fetch the top result."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mio Memory
Your notes stay yours. Your AI can look up what you ask it to remember.
中文说明 · Use in ChatGPT · Architecture · Privacy · Known issues
Mio Memory combines a portable Markdown memory library with a small, read-only MCP server. Keep stable facts, everyday moments, and their sources in ordinary files. When you ask, an AI searches locally, reads the relevant sections, and answers with file names, line numbers, dates, and uncertainty intact.
This repository shares the architecture, code, and fictional examples. It contains no author's private memories. Obsidian is optional; Markdown is the storage format.
Use your memory in ChatGPT
After setup, you can retrieve local notes from an ordinary ChatGPT conversation. The author has successfully used search and fetch in the ChatGPT Mac app. Your agent installs the bridge; everyday lookups happen in ChatGPT, without returning to Codex/Wrok for each one. Available menus depend on your account and client version.
With the local service and private tunnel running and reads enabled, open a ChatGPT in Web and turn on "Developer mode" & "Enforce CSP in developer mode" in Security and login under Setting. Open a ChatGPT conversation and use the input box's + entry to select Mio Memory Read-only (or your chosen app name). For the included fictional sample vault, try:
Please actually call Mio Memory Read-only: first use search for “小禾 Python”, then use fetch to read the relevant result. Distinguish current and historical records, and cite the file and line numbers. If you did not call the tools, say so rather than answering from memory.
“小禾” is a fictional test character. Check the tool activity for an actual search → fetch sequence. A GitHub link alone does not connect ChatGPT to your computer. Follow the ChatGPT setup and daily-use guide →
Related MCP server: MCP Notes Server
Give it to your agent
You should not have to become a systems administrator to try your own memory library. Download or clone this repository, give its folder or GitHub URL to an agent that can work on your computer, and send:
Please install Mio Memory for me. Read AGENTS.md and docs/AGENT_INSTALL.md first. Use an isolated Python environment and start with the fictional sample vault, with reading locked by default. Verify it locally before connecting my ChatGPT account. Ask me which real notes I want to expose and whether I want a timed read window or manual start/stop. Keep the service read-only, bind it to localhost, and use an official Secure MCP Tunnel if available for my account. Leave tool permissions on Always ask unless I explicitly choose the documented workaround. Never copy my notes or credentials into the repository, upload them, or configure automatic startup. Let me handle login and credential entry, and finish with verified start/stop instructions.
The agent can prepare the environment, run checks, and guide account setup. You still control sign-in, note scope, and access settings. This is an agent-assisted installation workflow, not a claim that arbitrary agents can complete every account's setup unattended.
What the first version does
Portable memory: Markdown notes with sources, confirmation dates, and explicit current, uncertain, or historical status.
Read-only retrieval: only
searchandfetch; no note editing, deletion, or automatic memory writing.Explicit scope: selected Markdown files or an approved whole vault. New Markdown files enter whole-vault scope automatically, including Markdown inside attachment folders. Non-Markdown attachments and hidden files are excluded.
Local search: case-insensitive keyword AND matching, including literal Chinese phrases. No embeddings, vector database, or model API calls for retrieval.
Your access choice: locked by default, then a short read window or continuous reading until you stop the service. No automatic startup.
Sources over guesses: sections retain their file, line range, original dates, and status text. Old or conflicting notes remain evidence to interpret, not automatically resolved facts.
The initial supported setup is macOS, Python 3.10+, and MCP Python SDK 2.2.0. ChatGPT integration additionally needs Developer mode and a Secure MCP Tunnel available to your account. Other platforms and clients need their own validation.
Where the data goes
flowchart LR
U[Your explicit request] --> C[ChatGPT]
C --> T[Official Secure MCP Tunnel]
T --> S[Local read-only MCP server]
S --> V[Approved Markdown notes]
V --> S
S --> R[Search titles and selected sections]
R --> CSearch happens on your Mac. Returned titles, source metadata, and fetched sections go to ChatGPT/OpenAI. This is not an entirely offline system. The tunnel avoids publishing a public endpoint on your Mac, but account, organization, workspace, key, and local-device security still matter. See the complete boundary.
“Only when I ask” is conveyed through tool instructions and client permissions. The server cannot prove a tool call's natural-language intent. Read-only access limits what the tools can do; it does not eliminate the privacy impact of reading.
A first-version ChatGPT issue
The author's ChatGPT Mac tests sometimes left a Search approval card after an answer. Clicking Allow once was associated with failed reads, lingering approval cards, or repeated output. Selecting Always allow on the first card worked better in the author's setup, but reduces subsequent confirmation prompts. It is an optional workaround, not the installer default or a guaranteed fix.
OpenAI Support has received the report; the root cause and repair date are unconfirmed. See known issues and safe reporting. Compatibility notes will be revised when a later client update has actually been checked.
Explore
Contributions should use fictional data. Never include a personal vault, credentials, runtime logs, private conversation links, or an unredacted support report in an issue or pull request.
Contributors
The06tj — project direction and hands-on testing.
Mio0817 (Mio) — AI-assisted design, implementation, and documentation; credited as an AI collaborator.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Search, read, and safely update Markdown notes in your connected Phasoric knowledge vaults.
Personal context for every AI: search, read, and write back to your private Markdown library.
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code to search and retrieve from a local knowledge base of markdown notes using hybrid semantic+keyword search, keeping data entirely offline.6 npmMIT
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with a local folder of Markdown notes, supporting listing, reading, searching, creating, and appending to notes with strict security boundaries.5MIT
- AlicenseNot gradedqualityBmaintenanceRead-only MCP bridge that exposes secure search and fetch tools over an Obsidian-compatible Markdown vault, enabling ChatGPT to query notes without write access.1Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI clients to read Markdown notes from a single explicitly granted local folder, read-only, with strict containment against access outside that folder.1496 npmMIT