Builderforce Memory
Local persistent memory for coding agents to recall facts instead of re-reading files
Builderforce Memory is an MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 2026.10.85
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add builderforce-memory --env BUILDERFORCE_API_KEY='<BUILDERFORCE_API_KEY>' -- npx -y @seanhogg/builderforce-memory-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"builderforce-memory": {
"command": "npx",
"args": [
"-y",
"@seanhogg/builderforce-memory-mcp"
],
"env": {
"BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"builderforce-memory": {
"command": "npx",
"args": [
"-y",
"@seanhogg/builderforce-memory-mcp"
],
"env": {
"BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"builderforce-memory": {
"command": "npx",
"args": [
"-y",
"@seanhogg/builderforce-memory-mcp"
],
"env": {
"BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"builderforce-memory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@seanhogg/builderforce-memory-mcp"
],
"env": {
"BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add builderforce-memory --env BUILDERFORCE_API_KEY='<BUILDERFORCE_API_KEY>' -- npx -y @seanhogg/builderforce-memory-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.builderforce-memory]
command = "npx"
args = ["-y", "@seanhogg/builderforce-memory-mcp"]
env = { BUILDERFORCE_API_KEY = "<BUILDERFORCE_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"builderforce-memory": {
"command": "npx",
"args": [
"-y",
"@seanhogg/builderforce-memory-mcp"
],
"env": {
"BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "builderforce-memory": { "command": "npx", "args": [ "-y", "@seanhogg/builderforce-memory-mcp" ], "env": { "BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>" } } } }Or run: gemini mcp add -s user -e BUILDERFORCE_API_KEY='<BUILDERFORCE_API_KEY>' builderforce-memory npx -- -y @seanhogg/builderforce-memory-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "builderforce-memory": { "command": "npx", "args": [ "-y", "@seanhogg/builderforce-memory-mcp" ], "env": { "BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "builderforce-memory": { "command": "npx", "args": [ "-y", "@seanhogg/builderforce-memory-mcp" ], "env": { "BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "builderforce-memory": { "command": "npx", "args": [ "-y", "@seanhogg/builderforce-memory-mcp" ], "env": { "BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "builderforce-memory": { "command": "npx", "args": [ "-y", "@seanhogg/builderforce-memory-mcp" ], "env": { "BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "builderforce-memory": { "command": "npx", "args": [ "-y", "@seanhogg/builderforce-memory-mcp" ], "env": { "BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "builderforce-memory": { "command": "npx", "args": [ "-y", "@seanhogg/builderforce-memory-mcp" ], "env": { "BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "builderforce-memory": { "command": "npx", "args": [ "-y", "@seanhogg/builderforce-memory-mcp" ], "env": { "BUILDERFORCE_API_KEY": "<BUILDERFORCE_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
BUILDERFORCE_MEMORY_FILEAbsolute path to the JSON snapshot that makes memory survive restarts. Defaults to ~/.builderforce-memory/memory.json, which every MCP host on the machine shares.BUILDERFORCE_MEMORY_READONLYSet to 1 to expose recall only (disables memory_remember and memory_forget).BUILDERFORCE_API_KEYBuilderforce tenant API key (bfk_*). When set, additionally exposes the token_usage and model_efficiency cost tools.
About Builderforce Memory
The aim is saving tokens: rather than re-reading files each session, an agent recalls durable facts. Memory is written to a JSON snapshot, by default under the home directory and shared by every MCP host on that machine, so it survives restarts.
Two switches shape the surface. Setting read-only mode exposes recall only and disables remembering and forgetting, and supplying a Builderforce tenant key adds two cost tools, token_usage and model_efficiency. Beyond stdio, the package describes an in-process transport for the Claude Agent SDK and a Streamable HTTP handler.
The README is candid about limits: the HTTP handler's token check is not constant-time, and it shares one backend with no per-tenant isolation, so one token reads every tenant's facts. Real isolation is not yet implemented.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- memory_remember
- Stores a durable fact.
- memory_forget
- Removes a stored fact.
- token_usage
- Reports token usage; needs a tenant key.
- model_efficiency
- Reports model efficiency; needs a tenant key.
What it does
- Durable recall
- Agents retrieve stored facts instead of re-reading files.
- File-backed memory
- A JSON snapshot keeps memory across restarts.
- Read-only mode
- An environment switch disables writing and forgetting.
- Cost tools
- With a tenant key, token_usage and model_efficiency appear.
- Three transports
- In-process, stdio and Streamable HTTP.
Good for
- Cut token use on repeated project questions
- Share one local memory across several MCP hosts
- Give a review agent recall-only access
- Track token usage by model
Builderforce Memory FAQ
Where is memory stored?
In a JSON file at ~/.builderforce-memory/memory.json by default.
Can I make Builderforce Memory read-only?
Yes, set BUILDERFORCE_MEMORY_READONLY to 1.
Is the HTTP handler multi-tenant safe?
The README says per-tenant isolation is not yet implemented.
What needs an API key?
Only the token_usage and model_efficiency cost tools.
How do I add Builderforce Memory to Claude Code?
Run this command in your terminal: claude mcp add builderforce-memory --env BUILDERFORCE_API_KEY='<BUILDERFORCE_API_KEY>' -- npx -y @seanhogg/builderforce-memory-mcp
What are the best alternatives to Builderforce Memory?
The closest alternatives to Builderforce Memory are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.
Where this comes from
- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.



