How to Set Up Hemory MCP in Claude Code and Test Memory

Download Hemory
On this page

A connection can appear complete even when Claude Code cannot retrieve the information you need—or when you have not checked what the connection is allowed to do. To rely on Hemory for past decisions, first connect it using the current instructions for your client, then test retrieval with a decision from a conversation that was actually captured in Hemory.

TL;DR

  • Hemory lists Claude Code as an MCP integration, but connection details and available tools can vary. Follow the current setup instructions for your client rather than copying a configuration from another MCP server.
  • Check which tools the connected server exposes and what each can do. Do not assume the full connection is read-only or that it can freely change Memory.
  • Test with a real decision from a conversation captured in Hemory: ask for it in one session, start a fresh session, and ask again. A failed lookup needs diagnosis; it does not by itself prove the conversation was never captured.

1. Confirm the decision is available in Hemory

Before configuring Claude Code, choose a decision from a real conversation that was captured in Hemory. You will need to recognize the decision and its status so you can judge the result accurately.

Hemory cannot retrieve an exchange that was never recorded or is not accessible through the connection. If the decision is only in your notes or another system, use that source for this test—or choose a different captured conversation. Do not treat a later recollection as the original speakers’ exact words.

Hemory’s Features page lists Claude Code among the agents that can connect through MCP and describes its Q&A capability as available through MCP. That establishes the integration at a high level, not the exact configuration for your Claude Code version or the tools and permissions your connection will expose.

2. Add Hemory using the current Claude Code setup instructions

Use the current setup instructions provided for Claude Code and Hemory. Confirm the required server address or configuration, transport, authentication, and any account or Vault selection from those instructions. Do not substitute another server’s example values or assume that a listed integration uses a particular transport.

After adding the connection, follow Claude Code’s current process for loading or restarting MCP servers. Check that Hemory appears as connected and available. If the server does not appear, resolve the client configuration or authentication issue before testing memory retrieval.

The public integration listing does not provide the exact Claude Code configuration fields or commands. If you cannot find current setup details for your account and client version, pause rather than guessing at a server address, credentials, or permissions.

3. Inspect the tools and permission scope

Before relying on the connection, review the tools Claude Code says are available from Hemory and any permission prompts associated with them. Identify the retrieval operation you will use, and read the description of each operation that can change data or take another action.

MCP does not, by itself, mean a connection is read-only or freely writable. Hemory’s documented MCP scope includes Speaker management, but that does not establish permission to edit arbitrary Memory or take actions in other systems. Check the current tools and approvals shown for your connection; do not infer broader write access from the fact that an MCP server is connected.

Grant only the access needed for your task. If the available actions or their effects are unclear, do not approve a write or other consequential action until you can determine what it does. A successful connection check confirms availability, not that the permission boundary is appropriate.

4. Test a decision across two Claude Code sessions

Use a decision that is distinct enough to find and whose wording and status you can verify in the captured conversation. For example, choose a recorded decision with a specific project, feature, or constraint. Do not invent a decision or treat a proposal as an accepted agreement.

In the first Claude Code session, ask the connected agent to retrieve that decision from Hemory. Keep the request focused: name the project or subject and include a clue you genuinely know. Check whether the answer preserves the decision’s status and any important condition. If the answer is vague, ask one focused follow-up rather than supplying a complete retelling that would make the retrieval test meaningless.

Agent session searching a past sync and drafting a follow-up checklist.

Retrieve past commitments and draft follow-up tasks.

Then end that session and start a fresh Claude Code session with the same Hemory connection. Ask for the same decision again, using the same clue or a natural variation. This checks whether the later session can retrieve the captured context; it does not test whether Claude Code automatically records its own chat history in Hemory.

ResultWhat it tells youWhat to do next
The fresh session retrieves the decision accurately and preserves its status or conditions.The tested connection can retrieve this captured decision across sessions.Use the same approach for work that depends on past discussions, while reviewing consequential details before acting.
The answer is incomplete or confuses a proposal with a decision.Retrieval may have returned related context without preserving the distinction you need.Compare the answer with the captured record and try a more specific clue. Do not treat the incomplete answer as confirmed.
The agent returns no relevant result.This test did not establish retrieval for the selected decision. It does not prove the conversation was absent.Check that the conversation was captured, that the connection can access it, and that the retrieval tool is available. Then try a more distinctive clue.
The server is connected, but no retrieval tool is available or its scope is unclear.Connection status alone is not evidence that the required task is supported or permitted.Check the current integration documentation and tool descriptions before relying on the setup.

A test passes only for the decision and access path you tried. It does not prove complete recall of every conversation, access to every Hemory record, or permission to modify Memory.

5. Troubleshoot the layer that failed

If retrieval does not work, check the steps in order:

  1. Capture: Was the conversation recorded in Hemory? A missing result cannot recover an uncaptured exchange.
  2. Connection: Does Claude Code show the Hemory MCP server as available, and are its required credentials or account selections current?
  3. Tools and access: Does the connected server expose a retrieval operation, and can it access the relevant captured conversation?
  4. Search clue: Does the request identify the subject clearly enough to distinguish it from other conversations? A date or exact quote is useful only if you know it.
  5. Answer quality: Does the response preserve whether the statement was a proposal, an accepted decision, a commitment, or a later change? Compare consequential details with the captured record before acting.

If you cannot establish which records or actions a connection can access, treat that scope as unresolved. Do not broaden permissions just to make a test pass.

FAQ

Does connecting Hemory mean Claude Code will remember every conversation?

No. This workflow tests retrieval of a conversation that was captured in Hemory and is accessible through the connection. It does not establish automatic capture of Claude Code chats or access to every record.

Is Hemory MCP read-only?

Do not assume that the entire connection is read-only. Review the tools and permissions available in your setup. Documented Speaker management does not imply arbitrary Memory editing or permission to act in other systems.

What should I do if the first session can retrieve a decision but the next one cannot?

Check that the fresh session is using the same working connection and that the decision remains accessible. Try a specific clue and compare the response with the captured record. One failed test does not establish that Hemory lost the conversation or that all cross-session retrieval is unavailable.

Next step

Once the test works, try the connection on a real coding task that depends on a captured decision. Let Hemory supply the relevant conversation context, then review the result for current status, scope, and conditions before using it in code or project work. Keep the test narrow: successful retrieval of one decision is useful evidence for that task, not a guarantee of complete recall or broad write access.

Start building your memory palace

Download Hemory — from today on, every real conversation becomes material you can generate from tomorrow.

Get Hemory for iOS Get Hemory for Android Download APK

macOS, Windows, Linux, Web, and Self-host coming soon