Ecosystem & Integration Patterns
SemanticFed is built as an open integration hub around a governed semantic layer. Rather than copying data into another warehouse or forcing every consumer to re-implement business definitions and access rules, external tools connect through four standardized surfaces — all backed by the same workspace RBAC, row/column/entity access policies, and audit log.
Integration architecture
BI & SQL Tools Data Pipelines & Apps AI Agents & Copilots
(Metabase, Power BI, (Node.js / Python SDKs, (Claude, Cursor,
Tableau, psql, JDBC) Airflow, CI/CD, Grafana) GitHub Copilot)
| | |
PostgreSQL Wire GraphQL + HTTP SQL MCP
sql.semanticfed.com:5432 /workspaces/graphql @burdenoff/semanticfed-mcp
\ | /
+----------------------------+---------------------------+
|
Burdenoff Workspace Gateway (@rbac)
|
SemanticFed Engine (Pushdown + SemAccessPolicy)
|
Connected Data Sources (PostgreSQL, REST APIs, ...)
Every caller — human analyst, scheduled pipeline, or autonomous AI assistant — presents an authenticated identity and receives only the entities, rows, and unmasked columns that workspace policies allow.
Choosing the right integration pattern
| Pattern | Best surface | When to use it |
|---|---|---|
| Live BI & SQL exploration | PostgreSQL Wire Protocol (sql.semanticfed.com:5432) | Metabase, Power BI, Tableau, DBeaver, psql, and any JDBC/ODBC client that speaks PostgreSQL. Viewer credentials carry viewer-level access policies. |
| HTTP dashboards & notebooks | HTTP SQL Endpoint (semExecuteSql / semSqlCatalog) | Power Query (Excel/Power BI), Grafana Infinity, Python notebooks, or environments where outbound port 5432 is blocked. |
| Semantic-model-as-code & CI/CD | Node SDK or Python SDK | Version-controlling connectors, semantic models, entities, dimensions, metrics, relationships, and saved queries in Git and applying them from CI. |
| Scheduled BI / reverse-ETL bridge | SDK sql() + CSV/Parquet/table export | Landing governed aggregations into downstream reporting stores when a tool cannot connect live. Use a dedicated low-privilege automation identity. |
| Governed AI agents & copilots | MCP Server (@burdenoff/semanticfed-mcp --read-only) | Giving Claude Desktop, Claude Code, Cursor, or custom MCP hosts typed tools over semantic models, metrics, and governed SQL without exposing raw database credentials. |
Core integration patterns
1. Semantic model as code (CI/CD)
Manage your semantic model definitions in source control and reconcile them with the workspace through @burdenoff/semanticfed-sdk or semanticfed-sdk:
- Register connectors and data sources using vault-backed credential references (never inline secrets in model configs).
- Create or update entities, dimensions, metrics, and join relationships.
- Validate schemas and publish the semantic model (
models.publish()). - Run smoke queries (
sql()orqueries.run()) and verify expected row counts and policy masking before promoting downstream dashboards.
2. Governed SQL bridge for BI and notebooks
When a downstream tool consumes flat files or a local analytics store (for example, Parquet for Tableau or DuckDB for local notebooks), run a scheduled SDK script that:
- Introspects
sqlCatalog()to confirm expected tables and columns exist. - Inspects
accessPolicies.list()or verifiescolumns[].maskedmetadata on the result. - Executes a bounded read-only
SELECT(maxRows,timeoutMs) and fails loudly iftruncatedistrueso partial datasets are never silently published. - Serializes the governed rows to CSV, JSON, or Parquet for the downstream tool.
See Examples & API Showcases for runnable Node.js and Python implementations of this pattern.
3. Least-privilege AI agent integration (MCP)
When connecting AI assistants to enterprise metrics:
- Launch
@burdenoff/semanticfed-mcpwith--read-only(orSEMANTICFED_MCP_READ_ONLY=true) for analyst agents so they can inspect models, readsemanticfed://resources, and run governed SQL/saved queries without creating or modifying workspace objects. - Keep access-policy WRITE tools disabled (the default) so external agents cannot weaken
DENYpolicies. - Rely on the built-in
confirm: truegate for destructive operations in authoring sessions. - Treat returned query rows as untrusted third-party data rather than agent instructions.
SemanticFed vs. RDF / OWL / SPARQL tooling
SemanticFed's semantic layer models business entities, dimensions, metrics, and relational joins over live operational and analytical data sources, exposed through SQL, GraphQL, SDKs, and MCP.
It is not an RDF triple store, OWL reasoner, or SPARQL endpoint. Teams migrating from or interoperating with semantic-web knowledge graphs should bridge at the data-source or API boundary (for example, exposing relational or REST projections to SemanticFed, or consuming SemanticFed's governed JSON/CSV/SQL outputs in downstream graph pipelines) rather than expecting native RDF/OWL/SPARQL execution.
Partner program for ecosystem builders
SemanticFed supports technology partners, BI vendors, AI agent builders, and analytics consultancies through a structured technical progression:
- Registered Ecosystem Builder (self-serve): Build against the public GraphQL API, SQL endpoint, Node/Python SDKs, or MCP server using standard workspace authentication and the runnable examples.
- Verified Integration Partner (technical review): Earn a supported integration listing by demonstrating:
- Versioned compatibility tests against the documented GraphQL/SQL/MCP contracts.
- Strict credential isolation (tokens and source secrets remain under customer control).
- Full governance compliance (
@rbac, row/column masking, read-only SQL bounds, and quota handling). - Named maintenance and incident escalation ownership.
- Strategic Technology & Implementation Partner: Joint reference architectures and commercial agreements are handled separately with the SemanticFed partnerships team.
To propose an integration or request partner technical review, contact [email protected].
Next steps
- Examples & API Showcases — runnable Node.js, Python, and MCP reference apps
- SQL Endpoint — HTTP SQL and PostgreSQL wire protocol recipes
- MCP Server — AI assistant setup and governance controls
- Agents & Integration Surfaces — autonomous workspace loops and kill switches