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. 129 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 78 · avg 16 · +52% w/w
a month agotoday
129
Installs / week
npm · @polarity-lab/cosmos-mcp
3
Stars
1 open issues
26 Aug 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 21 h ago · rules 3dff92dd89df

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": {
      "args": [
        "-y",
        "@polarity-lab/cosmos-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.cosmos-mcp]
command = "npx"
args = ["-y", "@polarity-lab/cosmos-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "cosmos-mcp": {
      "args": [
        "-y",
        "@polarity-lab/cosmos-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "cosmos-mcp": {
      "args": [
        "-y",
        "@polarity-lab/cosmos-mcp"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: 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_...`.). The author declared them in the registry entry; get the values from the project itself.

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.

42 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.

62 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
Acorn Reply
by acornreply

Read and edit your Acorn Reply knowledge base from any MCP client.

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.

147 installs/wk local only
Mnema — AI Memory Layer
by hoanglt1223

Personal knowledge graph as an AI memory layer over MCP - read, save, and link your memories.

answering

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 129 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 with the file path 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 129 times in the last week. Week over week that is +52%. 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.