MCP server
Aifp MCP
Persistent memory MCP server for AI coding assistants. Chinese-first and fully local.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.5.8
- Listing updated
- 6 days ago
About Aifp MCP
Aifp MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add aifp-mcp --env COGNITION_LLM_API_KEY='<COGNITION_LLM_API_KEY>' -- npx -y aifp-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"aifp-mcp": {
"command": "npx",
"args": [
"-y",
"aifp-mcp"
],
"env": {
"COGNITION_LLM_API_KEY": "<COGNITION_LLM_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"aifp-mcp": {
"command": "npx",
"args": [
"-y",
"aifp-mcp"
],
"env": {
"COGNITION_LLM_API_KEY": "<COGNITION_LLM_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"aifp-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"aifp-mcp"
],
"env": {
"COGNITION_LLM_API_KEY": "<COGNITION_LLM_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"aifp-mcp": {
"command": "npx",
"args": [
"-y",
"aifp-mcp"
],
"env": {
"COGNITION_LLM_API_KEY": "<COGNITION_LLM_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"aifp-mcp": {
"command": "npx",
"args": [
"-y",
"aifp-mcp"
],
"env": {
"COGNITION_LLM_API_KEY": "<COGNITION_LLM_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
COGNITION_LLM_API_KEYOptional LLM API key for automatic memory recognition (COGNITION_LLM_API_KEY or ANTHROPIC_API_KEY)
Pricing
Open source
Aifp MCP FAQ
Is Aifp MCP free?
Yes. Aifp MCP is open source, so you can use and self-host it for free.
How do I add Aifp MCP to Claude Code?
Run this command in your terminal: claude mcp add aifp-mcp --env COGNITION_LLM_API_KEY='<COGNITION_LLM_API_KEY>' -- npx -y aifp-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.