Skip to content
MCP server

Coalent

Fresh, attributed facts from your sources — cached, and invalidated the moment a source…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.7.0
Listing updated
5 days ago

About Coalent

Coalent is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Fresh, attributed facts from your sources — cached, and invalidated the moment a source changes.

Install

Run in a terminal

claude mcp add coalent --env OPENAI_API_KEY='<OPENAI_API_KEY>' --env COALENT_MCP_TOKEN='<COALENT_MCP_TOKEN>' -- uvx coalent

Add to claude_desktop_config.json

{
  "mcpServers": {
    "coalent": {
      "command": "uvx",
      "args": [
        "coalent"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "COALENT_MCP_TOKEN": "<COALENT_MCP_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "coalent": {
      "command": "uvx",
      "args": [
        "coalent"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "COALENT_MCP_TOKEN": "<COALENT_MCP_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "coalent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "coalent"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "COALENT_MCP_TOKEN": "<COALENT_MCP_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "coalent": {
      "command": "uvx",
      "args": [
        "coalent"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "COALENT_MCP_TOKEN": "<COALENT_MCP_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "coalent": {
      "command": "uvx",
      "args": [
        "coalent"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "COALENT_MCP_TOKEN": "<COALENT_MCP_TOKEN>"
      }
    }
  }
}

Configuration

  • OPENAI_API_KEYRequired in folder (--watch) mode for semantic embeddings (text-embedding-3-small) and build synthesis (gpt-4o-mini); the server exits loudly without it rather than degrade. Factory (--cache-factory) mode brings its own models and needs no key.Required
  • COALENT_MCP_TOKENOptional shared secret for --transport http: when set, every HTTP request must carry Authorization: Bearer <token>. Unused over stdio.

Pricing

Open source

Prices change. Check coalent.ai before you buy.

Coalent FAQ

Is Coalent free?

Yes. Coalent is open source, so you can use and self-host it for free.

How do I add Coalent to Claude Code?

Run this command in your terminal: claude mcp add coalent --env OPENAI_API_KEY='<OPENAI_API_KEY>' --env COALENT_MCP_TOKEN='<COALENT_MCP_TOKEN>' -- uvx coalent