Mem Ai Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mem Ai Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Model Context Protocol (MCP) server for mem.ai API integration. This server enables AI assistants like Claude to interact with your mem.ai memory through a standardized interface.
No installation required! You can run the server directly using npx (recommended), or install it globally if you prefer.
npx @hskksk/mem-ai-mcp-serverThis automatically downloads and runs the latest version without requiring installation.
npm install -g @hskksk/mem-ai-mcp-serverCreate a .env file or set environment variables:
MEM_API_KEY=your_api_key_hereOptional configuration:
# Override the default API base URL (default: https://api.mem.ai)
MEM_API_BASE_URL=https://api.mem.aiAdd the following configuration to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mem-ai": {
"command": "npx",
"args": ["-y", "@hskksk/mem-ai-mcp-server"],
"env": {
"MEM_API_KEY": "your_api_key_here"
}
}
}
}After restarting Claude Desktop, you'll be able to use mem.ai tools in your conversations.
If you've installed the package globally:
{
"mcpServers": {
"mem-ai": {
"command": "mem-ai-mcp-server",
"env": {
"MEM_API_KEY": "your_api_key_here"
}
}
}
}# Using npx (recommended)
MEM_API_KEY=your_api_key_here npx @hskksk/mem-ai-mcp-server
# Or if installed globally
MEM_API_KEY=your_api_key_here mem-ai-mcp-serverinput (required), instructions, context, timestampcontent (required), id, collection_ids, collection_titles, created_at, updated_atnoteId (required)noteId (required)page and next_pagelimit - Maximum number of results (default: 50, max: 100)page - Cursor for pagination (from previous next_page)order_by - Sort order: created_at or updated_at (default: updated_at)collection_id - Filter by collection IDcontains_open_tasks - Filter notes with open taskscontains_tasks - Filter notes with any taskscontains_images - Filter notes with imagescontains_files - Filter notes with files/attachmentsinclude_note_content - Include full markdown content in responsequery - Search query (optional)filter_by_collection_ids - Filter by collection IDs arrayfilter_by_contains_open_tasks - Filter notes with open tasksfilter_by_contains_tasks - Filter notes with any tasksfilter_by_contains_images - Filter notes with imagesfilter_by_contains_files - Filter notes with filesconfig - Response configuration (include_snippet, include_content)title (required), descriptioncollectionId (required)collectionId (required)page and next_pagelimit - Maximum number of results (default: 50, max: 100)page - Cursor for pagination (from previous next_page)order_by - Sort order: created_at or updated_at (default: updated_at)query - Search query (optional)config - Response configuration (include_description)# Clone the repository
git clone https://github.com/hskksk/mem-ai-mcp-server.git
cd mem-ai-mcp-server
# Install dependencies
pnpm install
# Copy environment template
cp .env.example .env
# Edit .env and add your API key# Run in development mode with auto-reload
pnpm dev
# Build the project
pnpm build
# Run tests
pnpm test
# Type check
pnpm type-check
# Lint
pnpm lintsrc/
├── index.ts # Entry point
├── server.ts # MCP server setup
├── config/
│ └── env.ts # Environment configuration
├── client/
│ └── mem-api-client.ts # mem.ai API client
├── tools/ # MCP tool implementations
│ ├── base-tool.ts
│ ├── mem-it.ts
│ ├── notes/
│ └── collections/
├── types/ # TypeScript type definitions
└── utils/ # Utility functionsFor detailed information about the mem.ai API, visit the official API documentation.
The server provides detailed error messages for common issues:
All errors are returned in a structured format for easy debugging.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions:
See CHANGELOG.md for the full version history.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.