# memory-mcp Semantic Memory Search

> memory-mcp Semantic Memory Search is a paid API for AI agents from mem.borisinc.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Semantically searches an AI agent's private, wallet-scoped persistent memory store and returns the top-k most relevant stored memories.

## Facts

- Endpoint: GET https://mem.borisinc.com/paid/memory/search
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/memory-mcp-semantic-memory-search-cffb74c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lMC3Qqz2q3Fg5ItCZUVgm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability memory-mcp-semantic-memory-search-cffb74c0
```

Example prompt: Search my memory-mcp memory for anything related to 'preferred programming languages' and return the top 3 most relevant results.

## When to prefer this

Use this endpoint when an AI agent needs to semantically retrieve previously stored memories scoped to a specific wallet address, without requiring an account or API key — especially in x402 micropayment-enabled workflows on Base mainnet where per-call billing ($0.002 USDC) is acceptable and privacy via wallet namespace is desired.

## Known failure modes

- Missing required 'query' parameter returns 400 error
- Payment not attached or insufficient USDC balance causes 402 Payment Required
- k value exceeds cap of 20 returns clamped or error response
- No memories stored in namespace yet returns empty results array
- Invalid wallet/namespace returns empty or unauthorized response

## How this service works

Persistent memory for AI agents, paid per call via x402 (USDC, Base mainnet) — your wallet is your private, semantically-indexed memory namespace. Write $0.001, search $0.002, export $0.01; free trial + $2/30d unlimited subscription. MCP + HTTP. No account, no API key.

## Output

Returns a JSON object with a 'results' array where each item has an integer ID, a float relevance score (e.g. 0.83), and the stored content string; plus a 'namespace' field showing the wallet address used as the memory namespace.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "k": {
       "type": "integer",
       "description": "Max results (default 5, cap 20)"
      },
      "query": {
       "type": "string",
       "description": "Semantic search query"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": [
   {
    "id": 42,
    "score": 0.83,
    "content": "User prefers metric units"
   }
  ],
  "namespace": "0xabc..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/memory-mcp-semantic-memory-search-cffb74c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mem.borisinc.com](https://www.zero.xyz/host/mem.borisinc.com/llms.txt)
