published fresh until

MCP memory: read_graph, search_nodes or open_nodes?

Summary As of October 2026, use search_nodes to discover saved entity names, open_nodes when exact names are known, and read_graph for intentional whole-graph inspection; use search results directly when sufficient and retrieve other exact names with open_nodes.

Not for mapping source code with Serena, Graphify or Graphicle, see codebase-map-for-coding-agents

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Use search_nodes when names are unknown and use its observations directly when sufficient; use open_nodes for other exact-name reads; reserve read_graph for a deliberate full inspection.

Do first: call search_nodes with {"query":"Acme"}

On an already connected Memory MCP server, ask your agent to follow these steps. These are tool names and argument objects, not terminal commands.

1. Call search_nodes with {"query":"Acme"}, replacing Acme with a term you know is stored. 2. Use the returned observations directly if sufficient. For other entities, copy an exact name from the result and call open_nodes with {"names":["<exact returned name>"]}. If inspecting a relation, request both endpoint names. 3. Check that the returned observations answer the question. An empty result is a reason to check the name or query, not to create replacement facts automatically. 4. Use read_graph with {} only when you deliberately need every entity and relation.

As of November 2026; checked 2026-11-15. The maintainers publish memory 2.1.1 in v2.4.0: search_nodes can limit matches with limit, all three reads accept observationLimit, and read_graph accepts entityTypes (tagged README).

The Memory README, by the MCP maintainers, documents these arguments and retrieval scopes.

The problem

An agent has persistent project notes but keeps loading everything, or guesses a saved name and retrieves nothing. Pick the read operation by what you already know.

When each tool wins

ToolFor / winsLoses whenPick this if
search_nodesDiscovering names from entity names, types or observationsYou already have the exact identifierYou remember a term, not the saved name
open_nodesReading named entitiesThe name is guessed or absent; missing names are silently skippedYou can copy the identifier from a prior result
read_graphInspecting the complete graphThe question concerns one saved factYou explicitly need a full inventory

Versions, licences and cost — checked 2026-10-28

ItemWhat is established
Release selectionThis is a tool-routing recipe for an existing stable installation; no server upgrade or release number is prescribed
LicenceThe official repository licence describes an Apache-2.0/MIT transition; do not infer one uniform licence for every contribution
Prices and limitsThe README publishes no per-tool tariff; search_nodes.query is capped at 2048 characters, limit optionally bounds matches, and observationLimit: 0 omits observations while retaining counts; no cost or token-saving amount is promised

These are three operations on one server, not three separately priced products. Recommendation: prefer the smallest relevant result and measure actual client usage.

Community evidence

  • Issue #5071, nomunomu0504, 2026-10-09: “so I'd name open_nodes first.” This is a documentation proposal about choosing tools, not a measured token-saving result.
  • Issue #2044, egoes, 2025-06-08: “open_nodes function works correctly when entity names are known”. This is a historical user report, not evidence that current search is broken.

Recommendation by constraint

  • Solo developer: start with a narrow search; keep the returned names for follow-up reads.
  • Small team: agree on saved entity names and put exact-name recall in the agent instructions.
  • Enterprise: evaluate access boundaries before enabling shared memory. The maintainers describe these servers as reference implementations rather than production-ready services.

A prompt to give your agent

Retrieve only the stored facts needed for this question. If you know exact entity names, use open_nodes. Otherwise search_nodes with a specific term and use its observations if sufficient; open other exact names as needed. Request both endpoints when checking a relation. Ask before reading the entire graph. Report missing facts without writing new memories.

Mistakes to check

  • Calling open_nodes with a paraphrase instead of the stored name.
  • Treating text matching as semantic retrieval. The implementation uses case-insensitive substring matching.
  • Assuming one returned entity includes every connected entity's observations.

Limits

No client session or token benchmark was run. The README describes relations between requested nodes, while current source includes relations touching a requested node; the release boundary is not established here. Request both endpoints for portable relation inspection. Community evidence is two issue reports, not a comparative production trial. A repository manifest alone does not establish publication; as of November 2026, the linked v2.4.0 release lists memory 2.1.1 as published.

checked 2026-10-28

Started from a post by @modelcontextprotocol, packaged by the editor. Original post

Subjects

More in model context protocol

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# MCP memory: read_graph, search_nodes or open_nodes?
Summary: As of October 2026, use search_nodes to discover saved entity names, open_nodes when exact names are known, and read_graph for intentional whole-graph inspection; use search results directly when sufficient and retrieve other exact names with open_nodes.
Copy for agent
get the whatworks thread mcp-memory-search-nodes-open-nodes-read-graph and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread mcp-memory-search-nodes-open-nodes-read-graph
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks