mcpbeat Sign in

Cosmos MCP Server

by teampolarity Your server? Claim it
local only

Cosmos MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 92 installs a week from npm. Last commit 26 Aug 2026.

Personal knowledge graph every MCP client reads from and writes to. Portable across agents.

Installs per day peak 84 · avg 12 · -43% w/w
a month agotoday
92
Installs / week
npm · @polarity-lab/cosmos-mcp
3
Stars
1 open issue
26 Aug 2026
Last commit
no releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Installs itself into autostart src/daemon/AppState.swift:36
        "\(home)/Library/LaunchAgents/com.polaritylab.cosmos-mcp.sync.plist"
Runs a command on install [пакет] package.json:1
postinstall: npm rebuild better-sqlite3 2>/dev/null || true
  spawnSync(rebuildCmd, ["rebuild", "better-sqlite3"], {
Runs an external command src/daemon/McpRunner.swift:31
        let process = Process()

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add cosmos-mcp -- npx -y @polarity-lab/cosmos-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "cosmos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@polarity-lab/cosmos-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.cosmos-mcp]
command = "npx"
args = ["-y", "@polarity-lab/cosmos-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "cosmos-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@polarity-lab/cosmos-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "cosmos-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@polarity-lab/cosmos-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: COSMOS_TOKEN (pmk_ key from https://cosmos.polarity-lab.com/connectors. Optional on macOS once the system keychain is provisioned via `npx -y @polarity-lab/cosmos-mcp provision pmk_...`).

Alternatives to Cosmos MCP

same job, measured the same way
Sovseal Memory
by bobybarack

Local-first, zero-knowledge AI memory across Claude, Cursor, and every MCP client. 0 RTT reads.

39 installs/wk local only
WitWiki
by witwiki

A shared team wiki your coding agents read and write — across every repo and every MCP client.

answering
Memoro
by circassian1977-byte

Personal AI memory layer on your own computer. Read/write durable memory across MCP clients.

21 installs/wk local only
Gnosem
by gnosem

Cross-vendor AI memory over MCP. One semantic store, readable and writeable from every MCP client.

6 tools answering
WorkingMemory
by workingmemory

Persistent personal memory for AI assistants — save, search, and recall across every MCP client.

4 tools answering
Forensic Deepdive
by dhevenddra

Persistent code knowledge graph + 9 composite MCP tools for AI coding agents.

86 installs/wk local only
Aiko
by masa-san-jp

A portable persona for MCP clients — the same agent in Claude Code, Codex, Cursor and VS Code

315 installs/wk local only
Graphmind
by cloudcorprecords

Persistent knowledge graph: entities, relations, and observations for agents.

261 installs/wk local only

Cosmos MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Cosmos MCP?
Cosmos MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @polarity-lab/cosmos-mcp was installed 92 times last week.
How do I connect Cosmos MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @polarity-lab/cosmos-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Cosmos MCP?
The npm package @polarity-lab/cosmos-mcp was installed 92 times in the last week. Week over week that is -43%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Cosmos MCP open source?
Yes — it is published under the MIT licence, written in TypeScript, 3 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.