Skip to main content

Prometheux MCP Server

PyPI version Python 3.10+ License: BSD-3-Clause

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 context and llm kinds 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-mcp package
  • ✅ 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):

  1. Get your credentials from your Prometheux account settings:

    • Server URL (e.g., https://api.prometheux.ai)
    • Authentication token
    • Username
    • Organization
  2. Configure Claude Desktop by editing the config file:

    macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    Windows: %APPDATA%\Claude\claude_desktop_config.json

    Configuration 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.ai with your own server URL.

  3. 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 definition parameter, whatever the kind — Vadalog rules, a SQL or Cypher query, a Python body, or an LLM prompt template. context concepts have no body and are configured through concept_config instead. See Context and LLM concepts.

Troubleshooting

"command not found" or "Server disconnected" errors:

macOS:

  1. Find the full path: which prometheux-mcp
  2. Use that full path in your config (usually /Users/YOUR_USERNAME/.local/bin/prometheux-mcp)
  3. If still having issues, try pipx: pipx install prometheux-mcp
  4. Restart Claude Desktop completely (Cmd+Q, then reopen)

Windows:

  1. Find the full path: where prometheux-mcp (in PowerShell or Command Prompt)
  2. Use that full path in your config with double backslashes (e.g., C:\\Users\\YOUR_USERNAME\\.local\\bin\\prometheux-mcp.exe)
  3. 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 owner prometheuxresearch, repository px-mcp-server, workflow publish.yml, environment pypi.

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.yml can mint a real publishing token. Naming pypi on both sides — and restricting that environment to main under 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 with Missing environment 'pypi'.

Pin the MCP SDK deliberately. install_requires caps mcp below 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:

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:

Related Projects

Metadata

Release files for prometheux-mcp 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prometheux-mcp 0.1.12
File Size Uploaded
prometheux_mcp-0.1.12.tar.gz 21.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prometheux-mcp 0.1.12
File Interpreter ABI Platform
prometheux_mcp-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 36.5 kB

Release files / prometheux_mcp-0.1.12.tar.gz

Download URL prometheux_mcp-0.1.12.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c9277aad8915642ae738645821a67474085aa70e0dd5ac6bbee078f88b76d0b9
BLAKE2b-256 checksum
How to use checksums
7ec8925617b4734844a5d7d82b5beb634a2b75a10efd88036771e31db6b577c2
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 Aug 18, 2026.

Transparency log

Release files / prometheux_mcp-0.1.12-py3-none-any.whl

Download URL prometheux_mcp-0.1.12-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16786d7b5fca21803da739d93fe68261c7069d448720f2b67885e3b0f87ba598
BLAKE2b-256 checksum
How to use checksums
2d867e02e9d0c06987a41215ee19a6445e8142bcfeda5e39cbc98b77b73349e8
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 Aug 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page