LongTerMemory Logo

MCP Server

Study with LongTerMemory from your AI assistant

You already study with an AI assistant. Connect it to the LongTerMemory MCP server and your cards, reviews and schedule come with you: what you review in the chat shows up in the app, and the other way round.

Included in the Basic and Pro packs, not in the free trial. See the plans

Turn what you study into flashcards

Saved in your projects, ready for your spaced-repetition reviews.

Quiz you on today's cards

Answer in your own words: the assistant corrects you, right in the chat.

Answer from your own material

From your notes and documents, not from general knowledge.

Show how you are doing

Your progress and your hardest cards, and a review plan before the exam.

Connect your app

Claude

Tested

On claude.ai, no key needed: you log in with your LongTerMemory account.

  1. Open Settings → Connectors → Add custom connector.
  2. Name: LongTerMemory. URL:
https://api.longtermemory.com/mcp
  1. Click Connect: a LongTerMemory page opens. Enter your email and the 6-digit code we send you, then click Allow.
  2. In a chat, enable LongTerMemory in the tools menu.
  3. When Claude asks for permission to use a LongTerMemory tool, approve it: until you do, nothing is saved.

Claude Code

Tested

Create a key in Profile Settings → AI assistants: it is shown only once, and the page gives you this command with your key already filled in. Then run it in a terminal:

claude mcp add --transport http longtermemory https://api.longtermemory.com/mcp --header "Authorization: Bearer YOUR_KEY"

Start Claude Code and type /mcp: longtermemory should be listed as connected.

Other apps

LongTerMemory connects through MCP (Model Context Protocol), an open standard. Apps that support remote MCP servers with a custom header may work too, but we have not tested them yet. Create a key as above, then use this address and header:

https://api.longtermemory.com/mcp
Authorization: Bearer YOUR_KEY

What to ask

Just talk normally. If the assistant does not use LongTerMemory, name it: "use LongTerMemory to...".

Make cards right now
"Write 10 flashcards on what we just discussed and add them to my History project."
Save and generate
"Save this explanation in my Biology project and make flashcards from it."
Add a source
"Add this article to my Economics project: https://..."
Review
"Quiz me on today's cards for Biology."
Work on weak points
"Which cards do I find hardest? Explain them to me again."
Ask your material
"According to my notes, what is the difference between mitosis and meiosis?"
Plan
"My exam is on 20 November: what should I review this week?"

How reviews work in the chat

The assistant asks a question from your cards and you answer in your own words. It tells you what was right or missing and proposes a rating (Again, Hard, Good or Easy) with a short reason: you confirm it or change it. For multiple-choice questions it rates the answer directly. The rating decides when the card comes back, exactly as in the app.

MCP server details

For the more technical: what the server exposes through the Model Context Protocol.

Endpoint
https://api.longtermemory.com/mcp
Transport
Streamable HTTP (remote server, nothing to install)
Authentication
OAuth 2.1 with PKCE and dynamic client registration, or a personal key as a Bearer token
Rate limit
60 requests per minute per key or connected app

16 tools

Read

  • list_projects
  • get_project_overview
  • get_due_cards
  • get_difficult_cards
  • search_project
  • get_generation_status

Review

  • start_review
  • get_next_card
  • rate_card
  • show_flashcards

Save and generate

  • create_project
  • add_text_source
  • add_weblink
  • add_cards
  • generate_cards
  • ask_project

3 prompts

  • quiz_me
  • turn_into_cards
  • exam_plan

Prompts and interactive views depend on what your app supports. No tool can delete your data.

Limits and privacy

  • Same limits as your plan: projects, sources, card generations and chat questions work as in the app. Each text or set of cards saved from the assistant counts as one document of the project.
  • Your assistant's provider (for example Anthropic) receives what the assistant reads from LongTerMemory, like anything else in your chat, under its own privacy terms. See our Privacy Policy.
  • Keys are like passwords: don't share them and don't put them in files you publish. If in doubt, delete the key and create a new one.

Questions and problems

Which apps does it work with?

We have tested Claude (claude.ai) and Claude Code. LongTerMemory connects through MCP (Model Context Protocol), an open standard, so other apps that support remote MCP servers may work too, but we have not tested them yet.

Is it included in the free trial?

No. AI assistants are included in the Basic and Pro packs. When a pack ends the assistant tells you that access has expired and your cards stay saved: renew and it works again, without connecting again.

What can the assistant see and do?

It can see your projects, cards, review progress and the passages of your material that answer your question. It can add material and cards and record your reviews, within the limits of your plan. It cannot see your payments or account settings, and it cannot delete anything.

The assistant says it saved something, but it is not there.

Apps usually ask you to allow each action the first time: if the request is not approved, nothing reaches LongTerMemory. Approve it in the chat and ask again.

The app does not see LongTerMemory, or I get a 401 error.

Check that LongTerMemory is enabled in the app and restart it. With a key, make sure it was pasted whole, after "Bearer " with a space. A key stops working when it is deleted, after 180 days, or when you use "Sign Out All Devices": create a new one in Profile Settings.

How do I stop access?

In Profile Settings → AI assistants: disconnect the app or delete the key. "Sign Out All Devices" also disconnects every assistant.

Something else? Write to us.

We use cookies. We use analytics cookies (Google Analytics and PostHog, including session recordings) to understand how visitors use our platform and to fix errors. You can accept or reject non-essential cookies at any time. Privacy Policy.