MemoryIQ
Enables AI tools to access and contribute to shared semantic memory, supporting search, capture, and curation of knowledge across multiple brains via the MCP protocol.
README
MemoryIQ
One Brain. Every AI.
AI-powered shared memory platform. Capture thoughts from anywhere, search by meaning, share knowledge across all your AI tools.
Key Features
- Semantic Search — vector-powered search using pgvector
- Shared Brains — collaborative knowledge bases with member roles
- MCP Protocol — connect any MCP-compatible AI tool
- Smart Curation — AI detects conflicts and flags stale knowledge
- Multi-Source Capture — web UI, API, MCP
- Auto-Metadata — AI classifies, tags, and links thoughts
Tech Stack
- Framework: Next.js 16 (App Router)
- Language: TypeScript
- Auth: Clerk
- Database: Neon Postgres + pgvector
- ORM: Drizzle
- AI: OpenRouter + OpenAI (fallback)
- MCP: @modelcontextprotocol/sdk
- Styling: Tailwind CSS + shadcn/ui
Local Development
git clone <repo-url>
cd memoryiq
cp .env.example .env.local # Fill in your keys
npm install
npx drizzle-kit migrate
npm run dev
Environment Variables
| Variable | Description |
|---|---|
| NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY | Clerk publishable key |
| CLERK_SECRET_KEY | Clerk secret key |
| CLERK_WEBHOOK_SECRET | Clerk webhook signing secret |
| DATABASE_URL | Neon pooled connection string |
| DATABASE_URL_UNPOOLED | Neon direct connection (for migrations) |
| OPENROUTER_API_KEY | OpenRouter API key |
| OPENAI_API_KEY | OpenAI API key (fallback) |
| NEXT_PUBLIC_APP_URL | App URL (e.g., https://memoryiq.ai) |
MCP Integration
Connect your AI tools using your brain's MCP URL:
Claude Desktop
{
"mcpServers": {
"memoryiq": {
"url": "https://your-app.vercel.app/api/mcp?key=YOUR_BRAIN_KEY",
"transport": "http"
}
}
}
Cursor
{
"mcpServers": {
"memoryiq": {
"url": "https://your-app.vercel.app/api/mcp?key=YOUR_BRAIN_KEY"
}
}
}
VS Code Copilot
{
"github.copilot.chat.mcpServers": {
"memoryiq": {
"url": "https://your-app.vercel.app/api/mcp?key=YOUR_BRAIN_KEY"
}
}
}
Find your brain key in Dashboard → Brains → [Brain] → MCP Connection.
Deployment
Recommended: Vercel + Neon
- Push to GitHub
- Import project in Vercel
- Add environment variables
- Deploy
Database Migrations
npx drizzle-kit generate # Generate new migration
npx drizzle-kit migrate # Run migrations
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.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
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.