CLI · SDKs · MCP
Script, embed and automate SemanticFed from the terminal or your code.
Everything developers need to build on the SemanticFed platform — the CLI for control-plane workflows, typed SDKs for Node & Python, a REST/GraphQL API, and a Model Context Protocol server so AI assistants can query the semantic layer safely.
CLI
Requires Bun ≥ 1.3`semanticfed` — drive the control plane from your terminal.
A platform CLI that talks to the public GraphQL gateways with dual-token auth. Run `semanticfed auth login`, then drive connectors, semantic models, policies and lineage across your team with a full subcommand suite.
Node SDK
Requires Node.js ≥ 24.11 or Bun ≥ 1.3Official TypeScript SDK for programmatic access.
A typed, promise-based SDK for any Node or Bun project. Drive connectors, data sources, semantic models, governed queries and access policies from your own code with full TypeScript inference.
npm install @semanticfed/sdk graphql graphql-requestPython SDK
Requires Python ≥ 3.10Async Python SDK built on httpx.
A fully async Python SDK with a dual-endpoint GraphQL client, multiple auth flows, automatic token refresh and retry-with-backoff. Ideal for data pipelines, notebooks and automation.
pip install semanticfed-sdkMCP Server
Wire the semantic layer into any MCP client.
A Model Context Protocol server exposing safe SemanticFed tools, resources and prompts — query the catalog, look up semantic models, and traverse lineage — to any MCP-compatible AI client.
npx -y @semanticfed/mcp{
"mcpServers": {
"semanticfed": {
"command": "npx",
"args": ["-y", "@semanticfed/mcp"]
}
}
}