Skip to content
Grok

Cosmos Semantic for Grok

io.github.wiliamrosa/cosmos-semantic

Governed metrics, business rules and a glossary for AI agents, with evidence on every answer.

client:Grok transport:stdio runtime:pypi

Install Cosmos Semantic in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "cosmos-semantic": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cosmos-semantic"
      ],
      "env": {
        "COSMOS_API_KEY": "<COSMOS_API_KEY>",
        "COSMOS_DEV_API_KEYS": "<COSMOS_DEV_API_KEYS>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Cosmos Semantic in other clients