From memoric
Integrate Memoric into AI applications for persistent memory, semantic search, and intelligent deduplication. Use this skill when the user mentions "memoric", "memory layer", "remember", "persistent context", "personalization", or needs to add long-term memory to agents, chatbots, or AI workflows. Covers REST API and MCP integration. Use even when the user doesn't explicitly say "memoric" but describes needing conversation memory, context retention, or knowledge retrieval across sessions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/memoric:memoricThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Memoric is a persistent memory layer for AI agents. It stores, searches, and deduplicates memories via API — no infrastructure to deploy.
Memoric is a persistent memory layer for AI agents. It stores, searches, and deduplicates memories via API — no infrastructure to deploy.
Sign up at https://memoric.dev and create an API key from the dashboard.
export MEMORIC_API_KEY="mk_your-api-key"
Claude Code:
claude mcp add --transport http memoric https://memoric.dev/mcp --header "Authorization:Bearer $MEMORIC_API_KEY"
Cursor (.cursor/mcp.json):
{
"mcpServers": {
"memoric": {
"url": "https://memoric.dev/mcp",
"headers": { "Authorization": "Bearer ${MEMORIC_API_KEY}" }
}
}
}
Memoric follows a simple pattern: store → search → use.
curl -X POST https://memoric.dev/v1/memories \
-H "Authorization: Bearer $MEMORIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"content": "User prefers TypeScript and dark mode", "user_id": "alice"}'
Memoric automatically deduplicates — if a similar memory exists, it merges instead of creating a duplicate.
curl https://memoric.dev/v1/memories/search \
-H "Authorization: Bearer $MEMORIC_API_KEY" \
-G -d "q=what+are+the+user+preferences" -d "user_id=alice"
Returns memories ranked by semantic similarity.
curl https://memoric.dev/v1/memories \
-H "Authorization: Bearer $MEMORIC_API_KEY"
curl -X DELETE https://memoric.dev/v1/memories/MEMORY_ID \
-H "Authorization: Bearer $MEMORIC_API_KEY"
| Tool | Purpose |
|---|---|
add_memory | Store a memory with intelligent deduplication |
search_memories | Search by semantic similarity |
get_memories | List stored memories |
delete_memory | Delete a memory by ID |
import requests
MEMORIC_API_KEY = "mk_your-key"
BASE = "https://memoric.dev/v1"
HEADERS = {"Authorization": f"Bearer {MEMORIC_API_KEY}", "Content-Type": "application/json"}
def chat_with_memory(user_input: str, user_id: str) -> str:
# 1. Search for relevant context
search = requests.get(f"{BASE}/memories/search",
headers=HEADERS, params={"q": user_input, "user_id": user_id})
context = "\n".join(m["content"] for m in search.json().get("results", []))
# 2. Generate response with your LLM (using context)
response = generate_with_llm(user_input, context)
# 3. Store the interaction
requests.post(f"{BASE}/memories", headers=HEADERS,
json={"content": f"User asked: {user_input}. Response: {response}", "user_id": user_id})
return response
Memories can be scoped by entity to keep them organized:
| Parameter | Use for |
|---|---|
user_id | Per-user memories (preferences, history) |
agent_id | Per-agent memories (learned behaviors) |
app_id | Per-application memories |
run_id | Per-session memories |
Use metadata to categorize memories:
| Type | When to use |
|---|---|
decision | Architectural or design choices |
lesson | Strategies that worked |
anti_pattern | Approaches that failed |
preference | User preferences |
fact | Important context or information |
convention | Coding or process conventions |
session_state | Pre-compaction session summaries |
| Tier | Adds/month | Search | Price |
|---|---|---|---|
| Free | 10,000 | Unlimited | $0 |
| Starter | 50,000 | Unlimited | $9/mo |
| Pro | 500,000 | Unlimited | $199/mo |
Search is unlimited at every tier.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub memoric-ai/memoric-plugin --plugin memoric