MCP Directory

Memory (Knowledge Graph) vs Context7 MCP Server

A side-by-side comparison of two AI, Data & Knowledge servers — tools, transport, auth, maintenance, and copy-paste config for each.

 Memory (Knowledge Graph)

Official MCP server providing persistent, file-backed knowledge-graph memory across sessions.

Verified
stdio (local)
No auth
TypeScript
Context7 MCP Server

Up-to-date, version-specific library documentation injected into your coding agent.

Verified
stdio (local)
API key
TypeScript
CategoryAI, Data & KnowledgeDeveloper Tools
LanguageTypeScriptTypeScript
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars74k28k
Last commit5 months ago15 days ago
Verified
Actively maintained
Installnpx -y @modelcontextprotocol/server-memorynpx -y @upstash/context7-mcp
RepoOpen Open

Verdict

Pick Memory (Knowledge Graph) if you prefer the more popular, battle-tested option, and you want zero-setup with no API key.

Pick Context7 MCP Server if you prefer its approach (up-to-date, version-specific library documentation injected into your coding agent).

Add Memory (Knowledge Graph)

Install / run
npx -y @modelcontextprotocol/server-memory

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "memory-knowledge-graph": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ],
      "env": {
        "MEMORY_FILE_PATH": "/absolute/path/to/memory.jsonl"
      }
    }
  }
}

Add Context7 MCP Server

Install / run
npx -y @upstash/context7-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "context7-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ],
      "env": {
        "CONTEXT7_API_KEY": "<optional-your-context7-api-key>"
      }
    }
  }
}

FAQ

Memory (Knowledge Graph) or Context7 MCP Server — which is better?

Pick Memory (Knowledge Graph) if you prefer the more popular, battle-tested option, and you want zero-setup with no API key. Pick Context7 MCP Server if you prefer its approach (up-to-date, version-specific library documentation injected into your coding agent).

Can I use both Memory (Knowledge Graph) and Context7 MCP Server?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do Memory (Knowledge Graph) and Context7 MCP Server work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.