mcp-memory-server
MCP server for memory management with process inspection and cleanup tools.
README
MCP Memory Server
MCP server for memory management with process inspection and cleanup tools.
Tools
| Tool | Description |
|---|---|
list_memory_usage |
System memory summary (like free -h) |
list_top_processes |
Top N memory consumers with details |
find_stale_processes |
Find sleeping/idle processes by age, state, name pattern |
kill_processes |
Kill PIDs with safety checks |
Installation
Claude Code
Add to ~/.config/claude-code/mcp.json:
{
"mcpServers": {
"mcp-memory": {
"command": "nix",
"args": ["run", "github:paolino/mcp-memory-server", "--refresh"]
}
}
}
The --refresh flag ensures you always get the latest version. Remove it to use the cached version for faster startup.
From source
git clone https://github.com/paolino/mcp-memory-server
cd mcp-memory-server
nix develop
just install
just run
Usage Examples
Show memory usage
Ask Claude: "Show me current memory usage"
Find stale GHC processes
Ask Claude: "Find old GHC or cabal processes using more than 100MB"
This calls find_stale_processes with:
name_pattern:"ghc|cabal"min_memory_mb:100
Kill processes
Ask Claude: "Kill these PIDs: 1234, 5678"
Safety checks:
- Refuses PID 0/1
- Refuses root-owned processes (unless running as root)
- Optional name confirmation to prevent killing wrong process
- Default SIGTERM, SIGKILL only when explicit
Development
nix develop
just test # Run tests
just run # Start server
just format # Format code
just lint # Lint code
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.