Skip to content
Agentmart
Submit a tool

SmartMemory

Graph + vector memory for agents: recall, ingest, search, distill.

Connector by smartmemory.ai · Domain verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/smartmemory-ai-smartmemory-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Graph + vector memory for agents: recall, ingest, search, distill. Local or remote backend.

Use cases: agent-memory, knowledge-base

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
55 read · 43 write · 3 delete
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Tools by what they do 101

Read from the source code; the running server may list different tools.

Read 55 · Look things up without changing anything.

  • agent_evaluation_get
  • agent_get_recall_profile
  • code_blame
  • code_dead_code
  • code_dependencies
  • code_read_transcript
  • code_search
  • decision_find_conflicts
  • decision_get
  • decision_list
  • decision_provenance
  • decision_search
Show 43 more tools
  • dev_load_context
  • dev_query_decisions
  • evolution_dream
  • evolution_status
  • get_working_context
  • insight_health
  • insight_maintenance_status
  • insight_plugins
  • insight_reflect
  • memory_anchor_check_drift
  • memory_anchor_list
  • memory_check_failure
  • memory_explain
  • memory_get
  • memory_get_violation_patterns
  • memory_list
  • memory_plan_active
  • memory_plan_get
  • memory_policy_bundle
  • memory_recall
  • memory_recall_pack
  • memory_search
  • memory_search_advanced
  • memory_search_by_metadata
  • memory_stats
  • pattern_get
  • pattern_list
  • pattern_query
  • peer_chat
  • read_around
  • reasoning_challenge
  • reasoning_extract_trace
  • reasoning_fuzzy_confidence
  • reasoning_proof_tree
  • reasoning_query
  • reasoning_query_traces
  • transcript_search
  • transcript_status
  • whoami
  • zettel_backlinks
  • zettel_clusters
  • zettel_connections
  • zettel_discover

Write 43 · Create, change, send or run things.

  • agent_set_recall_profile
  • clustering_run
  • code_index
  • decision_contradict
  • decision_create
  • decision_create_pending
  • decision_reinforce
  • decision_resolve_requirement
  • decision_retract
  • decision_supersede
  • decision_try_activate
  • dev_log_friction
Show 31 more tools
  • dev_record_decision
  • dev_record_pattern
  • dev_save_session
  • evolution_reinforce_opinions
  • evolution_synthesize_observations
  • evolution_synthesize_opinions
  • evolution_trigger
  • insight_feedback
  • insight_ground
  • insight_personalize
  • login
  • memory_add
  • memory_anchor_graduate
  • memory_anchor_set
  • memory_auto
  • memory_distill
  • memory_export
  • memory_feedback
  • memory_import
  • memory_ingest
  • memory_ingest_conversation
  • memory_ingest_document
  • memory_ingest_structured
  • memory_log_failure
  • memory_migrate
  • memory_plan_create
  • memory_plan_update_task
  • memory_resolve_aliases
  • memory_update
  • reasoning_resolve_conflict
  • switch_team

Delete 3 · Delete, drop, revoke or wipe things.

  • memory_anchor_clear
  • memory_clear
  • memory_delete

Network hosts it talks to 5

  • api.smartmemory.ai · found in code
  • app.smartmemory.ai · found in code
  • chatgpt.com · found in code
  • claude.ai · found in code
  • grok.com · found in code

Files it touches

  • ~/.claude
  • Your home directory (~)
  • ~/.codex
  • ~/.smartmemory-transcripts
  • ~/.smartmemory/eval
  • Any path the agent passes to its tools

Tools (101)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • agent_evaluation_get

    Get the current evaluation score for an agent on a given (dimension, domain) slot. CORE-AGENT-2 S03-T9. No tenant_id — matches agent_*_recall_profile sibling convention in the standalone MCP repo (Codex Round-2 F5 / OQ2-bis). Returns the current evaluation dict, or None when no evaluation has been written yet (cold-start). Returns raw dict | None per evaluation-contract.json §mcp_tools — NOT a formatted string. Cross-slice Codex review must-fix. dimension: one of decision_volume, supersession_rate, confidence_trajectory, reinforcement_balance. domain: controlled-vocabulary domai…

  • agent_get_recall_profileGet recall profileread-only

    Get an agent's recall profile.

  • agent_set_recall_profileSet recall profile

    Set an agent's recall profile for personality-aware search re-ranking.

  • clustering_run

    Run entity clustering/deduplication — merge duplicate entities by vector similarity.

  • code_blame

    Which captured session authored this code? Given a git commit (or a file + line) in a local repo, find the Claude Code / Codex session whose edits structurally produced that code (CORE-CODE-PROVENANCE-1 Phase 2b). Local-backend only: provenance is captured into the local store and git runs against the local working tree. The hosted REST surface is Phase 2c.

  • code_dead_codeFind dead coderead-only

    Find potentially dead (unreferenced) functions in an indexed codebase.

  • code_dependenciesTrace code dependenciesread-only

    Trace code dependencies -- what calls/imports/inherits what.

  • code_index

    Index a Python codebase into SmartMemory's knowledge graph.

  • code_read_transcript

    Read the conversation that authored a span of code (CORE-CODE-PROVENANCE-1 Phase 2c) — the *read* half of the blame->read chain. Copy the `code_read_transcript(...)` call that `code_blame` prints for a match: it renders a centered window of the authoring Claude Code / Codex transcript. Local-backend only: the transcript JSONL lives on the developer's machine. The hosted REST surface is parked. For live CC (no `line_no`), pass the match's `file` + `norm_hash` so the authoring edit can be located. To page, re-call with `next_line` (or `prev_line`) from the previous continue-cursor — the window …

  • code_searchSearch indexed coderead-only

    Search indexed code entities by name or description.

  • decision_contradict

    Record contradicting evidence against a decision.

  • decision_create

    Create a new decision with provenance tracking. CORE-EXPERTISE-1 Phase 1: rejected_alternatives, rationale, constraints capture the "why" structure that makes decisions usable expertise.

  • decision_create_pending

    Create a pending decision (GTM Acceptance Case) with unresolved requirements. requirements: list of {description, requirement_type, query_hint?}. The server assigns each requirement_id (req_<uuid8>); use those with decision_resolve_requirement.

  • decision_find_conflicts

    Find existing decisions that may conflict with this one.

  • decision_get

    Retrieve a decision by ID.

Show 86 more tools
  • decision_list

    List active decisions with optional filtering.

  • decision_provenance

    Get full provenance chain for a decision.

  • decision_reinforce

    Record supporting evidence for a decision.

  • decision_resolve_requirement

    Mark a requirement on a pending decision resolved by a memory item.

  • decision_retract

    Retract a decision, marking it as no longer valid.

  • decision_search

    Search for active decisions related to a topic.

  • decision_supersede

    Replace a decision with a new one, marking the old as superseded.

  • decision_try_activate

    Activate a pending decision if all requirements are resolved (no-op otherwise).

  • dev_load_context

    Load recent session context and related decisions for a work topic.

  • dev_log_friction

    Log a friction event encountered during development.

  • dev_query_decisions

    Search past development decisions by keyword, feature, or time range.

  • dev_record_decision

    Record an architectural or design decision as a decision memory.

  • dev_record_pattern

    Record a code pattern or convention as procedural memory.

  • dev_save_session

    Save a development session summary as an episodic memory.

  • evolution_dream

    **Deprecated:** CORE-MEMORY-DYNAMICS-1 M1b moved routing to at-ingest via the ConsolidationRouter. This tool is a no-op kept for caller compatibility.

  • evolution_reinforce_opinions

    Run opinion reinforcement — update confidence scores based on new evidence.

  • evolution_status

    Get status of memory evolution processes.

  • evolution_synthesize_observations

    Run observation synthesis — create entity summaries from scattered facts.

  • evolution_synthesize_opinions

    Run opinion synthesis — detect patterns in episodic memories and form opinions.

  • evolution_trigger

    Trigger a memory evolution cycle — runs clustering, deduplication, and consolidation.

  • get_working_context

    Retrieve a structured surfacing response (CORE-MEMORY-DYNAMICS-1 M1a). Returns JSON matching ``smart-memory-docs/docs/features/CORE-MEMORY-DYNAMICS-1/context-api-contract.json``. Cross-type retrieval, ``strategy_used="fast:recency"``. Standalone MCP does not currently compose anchors.

  • insight_feedback

    Update memory system based on user feedback.

  • insight_ground

    Ground a memory item to an external source URL for provenance.

  • insight_health

    Get memory health summary — item counts, health score, and detected issues.

  • insight_maintenance_status

    Get maintenance status — orphaned, stale, and low-confidence memory counts.

  • insight_personalize

    Apply personalization settings — traits and preferences for memory retrieval.

  • insight_plugins

    List available extractors and enrichers.

  • insight_reflect

    Reflect on memory patterns — identify key concepts, top entities, and dominant topics.

  • login

    Authenticate with a SmartMemory API key. Restart MCP server to unlock PRO tools.

  • memory_addAdd a memory

    Add a memory item directly without the NLP pipeline.

  • memory_anchor_check_drift

    Check if recent outputs have drifted from anchored requirements.

  • memory_anchor_clear

    Clear (deactivate) anchors for a session.

  • memory_anchor_graduate

    Graduate active anchors to persistent decisions.

  • memory_anchor_list

    List active anchors for a session.

  • memory_anchor_set

    Set a spec anchor to pin a requirement or constraint for the session.

  • memory_auto

    Enable or disable automatic memory lifecycle. When enabled, SmartMemory automatically recalls context at session start, observes tool calls, distills conversation turns, learns from errors, and persists session summaries. Zero manual tool calls needed. Session-scoped overrides — settings apply to the current session only, not persisted to config.toml. Args: enabled: Activate (True) or deactivate (False) automatic lifecycle. recall_strategy: "session_only" | "topic_change" | "every_prompt". orient_budget: Max tokens for session-start context injection. recall_budget: Max toke…

  • memory_check_failure

    Check for matching past failures before retrying.

  • memory_clear

    Clear all memories permanently (requires confirm=True).

  • memory_deleteDelete a memorycan change or delete data

    Delete a memory item by ID.

  • memory_distillDistill a conversation turn

    Ingest a conversation turn pair into pending memory for later recall.

  • memory_explainExplain a memoryread-only

    Explain a memory's full provenance: origin, every belief the system held for it over time, what replaced it, what it derives from, and whether its history is cryptographically intact. The single-call audit answer (PLAT-AUDITABLE-MEMORY-1). FREE tier by design: agents should always be able to answer "how do you know that?". chain_verified null means nothing to verify (legacy or unversioned) — it is NOT a tamper warning.

  • memory_export

    Export all memories as an OKF bundle directory or tar.gz archive.

  • memory_feedbackGive search feedback

    Report which search results you used from a previous memory_search call. Call this after using results from memory_search to help SmartMemory learn which memories are actually useful. Pass the search_session_id from the memory_search response and the item_ids you incorporated into your response. Args: search_session_id: The session ID returned at the bottom of the memory_search output (e.g. "search:ws123:abc456def789"). result_used: List of item_ids from the search results that you used. Pass an empty list if none of the results were useful.

  • memory_getGet a memoryread-only

    Retrieve a memory item by ID with full content and metadata.

  • memory_get_violation_patterns

    Return the ``## Detection patterns`` catalog from local rule files. Distinct from ``pattern_query``/``pattern_get``/``pattern_list`` (which read the graph-backed Pattern *catalog*): this reads the per-rule ``## Detection patterns`` markdown blocks from ``{rule_type}_*.md`` files on the local filesystem. Harnesses (Compose's ``COMP-POLICY-CHECK``, raw Claude Code, Cursor) fetch this once per session and run their own pre-response check — scan a candidate response against ``patterns``, suppress when a recent user turn matches a ``suppression_signal``. Args: rule_id: if given, return only t…

  • memory_import

    Losslessly import an OKF bundle through the direct add path.

  • memory_ingestIngest a memory

    Ingest content through the full NLP pipeline with entity extraction.

  • memory_ingest_conversationIngest a conversation

    Ingest a conversation as session chunks with full pipeline processing (RLM-1g). Groups turns into sessions (by explicit boundaries or auto-chunking), runs each chunk through the full extraction pipeline, and creates a conversation container node with PART_OF edges. Args: turns: List of dicts with "role"/"speaker" and "content" keys. session_boundaries: Turn indices where sessions start (e.g. [0, 50, 120]). conversation_id: User-supplied ID (auto-generated if None). session_dates: ISO date per session for metadata. turns_per_chunk: Max turns per auto-chunk (default 15). …

  • memory_ingest_document

    Ingest a document from a URL or file path. Creates a parent document node (INDEXED) and chunk nodes (FULL, embedded) linked via PART_OF edges. Deduplicates by source URL and content hash. Args: source: Public URL (http/https), or a file path in local mode only (.txt, .md, .pdf, .docx). source_type: "html" | "pdf" | "docx" | "txt" | "markdown" | "auto". chunk_size: Max characters per chunk (default 2000). chunk_strategy: "paragraph" | "sentence" | "markdown" | "recursive". reference: Mark nodes as reference material.

  • memory_ingest_structured

    Ingest structured data via a registered handler, bypassing NLP pipeline.

  • memory_listList memoriesread-only

    List memories with pagination, optionally filtered by exact metadata match. metadata_key/metadata_value must be given together. Nested keys use dot syntax (e.g. `profile.tier`). This is the supported replacement for memory_search_by_metadata, whose endpoint is deprecated (GRAPH-API-1l).

  • memory_log_failure

    Log an agent failure for cross-session error recovery.

  • memory_migrate

    Migrate all memories to a different backend via a temporary OKF bundle.

  • memory_plan_active

    Get all active plans.

  • memory_plan_create

    Create a plan with optional task nodes.

  • memory_plan_get

    Get a plan with all its tasks.

  • memory_plan_update_task

    Update a task's status within a plan (pending, in_progress, complete, blocked).

  • memory_policy_bundleGet policy bundleread-only

    Compile active workspace decisions into a Stratum policy bundle. ``workflow`` is echoed in the selector for the runner. ``domain`` narrows the source decisions. The returned JSON is the policy-exchange contract bundle and is identical for local and hosted backends.

  • memory_recallRecall memoriesread-only

    Recall recent and relevant memories for the current context. Hosted note: this always takes the remote recall path. The alternative branch builds a working context through the `smartmemory` core activation scorer (round 4, note 2), which the hosted server does not ship — so `session_id` and `cite=True` are refused rather than silently downgraded.

  • memory_recall_packBuild a recall packread-only

    Assemble the most useful context that fits in a token budget. Returns one priority-ordered block (active plan, anchors, latest snapshot, tier-1 user content, tier-2 graduated content, notes) packed to fit ``budget_tokens``, plus a manifest accounting every token spent and every item truncated or dropped (CORE-RECALL-BUDGET-1). ``query`` ranks each section by relevance; omit it to rank by recency. ``sections`` overrides the default list/order/caps as ``{name, cap_tokens}`` entries. ``preset`` selects a named section set instead: pass ``"wakeup"`` with a small budget (~300 tokens) at session s…

  • memory_resolve_aliases

    Consolidate fragmented entity aliases over the workspace graph. Merges each unambiguous single-token alias node (e.g. "Hudson") into its multi-token canonical ("Rock Hudson") over the COMPLETE graph, redirecting the alias's edges onto the canonical and abstaining on collisions ("Hudson" with both "Rock Hudson" and "Rochelle Hudson" present). Run after a bulk ingest, when the full ambiguity picture is present. Args: dry_run: If True, report the resolve/abstain plan without mutating the graph. disambiguate: Opt-in (CORE-GRAPH-ALIAS-DISAMBIG-1, default False). Additionally recover …

  • memory_searchSearch memoriesread-only

    Search memories using semantic similarity with optional hybrid mode. Hosted note: `cite=True` is not available — citation formatting runs in the `smartmemory` core package, which the hosted server does not ship.

  • memory_search_advanced

    Advanced search using Similarity Graph Traversal (SSG) algorithms.

  • memory_search_by_metadataSearch memories by metadataread-only

    Search memories by exact metadata key-value match.

  • memory_statsMemory statisticsread-only

    Get memory count statistics grouped by type.

  • memory_updateUpdate a memory

    Update a memory item's properties (CORE-CRUD-UPDATE-1). - ``content``/``metadata``: convenience — folded into the properties dict. - ``properties``: advanced — direct node-property update. Takes precedence. - ``write_mode``: "merge" (default) or "replace".

  • pattern_get

    Fetch one pattern by id, or null if not found.

  • pattern_list

    Return every active pattern (no filters).

  • pattern_query

    Query the adherence pattern catalog. Filters are conjunctive. ``scope`` does case-insensitive substring matching against each pattern's declared scope list (so ``".py"`` matches ``"**/*.py"`` and vice-versa). ``severity`` is one of ``info | warn | error``. ``free_text`` matches title, content, and rationale (case-insensitive substring).

  • peer_chat

    Ask a question about a peer and get an answer synthesized from their memory. The zero-schema front door: no schema, no memory type, no ontology. Gathers the peer's expertise records, their recent messages (optionally scoped to one session), and one graph hop out of the top hits, then synthesizes a single answer over that context. Returns ``{answer, peer_id, reasoning_level, model, sources}`` matching ``peer-chat-contract.json``; ``sources`` entries carry ``item_id``, ``memory_type``, ``content_preview`` and ``channel``. Local-backend only in Phase 1: the hosted REST route is not built yet.

  • read_aroundRead surrounding conversationread-only

    Auto-centered conversation read (CORE-RECALL-CENTERED-1 Phase 2). Given a matched conversation-chunk ``item_id`` (from a recall hit's ``conversation_handle``), return a char-budgeted ASYMMETRIC window of the surrounding conversation chunks (~``before_ratio`` back / ``after_ratio`` forward; leftover spills to the other side) plus a continue-cursor — so a caller pulls just the relevant slice of a long conversation into context instead of the whole transcript. "Centered" is over neighbour 15-turn chunks, not individual turns. Returns ``{window_items, window_text, handle, continue_cursor:{prev_p…

  • reasoning_challenge

    Challenge an assertion against existing knowledge to detect contradictions.

  • reasoning_extract_trace

    Extract reasoning traces from content — detects chain-of-thought patterns.

  • reasoning_fuzzy_confidence

    Get multi-dimensional confidence score for a decision (evidence, recency, consensus, directness).

  • reasoning_proof_tree

    Build an auditable proof tree for a decision, tracing evidence back to sources.

  • reasoning_query

    Route a query to the cheapest effective retrieval method (symbolic, semantic, or hybrid).

  • reasoning_query_tracesQuery reasoning tracesread-only

    Query stored reasoning traces — ask 'why' questions about past decisions.

  • reasoning_resolve_conflict

    Resolve a conflict between assertions via Wikipedia, LLM, grounding, or recency.

  • switch_teamSwitch workspace

    Switch to a different workspace/team.

  • transcript_search

    Search your own past Claude Code and Codex sessions by meaning (DIST-CC-INGEST-1 Phase 4). Use it to recover prior context — "have I hit this error before?", "why did we choose X?", "what did I try last time?" — instead of re-deriving it. Searches only sessions already imported by `transcripts index`; it reports when nothing has been imported rather than returning an empty result. Local-only. Args: query: What to look for, in natural language. top_k: Number of sessions to return (default 5). source: "claude-code", "codex", or "all" (default). project: Optional repo path — kee…

  • transcript_status

    Report how much of your Claude Code / Codex history is actually searchable (DIST-CC-INGEST-1 Phase 4), and whether an import is running right now. Call this when `transcript_search` finds nothing you expected: the usual cause is that the long-running import has not finished, not that the memory is absent.

  • whoamiWho am Iread-only

    Show current session: user, team, tier, and backend mode.

  • zettel_backlinks

    Get notes that link TO this note (backlinks).

  • zettel_clusters

    Detect knowledge clusters in your Zettelkasten.

  • zettel_connections

    Get all connections (backlinks + forward links) for a note.

  • zettel_discover

    Find unexpected connections (serendipitous discovery) for a note.

Signals

Weekly downloads
352
Last release
Sep 6, 2026 (1 month ago)
Last package publish
Oct 17, 2026 (12 days ago)

From the package registry.

Details

Registry name
ai.smartmemory/smartmemory-mcp
Version
1.4.94
Auth
No auth
Packages
pypi smartmemory-mcp
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from smartmemory.ai

Cite this page

SmartMemory MCP server. Agent Mart. https://agentmart.dev/connectors/smartmemory-ai-smartmemory-mcp (last updated 2026-10-24)