Memos + Ollama: Private AI Search and Tagging for Your Notes
Quick notes are easy to write: a phone number, a half-formed idea, the restaurant someone recommended. They're hard to find again, because you rarely remember the exact words you used. You search "dentist", and the note you want says "root canal on Tuesday".
That's exactly the problem the latest Memos releases go after, with AI tag suggestions now and search by meaning on the way. The interesting part for self-hosters: you choose the model, so it can run on a server you control and your notes never leave it. Here's how it works with Memos and Ollama.
What Memos Is
Memos is an open-source, self-hosted note-taking app under the MIT license, with more than 64,000 stars on GitHub. Think of it as a private timeline for your thoughts: a single sentence can be a memo, Markdown gives longer notes structure, and tags connect related ideas across days.
It's also more than a solo notebook. You can keep memos private, share them with family or colleagues in a Space, or publish them on the web. There's a web clipper for Chrome and Firefox, a Telegram bot, a full API and an MCP server for AI tools.
The New AI Features
AI tag suggestions (stable since 26.11.3, November 28). With a text generation provider configured, the composer gets a "Suggest tags with AI" button. It proposes tags for your draft and prefers tags you already use, so your tag list doesn't fragment into near-duplicates.
AI search by meaning (in the 26.12 release candidate, December 2). With an embedding model configured, Quick Find offers "Find memos about…" under what you type and lists the memos closest in meaning. The release notes use exactly that example: "dentist" finds the memo about a root canal. The classic word search still runs when you press Enter.
The candidate also exposes semantic search through the API and adds a memo_semantic_search_memos tool to the MCP server, so an AI assistant connected to Memos can search your notes by meaning too.
The Privacy Part That Matters
The 26.12 release notes are clear about it: turning on AI search sends memo text to the provider you choose and indexes every memo in the background. Point it at a commercial API, and your private notes go to that company.
Memos supports several provider types, including OpenAI-compatible APIs, OpenRouter, Gemini and Ollama. Choose Ollama on your own server, and the AI features work without any note leaving your infrastructure.
| Provider | Where your notes go |
|---|---|
| Self-hosted Ollama | Nowhere outside your servers |
| OpenAI, Gemini, OpenRouter | To that provider, under its terms |
Setting It Up with Ollama
1. Run Ollama and pull two models. One for text generation (tag suggestions) and one for embeddings (AI search). Small models are a good place to start:
ollama pull llama3.2:3b
ollama pull nomic-embed-text
2. Add the provider in Memos. As an administrator, open Settings > AI, add a provider of type Ollama and enter its address, for example http://ollama.internal:11434. Since the 26.12 candidate, an address without a path automatically gets the right API path, and the form shows exactly where requests will go.
3. Turn on tag suggestions. Pick the text model. Open the composer, write a memo, and click "Suggest tags with AI".
4. Turn on AI search (on 26.12). In Settings > AI > AI search, choose the provider and the embedding model. Memos indexes your existing memos in the background and shows the progress. Use the Try it dialog to check results before relying on it.
One security rule: Ollama has no authentication by default. Don't expose it to the internet just so Memos can reach it. Keep both on a private network, or put Ollama behind authentication. We've written about what happens otherwise in 175,000 Ollama Servers Are Wide Open.
Upgrading to 26.12
AI search lands in 26.12, currently a release candidate. Two notes from the release:
- Back up first. It adds a
memo_embeddingtable on SQLite, MySQL and PostgreSQL, created on first start. - Offline mode needs HTTPS. The new offline mode, which saves memos on the device and syncs later, only works on a secure origin. On plain HTTP the switch stays disabled.
If you track the Docker stable tag, you'll get 26.12 once it's final. Until then, try the candidate on a copy, not your main notebook.
Running It on Elestio
Memos on Elestio starts at $11/month for the VM, with SSL, backups, monitoring and updates handled, so offline mode's HTTPS requirement is already covered. Ollama on Elestio starts at $30/month. Run both in the same project so they can talk over the private network.
Troubleshooting
The Ollama provider shows no models. Memos can't reach Ollama, or the address is wrong. Check it from the Memos host with curl http://ollama.internal:11434/api/tags.
Tag suggestions are slow. The text model is too big for the server, or running on CPU. Try a smaller model.
AI search finds nothing. Indexing hasn't finished. Check the progress in Settings > AI > AI search.
The Offline reading switch is greyed out. You're on plain HTTP. Serve Memos over HTTPS.
Search results feel random. Use a dedicated embedding model, not a chat model, for AI search.
Thanks for reading ❤️ See you in the next one 👋