> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baselayer.id/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude.ai

> Connect BaseLayer to Claude.ai for knowledge recall.

# Claude.ai Integration

Connect BaseLayer to Claude.ai so Claude can search your memory, store new information, and maintain context across conversations.

## Setup

1. Go to [claude.ai](https://claude.ai) → **Settings → Integrations**
2. Click **Add MCP Integration**
3. Enter the server URL:
   ```
   https://api.baselayer.id/mcp
   ```
4. Claude will redirect you to BaseLayer's OAuth page
5. Sign in with your BaseLayer account and click **Allow**
6. Done. Claude now has access to your memory

<Note>You only need to do this once. Claude will remember the connection across sessions.</Note>

## Using it

Once connected, Claude can automatically use BaseLayer tools. You'll see tool calls like `ask_question`, `record_memory`, and `recent_conversations` appear in your conversations.

**Automatic context loading**: Claude may call `recent_conversations` at the start of a conversation to check for relevant context from your memory.

**Search your memory**: Ask Claude anything about past conversations:

> "What did I decide about the database migration last week?"

> "Who was I talking to about the API redesign?"

> "What's the current status of Project Atlas?"

**Store new knowledge**: Claude can save important information to your memory:

> "Remember that we decided to use PostgreSQL for the new service."

## Verify the connection

To check that BaseLayer is connected, ask Claude:

> "What do you know about me?"

Claude should call `ask_question` and return knowledge from your memory.

## Disconnect

To remove the connection, go to **Settings → Integrations** in Claude.ai and remove the BaseLayer integration.
