thezakuloGet the newsletter
← All setup guides

Setup guide · 7 steps · about 20 minutes

How to start using Longado/ontopoc

OntoPoc is an ontology tool for MCP/Claude that drafts object types, relations, and definitions from business tables or a database, checks them against the data, and has a named person confirm each one so that Q&A and agents use only confirmed definitions.

Built from the official docs: raw.githubusercontent.com · checked 18 November 2026

Manual install on macOS (OpenRouter key)

  1. Check prerequisites

    You need Python 3.11+ and Node 22+. To upload PDFs you also need pdftotext (poppler) installed locally.

    python3 --version
    node --version
  2. Clone and install the backend

    Clone the repository and install it in editable mode. The [sources] extra installs the PostgreSQL/MySQL drivers. If your system Python refuses the install, create a virtual environment first.

    git clone https://github.com/Longado/ontopoc.git && cd ontopoc
    python3 -m venv .venv && . .venv/bin/activate
    python3 -m pip install -e '.[sources]'
  3. Install the frontend

    Install the landing-page dependencies with a clean install.

    (cd landing-page && npm ci)
  4. Create the admin account

    On the machine running the service, create the first admin. You enter the account name and a password of at least 12 characters.

    PYTHONPATH=src python3 -m ontology_poc_generator.accounts create-admin
  5. Set the model key and start the service (terminal 1)

    Set your OpenRouter key as an environment variable, then start the backend service. With only OPENROUTER_API_KEY set, it defaults to the model deepseek/deepseek-v4.1-flash.

    export OPENROUTER_API_KEY=<your-key>
    PYTHONPATH=src python3 -m ontology_poc_generator.ontology_server --origin http://127.0.0.1:5178
  6. Start the page (terminal 2)

    In a second terminal, start the frontend bound to localhost on port 5178.

    cd landing-page && npm run dev -- --host 127.0.0.1 --port 5178 --strictPort
  7. Open and log in

    Open the team application in a browser and log in with the admin account you created.

    http://127.0.0.1:5178/

Check it worked

After logging in at http://127.0.0.1:5178/, upload examples/company/demo_company.xlsx and confirm the tables appear on the dataset page. Uploaded files and all results are saved locally under output/ontology-runs/.

Try these first

Get every issue by email

One email a week with the written issue. Free, one-click unsubscribe

Subscribe