MCP server/ai-tools

LawMem MCP Server

Persistent semantic memory-as-a-service for legal AI agents.

lawmem-ai/lawmem-mcp ↗by lawmem-aiupdated
Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1

Prepare the server locally

Run this once before adding it to Claude Code.

git clone https://github.com/lawmem-ai/lawmem-mcp
cd lawmem-mcp

Then follow the repository README for any remaining dependency or build steps.

2

Register it in Claude Code

claude mcp add --transport http -H "Authorization: Bearer YOUR_LAWMEM_API_KEY" lawmem https://api.lawmem.ai/mcp/

Replace any placeholder paths in the command with the real path on your machine.

Required:Authorization
3

Make your agent remember this setup

lawmem's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Persistent semantic memory for AI agents
  • Namespace-isolated storage for client data
  • Audit-logged and GDPR-compliant architecture
  • Semantic search capabilities for case notes and history

Tools 4

store_memoryStore a memory with text, namespace, and optional metadata
recall_memoriesSemantic search across stored memories
delete_memoryDelete a memory by ID
get_statsGet memory count and usage statistics

Environment Variables

AuthorizationrequiredBearer token for API authentication

Try it

Store this case note regarding the Smith v. Jones matter in the client-smith namespace.
Recall all previous research findings related to GDPR compliance for this client.
What is my current memory usage and total count of stored case notes?
Delete the memory entry with ID 12345 as it is no longer relevant to the current case.
Original README from lawmem-ai/lawmem-mcp

LawMem — Legal Memory for AI Agents

<a href="https://glama.ai/mcp/servers/lawmem-ai/lawmem-mcp"> </a> **LawMem.ai** gives legal AI agents persistent, searchable memory via MCP. Store case notes, client context, research findings, and matter history — recalled semantically when relevant.

Quickstart

Add to your MCP config:

{
  "mcpServers": {
    "lawmem": {
      "type": "http",
      "url": "https://api.lawmem.ai/mcp/",
      "headers": {
        "Authorization": "Bearer YOUR_LAWMEM_API_KEY"
      }
    }
  }
}

Get your API key at lawmem.ai/signup — free tier available.

Tools

Tool Description
store_memory Store a memory with text, namespace, and optional metadata
recall_memories Semantic search across stored memories
delete_memory Delete a memory by ID
get_stats Get memory count and usage statistics

Auth

Bearer token — get your API key at lawmem.ai/signup.

Pricing

Plan Price Calls/mo
Free $0 1,000 lifetime
Pay-as-you-go $0 $0.005/call
Legal Starter $199/mo 50,000
Legal Pro $499/mo 150,000

Compatibility

Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible client.

Privacy & Compliance

Namespace-isolated, audit-logged, GDPR-compliant. Terms · Privacy

Frequently Asked Questions

What are the key features of LawMem?

Persistent semantic memory for AI agents. Namespace-isolated storage for client data. Audit-logged and GDPR-compliant architecture. Semantic search capabilities for case notes and history.

What can I use LawMem for?

Storing and retrieving complex case notes across multiple AI sessions. Maintaining client-specific context for legal research agents. Tracking matter history for long-term legal projects. Managing research findings in a secure, audit-logged environment.

How do I install LawMem?

Install LawMem by running: Add the provided JSON configuration to your MCP-compatible client settings.

What MCP clients work with LawMem?

LawMem works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep LawMem docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest