prospective-memory

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.

Category
Visit Server

README

Prospective Memory

Phone-first capture. MCP pull. Not Takeout.

License: MIT Python 3.12+

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

  1. Open android/ in Android Studio (or gradlew.bat assembleDebug).
  2. Set server URL + token on first launch (same token as pmem token).
  3. Save URL + token. Add lingo lines (d=dahi lena).
  4. Enable floating + tile (overlay permission) — tap + → type → Enter. Drag the + onto the bottom ✕ to hide it; Enable turns it back on.
  5. Home screen widget (stretch wide for a type-here bar) or long-press app icon → Capture. Keyboard opens immediately.
  6. Empty Enter repeats the last lingo chip. Toast shows category · text. Offline posts queue and flush when the network is back.
  7. Optional Write (handwriting test) is in android/.../ink/. First open downloads an on-device model. Not on the bubble. Drop it via ink/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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured