Persistent AI memory over MCP with hybrid search, knowledge graphs, and self-hosted SQL storage.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Ratary.
The ontorata/ratary MCP server connects AI clients to Ratary, an open-source memory platform for persistent AI context. It is intended for assistants and agents that need to retain information between sessions instead of relying only on the current conversation or manually supplied documents.
Ratary stores durable, owner-scoped, versioned memory alongside structured knowledge. Records can include metadata and relationships, allowing applications to retrieve related information and traverse a knowledge graph. The platform also provides hybrid search and bounded context assembly so retrieved information can be selected for an agent's available context.
The repository contains Ratary Server, which exposes REST, persistence, and a Ratary MCP stdio implementation. The project also publishes client packages, including @ratary/mcp-server, which connects an IDE MCP client to a Ratary API over stdio.
A local deployment runs on Node.js 24 and uses a SQL metadata store. PostgreSQL is the documented template default, while Cloudflare D1 is also supported in the quick-start instructions. The current description additionally identifies MariaDB and Docker as deployment options.
For a self-hosted setup, the MCP layer operates against the Ratary Server instance. The server exposes an API at http://localhost:9876 in the local example, with Swagger documentation at /docs. A bootstrap step creates an API key beginning with aic_; clients then authenticate with that key.
The npm MCP package provides another path: it runs as a stdio process and sends requests to a hosted or self-hosted Ratary REST API. Configure the target with RATARY_BASE_URL and authenticate with RATARY_API_KEY.
The repository quick start requires Node.js 24, a SQL metadata store, and an environment file. PostgreSQL setup uses DATABASE_URL and AUTH_SECRET, applies the PostgreSQL schema, runs setup, and starts the development server. The D1 path sets SQL_PROVIDER=d1 and the relevant Cloudflare or D1 configuration before running migrations.
The documented npm command is:
That package requires RATARY_BASE_URL and RATARY_API_KEY to connect to the API. The repository also documents npm run setup for wiring Ratary MCP to clients such as Cursor and Claude Code.
The listing describes 28 MCP tools. Supported platform capabilities include:
These capabilities suit coding assistants, project-specific agents, and applications that need one durable memory source across multiple models or client surfaces.
The material does not provide the names or schemas of the 28 MCP tools, so tool-level parameters cannot be evaluated here. A SQL metadata store is required for the self-hosted server, and the database choice changes the setup steps. The npm MCP process is a client adapter to a Ratary API; it does not replace the server or database. Remote Streamable HTTP is described as optional, while the repository's native implementation is stdio.
Ratary is self-hostable and released under the MIT license. The provided material does not describe hosted-service pricing or service-level guarantees.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ontorata-ratary)<a href="https://allmcps.com/mcp/ontorata-ratary"><img src="https://allmcps.com/api/badge/ontorata-ratary?style=directory" alt="Ratary on AllMCPs" /></a>