Skip to content
MCP server

trustgraph-mcp MCP Server

TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.

trustgraph-mcp scores 52 (Fair), licensed Apache-2.0 and written in Python. It installs as a local process. It does not declare tools yet. Filed under AI and memory. GitHub shows 3,360 stars. Package registries report about 1,208 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by trustgraph-aiApache-2.0Python3.4K stars
Trust score
52Fair
Trust score 52 of 100, Fair

Fair trust

52 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 52 comes from

0 + 20 + 11 + 10 + 4 + 7 = 52. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity11 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 11 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "trustgraph-ai-trustgraph": {      "command": "uvx",      "args": [        "trustgraph-mcp"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Docker Pulls PyPI version License E2E Tests Discord

Playground | Self-Host | Docs | YouTube | Discord | Website

The open-source ontology runtime for AI agents

Your ontology. Your agents. Your rules.


Every platform now sells you an ontology. TrustGraph is the one you own.

For enterprises deploying AI agents where decisions carry real risk, TrustGraph is the open-source ontology runtime that turns your documents and data into ontology-grounded knowledge, and governs what every agent and user can see from it.

Unlike other platform ontologies, TrustGraph is built on W3C standards (RDF, OWL, SHACL, PROV-O) for total ownership and portability of your knowledge and business logic. Your ontology, your knowledge, and your audit trail stay yours, portable across any cloud, model or deployment.

How it works

            Your ontology                       Your documents & data
                 │                                       │
                 └──────────────────┬────────────────────┘
                                    ▼
                         ┌──────────────────────┐
              1. EXTRACT │     OntologyRAG      │  Triples match classes and properties,
                         │                      │  checked against constraints
                         └──────────┬───────────┘
                                    ▼
                         ┌──────────────────────┐
              2. GROUND  │    Context Graph     │  RDF knowledge in named graphs,
                         │                      │  with PROV-O lineage to every source
                         └──────────┬───────────┘
                                    ▼
                         ┌──────────────────────┐
              3. GOVERN  │  SHACL-AF Policies   │  Every query evaluated per node:
                         │                      │  Allowed · Filtered · Violation
                         └──────────┬───────────┘
                                    ▼
                     GraphRAG · SPARQL · Agents · MCP
           + a queryable trace of how each answer was produced

Additional Technical Diagrams

What makes it different

TrustGraphPlatform ontologies
Data modelW3C RDF, OWL, JSON-LDVendor object model
Where it runsDocker, Podman, Kubernetes, any cloud, on-prem or self-hosted modelsInside one vendor's data estate
Knowledge sourceDocuments (PDF, DOCX, XLSX, PPTX, HTML, Markdown, CSV), images, and structured dataMostly warehouse tables and metadata
Access controlSHACL-AF policies evaluated on every queryPlatform permissions
Audit trailPROV-O in queryable named graphsPlatform logs
ModelsAll major LLM APIs, hosted or self-hosted open weight modelsPlatform's choice
LicenseApache 2.0Commercial

Core capabilities

1. Own it: open standards, portable knowledge

  • Knowledge is stored as RDF, including language tags, XSD datatypes and RDF-star quoted triples.
  • Load knowledge as Turtle or TriG (named graphs preserved); export the graph as Turtle.
  • Package knowledge into Context Cores that carry triples, embeddings, provenance and source documents between deployments.
  • Move whole workspaces between deployments with portable .tgx bundles (tg-export-workspace / tg-import-workspace).

2. Use it: ontology to knowledge

  • OntologyRAG uses your ontology to guide extraction. A similarity-based selector picks the relevant part of the ontology for each chunk, with a bypass mode for small ontologies.
  • Extracted triples are validated against ontology domain and range constraints, including the subclass hierarchy. Triples that break the rules are rejected.
  • rdf:type attributes are stored with graph embeddings, so you can filter vector searches by entity type.
  • Schema-free GraphRAG and hybrid (BM25 + vector) DocumentRAG are also available, both with cross-encoder reranking.

3. Govern it: policy-based query filtering (new in 2.10)

  • Write access policies as SHACL-AF shapes, stored in the urn:graph:policy named graph.
  • Every graph query is evaluated node by node with a tri-state result: Allowed, Filtered or Violation.
  • Policies apply across the REST API, SPARQL and GraphRAG, using a per-request user context.
  • Each evaluation publishes a structured policy.evaluation audit event.
  • With no policies loaded, the system runs in open mode.

4. Steer it: guided graph traversal (new in 2.10)

  • Supply grounding seeds or graph seeds to skip LLM concept extraction.
  • Restrict each hop by type, relationship or named graph, and filter edges by language tag.

5. Prove it: explainability

  • Extraction emits PROV-O lineage from document to page, chunk and edge (urn:graph:source).
  • GraphRAG, DocumentRAG and agent queries record full reasoning traces (urn:graph:retrieval).
  • Inspect them with tg-show-explain-trace and tg-show-extraction-provenance, or query them with SPARQL.

6. Decide fast (new in 2.10)

  • Decision Scoring (Laya, ONNX Runtime, ~35 ms per call): pick an option, score on an ordered scale, or get a yes/no confidence.
  • Cloze Classification: auto-train a DistilBERT classifier from labeled examples and serve it with confidence scores.

Agents and APIs

  • Agent orchestrator with ReAct, Plan-then-Execute and Supervisor patterns.
  • MCP server with tools for graph queries, SPARQL, GraphQL over structured data and embeddings, with bearer-token authentication.
  • SPARQL 1.1 query service with 30+ built-in functions and streaming results.
  • REST, WebSocket, Python SDK, TypeScript libraries and a full tg-* CLI.

Quickstart

No need to clone the repo unless you are building from source. TrustGraph deploys as a set of Docker containers. Configure it on the command line in one step:

npx @trustgraph/config

The config process will generate an app config that can be run locally with Docker, Podman, or Minikube. The process will output:

  • deploy.zip with either a docker-compose.yaml file for a Docker/Podman or resources.yaml for Kubernetes
  • Deployment instructions as INSTALLATION.md

For a browser based configuration, try the Configuration Terminal.

Standards support

StandardUse in TrustGraph
RDF (incl. RDF-star)Graph data model, with language tags and datatypes
OWL / RDFSOntology classes and properties; domain, range and subclass checks during extraction
SHACL-AFPolicy-based query filtering
PROV-OExtraction lineage and query-time reasoning traces
SPARQL 1.1Querying knowledge, provenance and policies
Turtle / TriG / N-QuadsImport and export
MCPAgent integration

Note on scope: TrustGraph uses OWL ontologies to guide extraction and to check domain, range and subclass constraints. It is not a full OWL reasoner. See the Ontologies docs for details.

Integrations

  • LLMs: All major LLM APIs, including OpenAI and compatible providers, Claude, Gemini (GCP and AI Studio), Near AI, AWS Bedrock, Azure, Mistral, Cohere, Ollama, vLLM, LM Studio, TGI and llama.cpp
  • Messaging: Apache Pulsar or RabbitMQ (Kafka experimental)
  • Storage: Cassandra (graph), Qdrant (vectors), S3-compatible object storage
  • Documents: Docling decoder for PDF, DOCX, XLSX, PPTX, HTML, Markdown and CSV
  • Deployment: Docker / Podman Compose, Minikube, Azure AKS, GCP, AWS, Scaleway, OVHcloud; amd64 and arm64 images; Nvidia, AMD, and Intel GPU support
  • Security: IAM with JWT and API keys, workspace multi-tenancy, fine-grained capabilities

Getting Started with TrustGraph

TypeScript Library for UIs

There are TS libraries for quick UI integration of TrustGraph services.

PackageDescription
@trustgraph/trustkitShared component library and design system
@trustgraph/clientTypeScript client for TrustGraph APIs
@trustgraph/react-providerReact provider for TrustGraph WebSocket connections
@trustgraph/react-stateReact state management hooks
@trustgraph/portalPortal application showcasing all workflows

Contributing

Developer's Guide

License

TrustGraph is licensed under Apache 2.0.

Copyright 2024-2026 TrustGraph

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Support & Community

  • Bug Reports & Feature Requests: Discord
  • Discussions & Questions: Discord
  • Documentation: Docs

Frequently asked questions

What is trustgraph-mcp MCP Server?

TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.

How do I install trustgraph-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. trustgraph-mcp MCP Server runs locally from the PyPI package trustgraph-mcp with the command uvx trustgraph-mcp.

Is trustgraph-mcp MCP Server free and open source?

Yes. trustgraph-mcp MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does trustgraph-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for trustgraph-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is trustgraph-mcp MCP Server's trust score calculated?

trustgraph-mcp MCP Server scores 52 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server