Cosmos Semantic
io.github.WiliamRosa/cosmos-semantic
v0.5.0Updated Nov 25, 2026stdio · PyPI
Governed metrics, business rules and a glossary for AI agents, with evidence on every answer.
Install
Needs 1 secret. Replace 3 placeholders with your own values.
Run in your terminal. Replace 3 placeholders.
claude mcp add cosmos-semantic -e 'COSMOS_API_KEY=<your-cosmos-api-key>' -- uvx cosmos-semantic==0.5.0 mcp --model '<your-semantic-dir>' --connections '<your-connections-yml>'The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
COSMOS_API_KEYEnv var· required· secretThe caller's key; its user context feeds the model's row filters--modelArgument· requiredDirectory with the semantic model (YAML)--connectionsArgument· requiredconnections.yml with the data sourcesCOSMOS_DEV_API_KEYSEnv var· optionalYAML file with development keys (local use); production uses an OIDC provider--withArgument· optionalThe MCP server and a data source driver; use postgres, databricks, snowflake, bigquery, oracle, mysql or sqlserver for yours
Links
Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.