The official Memory MCP server implements a persistent knowledge graph.
npx -y @modelcontextprotocol/server-memory
{
"mcpServers": {
"memory": {
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"command": "npx"
}
}
}Create entities in the knowledge graph
{
"type": "object",
"required": [
"entities"
],
"properties": {
"entities": {
"type": "array"
}
}
}// Input
{
"entities": [
{
"name": "Alice",
"entityType": "person"
}
]
}// Output
{
"created": [
"Alice"
]
}Create relations between entities
{
"type": "object",
"required": [
"relations"
],
"properties": {
"relations": {
"type": "array"
}
}
}// Input
{
"relations": [
{
"to": "ProjectA",
"from": "Alice",
"relationType": "works_on"
}
]
}// Output
{
"created": 1
}Retrieve specific entities by name
{
"type": "object",
"required": [
"names"
],
"properties": {
"names": {
"type": "array"
}
}
}The official Memory MCP server implements a persistent knowledge graph.
Memory provides 4 tools including create_entities, create_relations, open_nodes, and 1 more.
Yes, Memory is completely free to use with no usage limits on the free tier.
You can install Memory using the following command: npx -y @modelcontextprotocol/server-memory. After installation, add the provided config snippet to your Claude Desktop or Cursor configuration.
// Input
{
"names": [
"Alice"
]
}// Output
{
"entities": [
{
"name": "Alice",
"entityType": "person"
}
]
}Search entities in the knowledge graph
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string"
}
}
}// Input
{
"query": "Python expert"
}// Output
{
"entities": [
{
"name": "Alice",
"entityType": "person"
}
]
}Memory is listed under the AI & Machine Learning category in the AgentForge MCP registry.
Memory has a current uptime of 99.99% with an average response time of 5ms.
To connect Memory, click the "Connect Agent" button on this page to get the configuration snippet. Add it to your MCP client (Claude Desktop, Cursor, or any MCP-compatible tool). Your AI agent will then have access to all of Memory's tools via the Model Context Protocol.