A personal RAG system that turns your chats into a searchable knowledge base where everything sounds like you when retrieved. You get 19 tools split between storing knowledge (add_knowledge, add_voice_note, add_from_url), retrieving it with semantic search (search_twin, get_by_type), and managing schema (add_schema_type). Runs on PostgreSQL for structured data and Pinecone for vector search. The architectural choice that matters: it separates what you know from how you say things, so when you ask for output it combines both. OAuth 2.1 authentication, multi-tenant isolation tested with 35 cross-tenant checks, and you control the type system from inside Claude. Free during early access at myaitwin.lutolearn.com.
Public tool metadata for what this MCP can expose to an agent.
add_knowledgeStore a piece of knowledge or a skill in your twin. Automatically tagged and embedded for search. The twin stores two fundamentally different things — knowledge (what the user knows: transcripts, decisions, ideas, observations) and skills (how they express things: their Linked...6 paramsStore a piece of knowledge or a skill in your twin. Automatically tagged and embedded for search. The twin stores two fundamentally different things — knowledge (what the user knows: transcripts, decisions, ideas, observations) and skills (how they express things: their Linked...
tagsarraytypestringtitlestringcontentstringprovenancestringpersonal · organisational · externalsource_refstringadd_reference_recordRecord a creation event after the user has produced something with the twin's help — pairs knowledge used + skill applied + output produced + the nuance of this specific case. The system prompt instructs you to offer this after significant creation tasks; call it once the user...6 paramsRecord a creation event after the user has produced something with the twin's help — pairs knowledge used + skill applied + output produced + the nuance of this specific case. The system prompt instructs you to offer this after significant creation tasks; call it once the user...
tagsarraytitlestringnuancestringskill_idstringknowledge_idsarrayoutput_summarystringadd_from_urlFetch a URL, extract what's worth knowing, and store it. The twin analyses the page against your existing schema and reports what it found before confirming what was stored.2 paramsFetch a URL, extract what's worth knowing, and store it. The twin analyses the page against your existing schema and reports what it found before confirming what was stored.
urlstringnotesstringadd_documentIngest a document by providing its text content. Chunks and stores with source tracking. Good for PDFs, notes, reports.3 paramsIngest a document by providing its text content. Chunks and stores with source tracking. Good for PDFs, notes, reports.
notesstringcontentstringfilenamestringadd_voice_noteIngest a voice note transcript. The twin extracts principles, decisions, and ideas — identifying what you said that's worth keeping, in your language. Source is tracked as voice note + date.3 paramsIngest a voice note transcript. The twin extracts principles, decisions, and ideas — identifying what you said that's worth keeping, in your language. Source is tracked as voice note + date.
datestringnotesstringtranscriptstringget_schemaShow what knowledge types exist in your twin, how many items of each type are stored, and the total knowledge base size.Show what knowledge types exist in your twin, how many items of each type are stored, and the total knowledge base size.
No parameter schema in public metadata yet.
add_schema_typeAdd a new knowledge type. Do this from Claude chat — no database access needed. The type is immediately available for storing knowledge.2 paramsAdd a new knowledge type. Do this from Claude chat — no database access needed. The type is immediately available for storing knowledge.
namestringdescriptionstringupdate_schema_typeUpdate the description of an existing knowledge type.2 paramsUpdate the description of an existing knowledge type.
namestringdescriptionstringsearch_twinSemantically search everything in your twin. Returns the most relevant items ranked by relevance, each with its source cited.3 paramsSemantically search everything in your twin. Returns the most relevant items ranked by relevance, each with its source cited.
typestringquerystringtop_knumberget_by_typeRetrieve all knowledge of a specific type, newest first.2 paramsRetrieve all knowledge of a specific type, newest first.
typestringlimitnumberget_by_tagRetrieve all knowledge with a specific tag.2 paramsRetrieve all knowledge with a specific tag.
tagstringlimitnumbersearch_for_creationUse this BEFORE any creation task ("help me write X", "I'm working on Y"). Runs two parallel searches and returns them separately: a SKILLS bucket (skill/voice/template — the craft layer) and a KNOWLEDGE bucket (knowledge/principle/brand/idea/resource — the material). Bring bo...2 paramsUse this BEFORE any creation task ("help me write X", "I'm working on Y"). Runs two parallel searches and returns them separately: a SKILLS bucket (skill/voice/template — the craft layer) and a KNOWLEDGE bucket (knowledge/principle/brand/idea/resource — the material). Bring bo...
querystringoutput_typestringsynthesisePull everything relevant on a topic and return structured, usable output — ready to turn into a brief, a slide, or a team handoff. Every source cited.3 paramsPull everything relevant on a topic and return structured, usable output — ready to turn into a brief, a slide, or a team handoff. Every source cited.
typestringtop_knumbertopicstringfind_patternsAnalyse your stored knowledge and surface recurring themes — principles you repeat without naming, patterns in how you think. Especially powerful after adding several voice notes.1 paramsAnalyse your stored knowledge and surface recurring themes — principles you repeat without naming, patterns in how you think. Especially powerful after adding several voice notes.
focusstringget_sourcesShow all documents, URLs, and voice notes that have been ingested — with what was extracted from each.1 paramsShow all documents, URLs, and voice notes that have been ingested — with what was extracted from each.
source_typestringdocument · url · voice-notelist_recentShow the most recently added knowledge items.2 paramsShow the most recently added knowledge items.
typestringlimitnumberupdate_knowledgeEdit a stored knowledge item. Provide the item ID and the fields to change.6 paramsEdit a stored knowledge item. Provide the item ID and the fields to change.
idstringtagsarraytypestringtitlestringcontentstringprovenancestringpersonal · organisational · externaldelete_knowledgeRemove a knowledge item from your twin. This is irreversible.1 paramsRemove a knowledge item from your twin. This is irreversible.
idstringget_welcomeReturns the user's personalised session opener — a short message that surfaces twin state, recent activity, and current focus. Call this on the user's first message each session, before responding to anything else.Returns the user's personalised session opener — a short message that surfaces twin state, recent activity, and current focus. Call this on the user's first message each session, before responding to anything else.
No parameter schema in public metadata yet.
A personal RAG database and semantic search engine you build and control from inside your AI chat. Store your knowledge, voice, and skills as you work. Retrieve them in seconds, source always cited. Your AI then creates output that is recognisably you, in every conversation.
Live at https://myaitwin.lutolearn.com. Free during early access.
MyAITwin is two things at once.
The toolbox. A production-grade RAG database with semantic search that you shape from chat. You define the structure, the types, the tags. It is yours, it is visible, and you are the architect of it.
The twin. The layer on top that greets you, guides you, assesses what you store, and creates output that sounds like you. It knows the difference between what you know (your knowledge) and how you say things (your skills), and it uses both.
Three steps. Under two minutes.
/create.Or use the canonical OAuth-authenticated endpoint:
https://myaitwin.lutolearn.com/mcpRequires a client with MCP capability. Currently Claude Pro, Claude Team, and ChatGPT Pro.
Storing knowledge
| Tool | What it does |
|---|---|
add_knowledge | Store a typed, tagged knowledge item |
add_voice_note | Store a voice note transcript with automatic extraction |
add_document | Store a long document with automatic chunking |
add_from_url | Fetch and store a web page |
add_reference_record | Store a creation event linking knowledge and skills used |
Retrieving knowledge
| Tool | What it does |
|---|---|
search_twin | Semantic search across all knowledge |
search_for_creation | Dual search returning skills and knowledge separately |
get_by_type | Retrieve all items of a specific type |
get_by_tag | Retrieve all items with a specific tag |
list_recent | List recently added items |
Understanding your twin
| Tool | What it does |
|---|---|
get_schema | Overview of your types and how many items you have |
get_sources | List all source documents |
find_patterns | Surface recurring patterns across your knowledge |
synthesise | Synthesise across multiple knowledge items on a topic |
Managing your twin
| Tool | What it does |
|---|---|
get_welcome | Session initialisation and system prompt |
update_knowledge | Update an existing item |
add_schema_type | Define a new knowledge type |
update_schema_type | Update an existing type definition |
delete_knowledge | Delete an item (destructive) |
All tools are annotated with title, readOnlyHint, and destructiveHint
per the MCP spec. Of the 19: 10 read-only, 8 write (non-destructive), 1
destructive (delete_knowledge).
RAG is Retrieval-Augmented Generation. It is the architecture that lets AI answer using your specific knowledge rather than its training data alone.
Two layers:
When you search, both layers work together and return results ranked by relevance. Every result is cited with source and date, and tagged with provenance: personal (your own thinking), organisational (from your organisation), or external (from someone else).
The architectural insight worth getting right:
Knowledge is what you know. Facts, decisions, transcripts, observations.
Skills are how you express things. Your LinkedIn voice. Your email style. Your proposal structure.
Exceptional output needs both. Take a meeting transcript and ask for a follow-up email. The twin needs the transcript and your email skill to produce something that is accurate and unmistakably yours. Neither alone is enough.
/create.
Deletion is immediate and irreversible.Privacy policy: https://myaitwin.lutolearn.com/privacy Security contact: security@lutolearning.com Privacy contact: privacy@lutolearning.com
com.lutolearn/myaitwinMIT. See LICENSE.
MyAITwin MCP by Luto.
hovecapital/read-only-local-postgres-mcp-server
cocaxcode/database-mcp
io.github.infoinlet-marketplace/mcp-mysql
io.github.cybeleri/database-admin
io.github.yash-0620/postgres-mcp-secured