# memdata [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/thelabvenice/memdata-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 154  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/memdata

## Description
Persistent memory for AI agents. Store context, retrieve it semantically.

## Tools
Capabilities this server exposes over MCP:

- **memdata_ingest** — Ingest text content into long-term memory for later retrieval. Use this to store important information, notes, decisions, or context that should be remembered across conversations.
- **memdata_query** — Search memory for relevant context based on a natural language query. Returns the most semantically similar stored content with similarity scores.
- **memdata_list** — List all stored memories/artifacts. Shows what content has been ingested with chunk counts and dates. Use this to see what is in memory before querying or to find artifact IDs for deletion.
- **memdata_delete** — Delete a memory/artifact from storage. This permanently removes the content and all associated chunks. Use memdata_list to find artifact IDs.
- **memdata_status** — Check the health and storage usage of your MemData account. Shows API connectivity and how much storage space is used.
- **memdata_session_start** — 🚀 CALL THIS FIRST at the start of every session. Returns your identity, what you were working on, last session handoff, recent activity, and memory stats. Essential for session continuity.
- **memdata_session_end** — Save a session handoff before ending. Stores what you were working on and context for the next session. Call this before context compression or when ending a work session.
- **memdata_set_identity** — Set or update your agent identity. Use this to establish who you are and your purpose.
- **memdata_relationships** — Find entities related to a person, company, or concept in your memory. Shows who/what appears together in the same context.
- **memdata_query_timerange** — Search memory within a specific time range. Use for queries like "what did I work on last week" or "meetings from January".

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "memdata": {
    "command": "npx",
    "args": ["memdata-mcp"],
    "env": {
      "MEMDATA_API_KEY": "",
      "X402_WALLET_KEY": "",
      "MEMDATA_API_URL": ""
    }
  }
}
```

**Requires environment variables:** `MEMDATA_API_KEY`, `X402_WALLET_KEY`, `MEMDATA_API_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What memdata MCP server does

The memdata MCP server gives an AI client access to persistent memory through the MemData API. It accepts text such as notes, decisions, documentation, and session context, then stores that content for later retrieval. The MCP package does not keep data locally; it acts as a client for the remote MemData service.

Stored text is processed into chunks and embeddings. Later, an agent can ask a natural-language question and receive semantically related content with similarity scores. This makes the service suitable for recalling meaning rather than matching only exact words.

## How it works

An agent can begin a session with `memdata_session_start`, which returns the configured agent identity, session count, the previous handoff, and recent activity. It can set or update that identity with `memdata_set_identity`, then save a summary for the next session through `memdata_session_end`.

For ordinary memory operations, `memdata_ingest` accepts text and a source name. MemData chunks, embeds, and stores the content. `memdata_query` searches the stored material using natural language and supports a result limit. `memdata_query_timerange` adds optional `since` and `until` date filters. `memdata_relationships` finds entities that occur together and can filter results by types such as person, company, or project.

The memdata MCP server communicates with MemData over the API. Subscriber access uses an API key. Agents can instead use the x402 payment flow with a wallet private key; requests are paid per operation in USDC on Base, and the wallet address identifies the agent's memory space.

## Setup and configuration

Install and run the package with `npx memdata-mcp` from an MCP client configuration. Human-managed access requires `MEMDATA_API_KEY`, obtained from the MemData dashboard. Autonomous-agent access uses `X402_WALLET_KEY` instead. The two authentication modes are alternatives and should not be configured together. `MEMDATA_API_URL` can override the default API endpoint, which is `https://memdata.ai`.

The README provides configurations for Claude Desktop, Claude Code, and Cursor. After adding the server configuration, restart the client so its tools become available.

## Tools and capabilities

- `memdata_ingest`: store text with a source identifier.
- `memdata_query`: perform semantic natural-language search.
- `memdata_list`: list stored memories and chunk counts.
- `memdata_delete`: remove a memory by artifact ID.
- `memdata_status`: inspect API connectivity and storage usage.
- `memdata_session_start`: retrieve identity and prior session context.
- `memdata_set_identity`: set the agent name and identity summary.
- `memdata_session_end`: save a handoff for the next session.
- `memdata_query_timerange`: search within optional date boundaries.
- `memdata_relationships`: find related entities in stored memory.

The memdata MCP server handles text and Markdown through MCP. PDF, image, and audio processing are not supported by these MCP tools; those file types are handled through the MemData dashboard or HTTP API instead.

## Limitations and notes

Data is sent to the MemData API rather than stored locally by the package. Text is the supported MCP content type, so applications that need PDF, image, or audio ingestion must use another MemData interface. The x402 option requires a wallet private key and incurs per-request USDC charges on Base, while API-key access uses a MemData subscription.

_Full upstream README: https://allmcps.com/mcp/memdata/readme_

