About AIfa Memory
AIfa Memory is a hosted MCP server for AI agents and MCP clients that need persistent access to an AIfa account’s memory across four sites. It combines conversation recall and agent-written notes with account, export, and partner-program tools.
Key features
- 01Search and retrieve past memory
- 02Save preferences, decisions, and summaries
- 03Export memory as Markdown
- 04Manage account plans and status
- 05Access partner and referral tools
Use cases
- 01Recall a decision discussed with AIfa weeks earlier
- 02Save an agent session summary for later
- 03Export an account’s memory before leaving
- 04Track referrals and partner deals
MCP support
Exposes memory, account, and partner-program tools to MCP clients through a hosted Streamable HTTP endpoint. Authentication uses an account-specific Bearer key.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://aifa.works/api/mcpclaude mcp add --transport http works-aifa-aifa-memory https://aifa.works/api/mcp{"mcpServers":{"works-aifa-aifa-memory":{"type":"http","url":"https://aifa.works/api/mcp"}}}Open in Cursor{"servers":{"works-aifa-aifa-memory":{"type":"http","url":"https://aifa.works/api/mcp"}}}Open in VS Code{"mcpServers":{"works-aifa-aifa-memory":{"type":"http","url":"https://aifa.works/api/mcp"}}}{"mcpServers":{"works-aifa-aifa-memory":{"serverUrl":"https://aifa.works/api/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://aifa.works/api/mcpAuth requiredTools
Details
From the project READMEAIfa Memory — MCP server
One memory for you and your AI agents. AIfa Memory is a hosted Model Context Protocol server. It connects Claude, Cursor, VS Code or any other MCP client to the memory of your AIfa account — the same memory AIfa uses when you talk to her on aifa.works, codeofdigitaleternity.com, aifa.digital and radiocode.space.
Your agent can recall what you discussed with AIfa weeks ago, save new decisions, and hand everything back to you as one Markdown file whenever you want to leave.
Endpoint https://aifa.works/api/mcp
Transport Streamable HTTP (JSON-RPC 2.0, stateless)
Auth Authorization: Bearer <your key>
Version 1.7.0 · protocol 2025-06-18, 2025-03-26, 2024-11-05
This repository holds the public description of the server: connection examples, the full tool list and the registry manifest. The server itself runs on aifa.works; its code lives in the private site repository together with the database and payments. If you want a memory server you can read and run yourself, see padam-nocturne — our open-source, local-first MCP memory (one SQLite file, 8 tools).
Quick start
- Sign in at aifa.works/mcp and create your key. One key per account.
- Add the server to your client (examples below). Replace
YOUR_AIFA_MCP_KEYwith your key. - Ask your agent: "Search my AIfa memory for what we decided about …"
Claude Code
claude mcp add --transport http aifa-memory https://aifa.works/api/mcp --header "Authorization: Bearer YOUR_AIFA_MCP_KEY"
Cursor — ~/.cursor/mcp.json
{
"mcpServers": {
"aifa-memory": {
"url": "https://aifa.works/api/mcp",
"headers": { "Authorization": "Bearer YOUR_AIFA_MCP_KEY" }
}
}
}
VS Code — .vscode/mcp.json
{
"servers": {
"aifa-memory": {
"type": "http",
"url": "https://aifa.works/api/mcp",
"headers": { "Authorization": "Bearer YOUR_AIFA_MCP_KEY" }
}
}
}
Claude Desktop — claude_desktop_config.json
Claude Desktop connects to remote servers through mcp-remote. The header is passed without spaces inside args and the value goes into env — on Windows, spaces inside args break the header.
{
"mcpServers": {
"aifa-memory": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://aifa.works/api/mcp", "--header", "Authorization:${AUTH_HEADER}"],
"env": { "AUTH_HEADER": "Bearer YOUR_AIFA_MCP_KEY" }
}
}
}
The same files are in examples/.
Tools
Fifteen tools. Full parameters and hints: TOOLS.md.
Memory
| Tool | What it does |
|---|---|
memory_search | Search your memory by meaning — every conversation with AIfa on the four sites plus notes saved by agents. |
memory_recent | The most recent records, newest first, across all channels. |
memory_write | Save a preference, decision, fact or session summary. Nothing is deleted; an identical record is not duplicated. |
memory_export | Your whole verbatim memory as Markdown, in parts of up to 100,000 characters. |
memory_about | What this memory is, where it lives and how it is protected. No user data. |
Account
| Tool | What it does |
|---|---|
account_status | Your plan, permanent memory used and left this month, referral earnings and your referral link. |
plans | Prices of the plans and what each one stores permanently. No user data. |
buy_plan | Creates a crypto invoice (NOWPayments) for your own account and returns its URL. Nothing is charged until you pay. |
request_payout | Requests a withdrawal of your referral balance in USDT (TRC20). Reviewed and paid manually; every address is screened against the OFAC sanctions list. |
Partner program (bringing clients to AIfa Works accessibility services)
| Tool | What it does |
|---|---|
partner_kit | Rates, the 14-day hold, the rules and three email templates (en, ru, es, zh). |
client_link | Your partner link to the accessibility page, optionally with a service price and your share. |
client_report | A ready report page for a site owner, built from the published AIfa research data. No new scan of a third-party site is made. |
find_clients | Up to 20 new sites a day in a region where the research found barriers; each is reserved for you for 30 days. |
my_deals | Paid orders you brought, your share and when it can be withdrawn. |
set_webhook | A signed POST to your https endpoint for every counted click and commission. |
Plans: Spark $15/month · Family Archive $100/month · Digital DNA $1,000 once per device, then $200/month. The plans tool always returns the current prices and limits.
How your data is handled
- The key decides everything. The account is taken only from the key, never from the request body. No tool takes an email or user ID as input, so one account cannot read another's memory.
- Without a key the server answers only
initialize,pingandtools/list. Everytools/callwithout a valid key returnsUnauthorized. - Revoking a key. Signing out on all devices in your cabinet revokes it.
- Limits. 60 calls a minute per key, of them 20 searches. 30 calls a minute per address without a key. Tool answers are trimmed so that one call cannot pull a whole history; use
memory_exportfor a full copy of your own memory. - Permanent copy. On paid plans a copy of your conversations is stored on Arweave, encrypted with your own key; every record has its own key, so a single record can be made unreadable without touching the rest.
- Leaving.
memory_exportgives you everything as Markdown. You can leave whenever you want and take your memory with you.
Found a security problem? See SECURITY.md.
Registry
server.json is the manifest for the official MCP Registry (schema 2025-12-11) under the name works.aifa/aifa-memory.
Links
- Get a key and read the guide: aifa.works/mcp
- Partner program: aifa.works/partners
- Open-source local memory: padam-nocturne
- Contact: [email protected]
License
The documentation and configuration examples in this repository are released under the MIT License. The AIfa Memory service itself is provided by CODE Eternal LLC under the terms published on aifa.works.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.