Prometheux MCP Server
A Model Context Protocol (MCP) server that enables AI agents like Claude to interact with Prometheux ontologies and reasoning capabilities.
Note: This is the local version, designed for Claude Desktop and other stdio clients. For Claude Web, use the remote MCP server.
For Users
What This Does
This package lets Claude Desktop work inside your Prometheux ontologies:
- Explore an ontology — its concepts, data sources, schema, and lineage
- Run concepts to derive new facts, and preview the data behind them
- Author and validate concepts of any kind: Vadalog logic, SQL, Cypher, Python,
and the
contextandllmkinds that bring unstructured knowledge and model calls into the same lineage - Read and write Context Layer notes, manage snapshots, and build apps
- All through natural conversation with Claude
The full set of tools comes from the backend, not from this package — see Available Tools.
Prerequisites
- Prometheux account with access to a deployed instance
- Claude Desktop installed on your machine
- Your authentication token from your Prometheux account settings
Installation
Option 1: Automated Install (Recommended)
The easiest way to install - download and run our installation script:
macOS/Linux:
curl -sSL https://raw.githubusercontent.com/prometheuxresearch/px-mcp-server/main/install.sh -o install.sh
chmod +x install.sh
./install.sh
Windows (PowerShell):
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/prometheuxresearch/px-mcp-server/main/install.ps1" -OutFile "install.ps1"
.\install.ps1
The script will:
- ✅ Install
pipx(if not already installed) - ✅ Install
prometheux-mcppackage - ✅ Prompt for your credentials (URL, token, username, organization)
- ✅ Automatically configure Claude Desktop
- ✅ Create backups of existing configuration
Then just restart Claude Desktop and you're ready!
Option 2: Manual Install Using pipx
If you prefer manual installation, use pipx to install the package in an isolated environment:
macOS:
brew install pipx
pipx ensurepath
pipx install prometheux-mcp
Windows:
pip install pipx
pipx ensurepath
pipx install prometheux-mcp
Linux:
pip install pipx
pipx ensurepath
pipx install prometheux-mcp
Configuration
Note: If you used the automated installation script (Option 1), configuration was done automatically. Skip to the "Using Prometheux with Claude" section below.
For manual installations (Option 2):
-
Get your credentials from your Prometheux account settings:
- Server URL (e.g.,
https://api.prometheux.ai) - Authentication token
- Username
- Organization
- Server URL (e.g.,
-
Configure Claude Desktop by editing the config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Windows:%APPDATA%\Claude\claude_desktop_config.jsonConfiguration Example:
{ "mcpServers": { "prometheux": { "command": "/Users/YOUR_USERNAME/.local/bin/prometheux-mcp", "args": ["--url", "https://api.prometheux.ai"], "env": { "PROMETHEUX_TOKEN": "your_token_here", "PROMETHEUX_USERNAME": "your_username", "PROMETHEUX_ORGANIZATION": "your_org" } } } }
Finding Your Path: Run this in your terminal to find the full path:
- macOS/Linux:
which prometheux-mcp - Windows:
where prometheux-mcp(in PowerShell or Command Prompt)
Common paths after pipx install:
- macOS:
/Users/YOUR_USERNAME/.local/bin/prometheux-mcp - Windows:
C:\\Users\\YOUR_USERNAME\\.local\\bin\\prometheux-mcp.exe(use double backslashes in JSON) - Linux:
/home/YOUR_USERNAME/.local/bin/prometheux-mcp
Note: Username and organization are required for API routing through the gateway.
Custom URLs: For on-premise deployments or custom URLs, replace
https://api.prometheux.aiwith your own server URL. - macOS/Linux:
-
Restart Claude Desktop (quit completely with Cmd+Q, then reopen)
Usage
Once configured, just chat with Claude:
"What concepts are available in ontology customer-analytics?"
"Run the churn_prediction concept in ontology customer-analytics"
"Show me the high_value_customers from ontology sales-data with min_value of 1000"
"Write a concept that flags suppliers whose disputes are rising, and validate it before saving"
Available Tools
This server forwards requests to your Prometheux instance, which owns the tool
catalog — so tools/list is the only authoritative answer to "what tools exist",
and new tools appear without a release here. Ask Claude "what tools do you
have?" to see the current set.
Every tool carries MCP annotations (readOnlyHint / destructiveHint /
idempotentHint / openWorldHint) so clients can warn before anything writes.
They fall into four classes:
Read-only — reads existing state, no side effects: list_ontologies,
list_concepts, get_concept, list_data_sources, preview_data_source,
get_ontology_schema, list_apps, list_context_notes.
Read-only via an external or LLM service — derives an answer but persists
nothing: search_vadalog_docs, validate_concept, extract_concepts_from_document.
Write — creates or updates state: run_concept, create_concept,
create_ontology, create_ontology_snapshot, save_app, save_context_note.
Destructive — overwrites or removes state: update_concept,
save_ontology_schema, restore_snapshot, delete_concept, delete_app,
delete_context_note.
Note: Concept bodies are written to the
definitionparameter, whatever the kind — Vadalog rules, a SQL or Cypher query, a Python body, or an LLM prompt template.contextconcepts have no body and are configured throughconcept_configinstead. See Context and LLM concepts.
Troubleshooting
"command not found" or "Server disconnected" errors:
macOS:
- Find the full path:
which prometheux-mcp - Use that full path in your config (usually
/Users/YOUR_USERNAME/.local/bin/prometheux-mcp) - If still having issues, try pipx:
pipx install prometheux-mcp - Restart Claude Desktop completely (Cmd+Q, then reopen)
Windows:
- Find the full path:
where prometheux-mcp(in PowerShell or Command Prompt) - Use that full path in your config with double backslashes (e.g.,
C:\\Users\\YOUR_USERNAME\\.local\\bin\\prometheux-mcp.exe) - Restart Claude Desktop
"Connection refused" error:
Check that your Prometheux server URL is correct and reachable. The gateway routes
on your organization and username, and /mcp/info requires your token, so test
with all three:
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://api.prometheux.ai/jarvispy/YOUR_ORG/YOUR_USERNAME/mcp/info
"Authentication failed" error: Verify your token is correct in the config. Generate a new token from your Prometheux account settings if needed.
Check logs:
- macOS:
~/Library/Logs/Claude/mcp-server-prometheux.log - Windows:
%APPDATA%\Claude\logs\mcp-server-prometheux.log
Tool Reference
Spelled out below are the two tools you are most likely to reach for first. For
the rest, call tools/list — as Available Tools explains, the
backend owns the catalog, so anything written here about the others would go stale
the moment the backend adds one. Full signatures live in the
MCP documentation.
list_concepts
Lists all concepts available in an ontology.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ontology_id |
string | Yes | — | Ontology identifier |
scope |
string | No | "user" |
"user" or "organization" |
Example response:
{
"concepts": [
{
"predicate_name": "customer",
"fields": {"id": "string", "name": "string"},
"column_count": 2,
"is_input": true,
"row_count": 1000,
"type": "postgresql",
"description": "Customer records"
}
],
"count": 1
}
run_concept
Executes a concept and returns the facts it derives. Works for every concept
kind — Vadalog logic, SQL, Cypher, Python, context and llm — since the kind
determines how the concept is evaluated, not how it is called.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
ontology_id |
string | Yes | — | Ontology identifier |
concept_name |
string | Yes | — | Concept to execute |
params |
object | No | {} |
Parameters for reasoning |
scope |
string | No | "user" |
"user" or "organization" |
force_rerun |
boolean | No | true |
Re-execute even if cached |
persist_outputs |
boolean | No | true |
Save results to database |
Example response:
{
"concept_name": "high_value_customers",
"message": "Concept executed successfully",
"evaluation_results": {
"resultSet": {
"high_value_customers": [["Alice", 5000], ["Bob", 3000]]
},
"columnNames": {
"high_value_customers": ["name", "total_value"]
}
},
"predicates_populated": ["high_value_customers"],
"total_records": 2
}
For Maintainers
Releasing a New Version
Merging a version bump into main publishes to PyPI — see
.github/workflows/publish.yml. Nothing is built from a laptop, so what customers
install is always a commit that was reviewed.
# 1. Bump the version. This is the only place it lives: setup.py stamps it into
# the package metadata, and prometheux_mcp.__version__ reads it back out.
echo "0.1.13" > version.txt
# 2. Open a PR with that change and merge it. That is the whole release.
The guard job compares version.txt against the tags that already exist, so a
merge that does not bump the version is a no-op. A merge that does bump it runs the
tests, builds, publishes, attests the artifacts, tags the commit v0.1.13, and
opens a GitHub Release with the SBOM and checksums attached. A version already on
PyPI fails the upload rather than being skipped quietly.
Do not push a v* tag by hand. Nothing listens for tags: the tag is written after
a successful upload as the record of what shipped, and it is what the guard reads
to decide whether the next merge is a release.
One-time PyPI setup. The workflow authenticates with trusted publishing rather than a stored API token, so it must be registered once on PyPI: project
prometheux-mcp→ Publishing → add a GitHub publisher with ownerprometheuxresearch, repositorypx-mcp-server, workflowpublish.yml, environmentpypi.The environment name is not optional. A trusted publisher is bound to the workflow filename rather than to any branch, so without it a branch carrying a modified
publish.ymlcan mint a real publishing token. Namingpypion both sides — and restricting that environment tomainunder Settings → Environments →pypi→ deployment branch policy — is what ties a release to a reviewed commit. The environment has to exist before the workflow runs, or the publish job fails withMissing environment 'pypi'.
Pin the MCP SDK deliberately.
install_requirescapsmcpbelow 2.0, because the 2.x SDK removed the low-level decorators this server is built on. An uncapped release resolves to 2.x on a user's fresh install and fails on import — silently, since it breaks on their machine and not ours. Lift the cap only together with a port to the 2.x server API.
Users get the new version when they run the installation script or
pipx install prometheux-mcp.
Access to Prometheux Backend
A Prometheux instance is required to use this server — it holds your ontologies and answers every tool call. To request access:
- 📧 Email: davben@prometheux.co.uk, teodoro.baldazzi@prometheux.co.uk, or support@prometheux.co.uk
- 🌐 Website: https://www.prometheux.ai
License
BSD 3-Clause License — see LICENSE file for details.
About Prometheux
Prometheux is an ontology native data engine that processes data anywhere it lives. Define ontologies once and unlock knowledge that spans databases, warehouses, and platforms—built on the Vadalog reasoning engine.
Key capabilities:
- Connect: Query across Snowflake, Databricks, Neo4j, SQL, CSV, and more without ETL or vendor lock-in
- Think: Replace 100+ lines of PySpark/SQL with simple declarative logic. Power graph analytics without GraphDBs
- Explain: Full lineage & traceability with deterministic, repeatable results. Ground AI in structured, explainable context
Exponentially faster and simpler than traditional approaches. Learn more at prometheux.ai.
Support
For issues, questions, or access requests:
- Homepage: https://www.prometheux.ai
- PyPI: https://pypi.org/project/prometheux-mcp/
- Email: davben@prometheux.co.uk, teodoro.baldazzi@prometheux.co.uk, or support@prometheux.co.uk
- Documentation: https://docs.prometheux.ai/integrations/mcp/local
- Issues: GitHub Issues
Related Projects
- Prometheux Chain — Python SDK for Prometheux
- Vadalog Extension — JupyterLab extension for Vadalog
- Vadalog Jupyter Kernel — Jupyter kernel for Vadalog
Metadata
Release files for prometheux-mcp 0.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| prometheux_mcp-0.1.13.tar.gz | 22.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prometheux_mcp-0.1.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.3 kB
Release files / prometheux_mcp-0.1.13.tar.gz
| Download URL | prometheux_mcp-0.1.13.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcaf6b655c174b34c078c71b80012447fce540c49c52badb7364d0c5af99565f
|
|
BLAKE2b-256 checksum How to use checksums |
b88cded100d3de638b3b1847a9f2b6bc82e16ac79d483ac2b02859337d8459b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency logRelease files / prometheux_mcp-0.1.13-py3-none-any.whl
| Download URL | prometheux_mcp-0.1.13-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b37722e8f9bb7018f44a538d40ae6c0b64bd8faaf9cdd741441a92dc88db3d6b
|
|
BLAKE2b-256 checksum How to use checksums |
b2c9e57a277613bb7664f01c06461364fb5d2d29869acd1eef1c9126ac51668e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.
Transparency log