prospective-memory
An MCP server that lets users capture quick phone thoughts via Android and later query them from AI assistants like Grok or Claude, functioning as a simple task memory store without notifications or geolocation.
README
Prospective Memory
Phone-first capture. MCP pull. Not Takeout.
Dump a thought in a few seconds on Android. Later ask Grok/Claude: “what’s open?”
No notifications in v1. No geofence. No Google history.
Sibling of google-activity-assistant — same kind of MCP host, different store.
v1 loop
Android (one box) --POST /v1/capture--> PC FastAPI + SQLite
│
Grok / Claude --MCP list_open_tasks----------┘
Server (Windows)
cd $env:USERPROFILE\Desktop\prospective-memory
uv sync
uv run pmem token # print X-PMEM-TOKEN for the phone
uv run pmem serve # http://0.0.0.0:8790
Leave serve running. In another terminal / Grok, MCP serve-mcp is already wired if you add the config below.
Phone must reach this machine:
- Same Wi‑Fi:
http://YOUR_LAN_IP:8790 - Out of house: Cloudflare Tunnel / Tailscale (see
docs/V1.md)
Android
- Open
android/in Android Studio (orgradlew.bat assembleDebug). - Set server URL + token on first launch (same token as
pmem token). - Save URL + token. Add lingo lines (
d=dahi lena). - Enable floating + tile (overlay permission) — tap
+→ type → Enter. Drag the+onto the bottom ✕ to hide it; Enable turns it back on. - Home screen widget (stretch wide for a type-here bar) or long-press app icon → Capture. Keyboard opens immediately.
- Empty Enter repeats the last lingo chip. Toast shows
category · text. Offline posts queue and flush when the network is back. - Optional Write (handwriting test) is in
android/.../ink/. First open downloads an on-device model. Not on the bubble. Drop it viaink/REMOVE.txt.
Allow HTTP cleartext for LAN IPs (already in network security config).
MCP (Grok)
~/.grok/config.toml:
[mcp_servers.prospective_memory]
command = "C:\\Users\\bda99\\.local\\bin\\uv.exe"
args = [
"run",
"--directory",
"C:\\Users\\bda99\\Desktop\\prospective-memory",
"pmem",
"serve-mcp",
]
enabled = true
startup_timeout_sec = 60
Ask: “list open tasks” / “anything grocery?” / “mark that dahi task done.”
CLI
uv run pmem capture "dahi lena"
uv run pmem list
uv run pmem stats
Non-goals (v1)
- OS reminders, geofence, WhatsApp check-in, glyphs, voice
- Merging with Google Takeout activity
- Multi-user cloud
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.