Limitless
Click on "Install 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., "@Limitlessstore my context about the Q4 roadmap"
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.
Limitless
A portable, self-hosted memory layer for AI tools — store context, memories, and handoffs once and access them from Claude, ChatGPT, or any MCP-compatible client.
For more information, visit limitless-ai.dev.
How it works
Limitless runs as a Cloudflare Worker with D1 (SQLite) for structured storage and Vectorize for semantic search. You authenticate with Google OAuth, then store entries that any connected AI client can retrieve via MCP. Each user's data is encrypted at rest with a per-user AES-GCM key derived from your SERVER_ENCRYPTION_SECRET.
Cloudflare Workers uses an isolated, per-request execution model — each invocation spins up a fresh context with no persistent memory. Plaintext is never accumulated between requests. Combined with AES-GCM encryption at rest, the hosting provider cannot read stored payloads. See how Workers works.
For a visual overview, see the architecture diagram.
Related MCP server: mindmap-mcp-server
Prerequisites
Cloudflare account (free tier works for personal use)
Node.js + npm
Wrangler CLI:
npm install -g wranglerGoogle Cloud project with OAuth 2.0 credentials
Authorized redirect URI:
https://<your-worker>.workers.dev/callback
Deploy your own instance
1. Clone and install
git clone https://github.com/JDS300/limitless-mcp
cd limitless-mcp
npm install2. Create Cloudflare resources
npx wrangler login
npx wrangler d1 create limitless-db
npx wrangler vectorize create limitless-index --dimensions=768 --metric=cosine
npx wrangler vectorize create-metadata-index limitless-index --propertyName user_id --type string
npx wrangler vectorize create-metadata-index limitless-index --propertyName type --type string
npx wrangler vectorize create-metadata-index limitless-index --propertyName status --type string3. Update wrangler.toml
After running wrangler d1 create, copy the database_id from the output and update it in wrangler.toml:
[[d1_databases]]
binding = "DB"
database_name = "limitless-db"
database_id = "<paste your database_id here>"Also create a KV namespace and update the id:
npx wrangler kv namespace create OAUTH_KV[[kv_namespaces]]
binding = "OAUTH_KV"
id = "<paste your kv namespace id here>"4. Google OAuth setup
Go to Google Cloud Console → APIs & Services → Credentials
Create an OAuth 2.0 Client ID (Web application)
Add
https://<your-worker>.workers.dev/callbackas an authorized redirect URICopy the Client ID and Client Secret — you'll use them in the next step
5. Set secrets
npx wrangler secret put GOOGLE_CLIENT_ID
npx wrangler secret put GOOGLE_CLIENT_SECRET
npx wrangler secret put COOKIE_ENCRYPTION_KEY
npx wrangler secret put SERVER_ENCRYPTION_SECRETSecret | Purpose |
| Google OAuth app client ID |
| Google OAuth app client secret |
| Encrypts OAuth session cookies — generate with |
| Per-user AES-GCM key derivation — generate with |
6. Run the database migrations
npx wrangler d1 execute limitless-db --remote --file=migrations/0001_initial.sql
npx wrangler d1 execute limitless-db --remote --file=migrations/0002_v2_schema.sql
npx wrangler d1 execute limitless-db --remote --file=migrations/0003_v3_schema.sql7. Deploy
npm run deployYour worker will be live at https://limitless-mcp.<your-subdomain>.workers.dev.
Connecting MCP clients
Limitless supports two integration paths:
MCP clients (Claude Desktop, Claude Code, any MCP-native tool): plug-and-play via the MCP config below.
Non-MCP tools (ChatGPT, Gemini, any web UI): use the system prompt / custom instructions snippet. This is a fully supported path.
Claude / Claude Code
Add to your claude_desktop_config.json (or Claude Code settings):
{
"mcpServers": {
"limitless": {
"url": "https://limitless-mcp.<your-subdomain>.workers.dev/mcp"
}
}
}Add to your system prompt or project instructions:
Call bootstrap_session with the appropriate namespace before any task.
Use limitless-mcp for all context — do not assert facts without searching.
Cross-namespace writes go through handoffs, never direct mutations.
If a Limitless entry conflicts with native memory, prefer the source
with the newer timestamp and surface the discrepancy.ChatGPT
Add to your custom instructions:
I use a personal memory tool called Limitless at https://limitless-mcp.<your-subdomain>.workers.dev.
At the start of each session, retrieve my context (identity, active projects, handoffs) and search
for relevant information before answering. Confirmed entries are facts; hedge unconfirmed ones.MCP Tools
Tool | Description |
| Load session context — identity, rules, active projects, handoffs, recent decisions. Call at session start with your namespace. |
| Save an entry (identity, rules, catalog, framework, decision, project, handoff, resource, or memory). Optionally create relationships in the same call. |
| Semantic search across stored entries. Filter by domain type and namespace. |
| Walk the relationship graph from any entry to find all connected context. |
| Create a typed, temporal relationship between two entries. |
| Mark a relationship as no longer current (historical queries still find it). |
| Retrieve all pending handoff items. |
| Mark a handoff as completed. |
| Retrieve pinned entries (deprecated — use |
| Look up a resource entry by name or tag. |
| Update entry fields including content, tags, namespace, pinned, confirmed_at, and supersedes. |
| Permanently remove an entry and its relationships. |
Entry domains
Entries are organized into 9 domain types. Each domain serves a specific role in the knowledge architecture.
Domain | Purpose | Typically pinned? |
| Who you are — name, role, org, style preferences, banned language | Always |
| Behavioral directives — guardrails, consistency checks, pushback rules | Always |
| Service offerings with pricing, descriptions, inclusions | No — searched on demand |
| Methodologies, models, repeatable approaches | No — searched on demand |
| Decisions with date, rationale, and optional | Recent/important only |
| Project status, goals, client, phase, key deliverables | Active projects |
| Cross-session tasks and follow-ups | needs_action items at bootstrap |
| Templates, prompts, URIs, reusable artifacts | No — deterministic lookup |
| Catch-all for anything that doesn't fit the above | Varies |
All entries belong to a namespace (work, personal, or shared). shared entries appear in every namespace. Pin entries with pinned: true to include them in bootstrap_session results.
Decision chains
Decision entries support a supersedes field — a reference to the ID of the decision being overridden. This creates an explicit audit chain and prevents relitigating past decisions.
Staleness and confirmed_at
Set confirmed_at (unix ms) when you've verified an entry is current. System prompts should instruct the AI to flag entries older than 12–18 months and ask the user to re-confirm.
Relationship graph
Entries can be connected by typed, directional, temporal relationships.
Relationship | Meaning | Example |
| Work product uses a methodology | Proposal → Three Patterns |
| Pricing sourced from catalog | SOW → AI Workshop $5,000 |
| Shaped by a decision | Project scope → Decision |
| Newer decision replaces older | Decision B → Decision A |
| Work product for a project | Proposal → Client XYZ |
| General association | Any → Any |
Relationships have temporal validity — valid_from and valid_to timestamps. When a fact changes, the old relationship expires and a new one is created. Use explore_context to walk the graph from any entry.
Bootstrap protocol
Call bootstrap_session(namespace) at the start of every session. It returns:
Identity — who you are, style preferences
Rules — behavioral directives and guardrails
Active projects — pinned project summaries
Pending handoffs — unactioned cross-session tasks
Recent decisions — last 30 days, pinned or high-importance
Total: ~800-1500 tokens. Everything else is retrieved on demand via search_memory or explore_context.
Namespace isolation
Writes: namespace is required. Cross-namespace writes create a handoff in the target namespace.
Reads: default to session namespace + shared. Cross-namespace reads require explicit
cross_namespaceparameter and are read-only (no trace left in target namespace).
Admin interface
Visit /admin on your deployed Worker to browse and manage entries without going through an AI. Authenticate with your Google account. You can filter by namespace, type, and pinned status, assign namespaces to existing entries, pin/unpin, and delete.
The admin UI uses a REST API (GET/PATCH/DELETE /api/entries) authenticated via a short-lived HMAC session token issued at /admin/callback.
The admin UI supports filtering by all 9 domain types and namespace, viewing relationships for any entry, and bulk selection with bulk delete for post-import cleanup.
OAuth providers
Limitless is built on Cloudflare's OAuth provider library, which supports Google, GitHub, Microsoft, LinkedIn, and others. The encryption key scheme ({provider}:{user_id}) is designed so adding a new provider requires no key rotation for existing users. Currently only Google is wired up; adding a second provider is a small auth-handler change.
Conflict resolution
When a Limitless entry and an AI's native memory disagree:
AI finds a Limitless entry on the current topic
AI checks native memory for anything related
If conflict → both versions surfaced with timestamps, user picks
User confirms → call
update_entrywithtags: "confirmed"on the correct entryFuture sessions: confirmed Limitless entries are trusted without asking
Import and migration
Limitless supports importing from existing knowledge stores:
AI Vault (structured): Import from CLAUDE.md / CONTEXT.md / SERVICE_CATALOG.md pattern. Content maps directly to domain types.
Obsidian / organic vault: AI reads, classifies, and proposes domain mappings for user review.
Cross-AI memory: Export from ChatGPT, Gemini, or other AI services. Prompt-driven, maps to Limitless domains.
Use POST /api/entries/bulk for batch import. Import prompts are stored as resource entries in Limitless for retrieval.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JDS300/limitless-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server