ClaudeCodeMod

All shelves / MCP servers

io.github.helinakdogan/agent-magnet

io.github.helinakdogan/agent-magnet · 14 stars · Python · MIT

MCP server Behavioral memory layer for AI tools. Learns preferences and context across Claude, Cursor, Codex.

Install

The repo has no one-line install. Follow its README.

Published as

  • PyPIagent-magnetstdio

From the server's entry in the official MCP Registry.

Open the repo

Configuration

NameSet asWhat it is
MAGNET_USER_IDRequiredEnv varYour identifier used as the memory key across all tools
MAGNET_OPENAI_KEYOptionalEnv varOpenAI API key for the reflector and classifier models
MAGNET_LOCAL_MODEOptionalEnv varSet to 1 to use local SQLite storage — no Redis or external services needed
MAGNET_REDIS_URLOptionalEnv varRedis connection URL for persistent shared storage (overrides local mode)
MAGNET_PROJECT_IDOptionalEnv varNamespace for memory isolation across projects (defaults to 'default')

Files

README.md

Agent Magnet

PyPI

Your AI forgets your project every new session. This fixes that.

What it does

  • Learns automatically as you work — no "remember this" required
  • Shares one memory across Claude, Cursor, and Codex
  • Lets you forget or mark things done — memory doesn't just pile up

Quick start

pip install agent-magnet
agent-magnet init

That's the whole install. No Redis, no keys, local by default.

What it remembers

Decisions, conventions, watch-outs, failed attempts, goals, preferences, and actions taken — one memory, sorted automatically.

Team memory

Shared memory for a team — one person's decision becomes everyone's context. Requires a paid Agent Magnet key from agentmagnet.app.

Works everywhere

Claude, Cursor, Codex — same memory, local by default. agent-magnet init detects and configures Claude Code, Claude Desktop, and Cursor for you.

Manual MCP config (Codex, or any other MCP client)
{
  "mcpServers": {
    "agent-magnet": {
      "command": "agent-magnet-mcp",
      "env": { "MAGNET_USER_ID": "your_name" }
    }
  }
}

MIT licensed. Contribute — and a ⭐ if this saved your context window.

Facts

Kind
MCP server
Repo
helinakdogan/agentmagnet
Group
Uncategorized
Stars
14
License
MIT
Language
Python
Last push
2026-09-05
Forks
5
MCP Registry
io.github.helinakdogan/agent-magnet
Homepage
www.agentmagnet.app
Topics
agentic-ai, ai, ai-agent, ai-agents, ai-gateway, llm, llm-memory, llm-tools, openai, personalization, python, rag-alternative, self-hosted, user-memory

More on this shelf

  1. 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
  2. 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
  3. 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
  4. 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
  5. 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
  6. 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k