Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿง  Knowledge & Memory
  3. Memex
Memex logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 7:48:18 PM

Memex

User RatingsBe the first to rate and review this MCP server!
View Repository1 GitHub StarsTotal stargazers on GitHub for the source repository (1 stars).Visit Website
memoryembeddingspostgresqlpgvectormcp

Stores, searches, ranks, and deletes agent memories using local embeddings, PostgreSQL, and recency-aware scoring.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Remote HTTP
Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ayushagrawal288-memex": {
      "url": "http://localhost:8001/mcp/"
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿง  More in Knowledge & Memory

Overview

Persistent agent memory is provided by the ayushagrawal288/memex MCP server through semantic search, recency-aware ranking, and PostgreSQL storage. It embeds content locally with an ONNX model, avoiding external embedding APIs and their associated costs. The service exposes MCP tools alongside a FastAPI REST API, with background summarization and Prometheus metrics. Reach for it when agents need memories that persist across sessions without relying on cloud services.

Use cases

โ€ขStore user preferences across agent sessions
โ€ขSearch past conversations with semantic and recency ranking
โ€ขSeparate episodic, semantic, and procedural memories
โ€ขDelete outdated or incorrect agent memories
โ€ขMonitor memory API health and metrics

Key features

โ€ขLocal ONNX embeddings
โ€ขPostgreSQL and pgvector storage
โ€ขRecency-aware semantic ranking
โ€ขMCP tools for memory operations
โ€ขBackground extractive summarization
โ€ขPrometheus metrics and health checks

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Memex.

Extracted Tool Capabilities
Local ONNX embeddings
PostgreSQL and pgvector storage
Recency-aware semantic ranking
MCP tools for memory operations
Background extractive summarization
Prometheus metrics and health checks

How Memex works

What ayushagrawal288/memex MCP server does

The ayushagrawal288/memex MCP server gives AI agents persistent storage for facts, preferences, past events, and procedures. It stores memories for an agent and user, generates an embedding locally, and saves the record in PostgreSQL with pgvector. Agents can then search those records semantically instead of receiving only the most recent or exact-text matches.

Memory records support three types: episodic for events and conversations, semantic for facts and preferences, and procedural for workflows or instructions. The service also supports deleting a memory and counting memories associated with an agent or user.

How it works

On a write, the service passes the memory content through fastembed using the local BAAI/bge-small-en-v1.5 ONNX model. The resulting 384-dimensional vector is inserted into PostgreSQL. No external embedding request is needed.

On a search, the query is embedded with the same local model. PostgreSQL uses a cosine-similarity pgvector query to select three times the requested number of candidates. Python then reranks those candidates using a configurable blend of semantic similarity and age:

score = ฮฑ ร— cosine_similarity + (1 โˆ’ ฮฑ) ร— exp(โˆ’ฮป ร— age_days)

The default semantic-weight parameter is alpha=0.7, and the default recency half-life is 30 days. Higher alpha values favor semantic similarity; lower values give recency more influence. The database uses an ivfflat index, intended by the project for small-to-medium collections.

Setup and configuration

The ayushagrawal288/memex MCP server is designed to run locally with Docker and Docker Compose. Clone the repository, change into its directory, and run docker compose up. The REST API is available at http://localhost:8000, with interactive documentation at /docs. The project also contains an MCP FastAPI process configured on port 8001 and identifies its MCP transport as Streamable HTTP.

The stack includes PostgreSQL 16, the pgvector extension, and an asyncpg connection pool. The default pool limits are five minimum and 20 maximum connections; DB_MAX_POOL_SIZE can override the maximum. The README states that no API keys are required and that the complete stack runs locally.

Tools and capabilities

The MCP tool definitions cover four operations:

  • Store a memory
  • Search memories
  • Delete a memory
  • Count memories

The corresponding REST API provides memory creation, search, deletion, and count routes. Health and readiness checks are available, and a metrics endpoint exposes Prometheus metrics. The repository also includes background summarization using a local extractive summarizer based on deduplication and term-frequency scoring.

Limitations and notes

Local ONNX inference is required for both writes and searches, so CPU capacity affects throughput. Reported tests used a MacBook M-series machine with Docker Desktop and found roughly 120 requests per second in aggregate under the stated test configuration; saturation caused multi-second latency. These figures are environment-specific rather than a service guarantee.

The ivfflat configuration is aimed at collections below about one million vectors. The project notes that larger deployments may benefit from moving scoring into PostgreSQL, changing to HNSW, adding embedding caching, or scaling horizontally. Those approaches are described as future or scaling options, not default behavior.

The ayushagrawal288/memex MCP server does not provide a hosted cloud dependency in the documented setup. Deployers remain responsible for running Docker, PostgreSQL, and the service processes.

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    โ˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    ๐Ÿง  Knowledge & Memory21 views
    Compare vs Moxie Docs MCP โ†’
  • Scrivener MCP logoScrivener MCP

    Connect Scrivener 3 writing projects to Claude and other AI assistants. 47 tools for document management, writing analysis, semantic search, character/plot memory, and content enhancement. Progressive skill loading, relationship engine with HMS triplets, and JS fallback for offline semantic search. npm i -g scrivener-mcp

    ๐Ÿง  Knowledge & Memory16 views
    Compare vs Scrivener MCP โ†’
  • Hindsight logoHindsight

    Hindsight: Agent Memory That Works Like Human Memory - Built for AI Agents to manage Long Term Memory

    ๐Ÿง  Knowledge & Memory3 views
    Compare vs Hindsight โ†’
  • Basic Memory logoBasic Memory

    Persistent, local-first AI memory: a semantic knowledge graph of plain Markdown files that humans and LLMs both read and write. Works with any MCP client, with optional cloud sync and team workspaces.

    ๐Ÿง  Knowledge & Memory2 views
    Compare vs Basic Memory โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
1
Stargazers on the source repository.
Last commit
3mo ago
Most recent push to the default branch.
Directory activity
3 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Memex

Clone the repository, enter its directory, and run `docker compose up`. Docker and Docker Compose are listed as prerequisites.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMemex AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ayushagrawal288-memex?style=directory)](https://allmcps.com/mcp/ayushagrawal288-memex)
HTML Embed
<a href="https://allmcps.com/mcp/ayushagrawal288-memex"><img src="https://allmcps.com/api/badge/ayushagrawal288-memex?style=directory" alt="Memex on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿง Knowledge & Memory
PricingFree
More technical detailsExpand โ–พ
TransportSSE (Remote)
AuthNo auth required
LicenseMIT
Last updatedSep 7, 2026
Views3
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars1
GitHub Star CountTotal stargazers on GitHub representing community popularity (1 stars).
Last commit3mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jun 4, 2026
48Quality signal: Fair ยท 48/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools25/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿง  Knowledge & Memory โ†’Best MCP servers for Memory & Knowledge โ†’Alternatives to Memex โ†’Install in Claude DesktopInstall in CursorInstall in VS Code