Skip to content

Agents & MCP

Your agents, plugged into the lab.

Claude Code, Cursor or Claude Desktop get 13 engine tools over MCP, and can hand the Lab Assistant a whole investigation.

Your agentDose response, compound 7

openhagen-lab connected· 11 tools

  1. You

    The researcher asks: Fit a dose response to compound 7 and tell me the one concentration to run next. It precipitates above 20 µM. Our working stock is 2 mM and wells are 200 µL.

  2. Your agentWorked for 60 ms · 2 tool calls

    • openhagen-lab · fit_curvecsv: "Inhibitor (µM),Activity (%)\n0.001,99.7\n…" (8 rows)53 ms

      Sent

      • csv: "Inhibitor (µM),Activity (%)\n0.001,99.7\n…" (8 rows)
      • family: "dose_response"
      • x_bounds: [0.001,20]

      The engine's JSON

      {
        "preferred": "logistic_3p",
        "discrimination": {
          "status": "ambiguous",
          "weights": { "logistic_4p": 0.03895293741515734, "logistic_3p": 0.9610470625848426 },
          …
        },
        "next_measurement": {
          "x": 20,
          "purpose": "discriminate",
          "predictions": {
            "logistic_3p": { "y": 6.065691893741257, … },
            "logistic_4p": { "y": 21.227972734642815, … }
          },
          …
        },
        …
      }
    • openhagen-lab · calculateoperation: "dilution"7 ms

      Sent

      • operation: "dilution"
      • inputs: {"c1":{"value":2,"unit":"mM"},"c2":{"value":20,"unit":"µM"},"v2":{"value":200,"unit":"µL"}}
      • solve_for: "v1"

      The engine's JSON

      {
        "results": [
          { "name": "v1", "value": 2, "unit": "µL", "dimension": "volume" },
          { "name": "dilution_factor", "value": 100, "unit": "", "dimension": "dimensionless" },
          { "name": "diluent_volume", "value": 198, "unit": "µL", "dimension": "volume" }
        ],
        "formula": "c1 · v1 = c2 · v2, so v1 = c2 · v2 / c1",
        …
      }
  3. Answer, from the engine's results

    The data can't settle the model yet. AICc prefers complete inhibition (3PL, IC50 0.61 µM); the F test supports a floor (4PL, IC50 0.33 µM).

    Run one well at 20 µM, the highest your solubility allows. The models predict 6.07% and 21.2% activity there, so one reading picks the model.

    From the 2 mM stock: 2 µL into 198 µL of buffer.

One question. Two tool calls. Every number computed.

  • Every call inspectable. The inputs and the engine's JSON, verbatim.

  • Computed, never generated. Fit, design and dilution, from the engine.

  • Ready for the bench. One concentration to run, one volume to pipette.

01 Lab Assistant

Hand it the whole investigation.

Your agent sets the goal. The Lab Assistant runs it and reports back.

  1. Your agent sets a goal.

    A research question, from the tools your team already uses.

  2. The Lab Assistant runs it.

    Plans, experiments and decisions, on your lab's memory in One Lab Brain.

  3. The results come back.

    The decision, every number computed and the next run planned.

02 Engine tools

Thirteen engine tools. One verified engine.

Read only, with estimates, intervals and checks in every answer. Synergy design and scoring included. Two task tools start a run and deliver its results.

  • Fit and analyse5

    • fit_curveIn the session

      Fits and compares curve models, and designs the next measurement

    • run_analysis

      Any of the engine's 95 analyses, with checks and intervals

    • recommend_test

      The right test for your design

    • design_checks

      The experimental unit, error bars and mixed units

    • power_sample_size

      Sample size, effect or power across twelve designs

  • Tables and bench math3

    • calculateIn the session

      Dilutions, molar masses, stoichiometry and units

    • parse_table

      Columns, units and the likely x and y

    • describe_table

      Descriptive statistics for every column

  • Reference3

    • describe_analysis

      An analysis's input schema and a working payload

    • list_analyses

      Every analysis and curve model

    • list_units

      Units, constants and reference data

  • Synergy2

    • synergy_design

      Designs a combination matrix

    • synergy_analysis

      Scores combinations with Bliss, Loewe, HSA and ZIP

03 Setup

Connected in three steps.

  1. 1Make a token.

    Under Agents & MCP in your account. It is shown once.

  2. 2Add the server.

    One command in Claude Code. Cursor takes the same address, Claude Desktop uses mcp-remote. Agents already set up with lab.openhagen.ai/mcp keep working.

    claude mcp add --transport http openhagen-lab https://openhagen.ai/mcp --header "Authorization: Bearer ohpat_…"
  3. 3Ask.

    Hand your agent a table and a question.

    Fit a dose response to this table and tell me what to measure next.

04 Security

Tokens you control.

Tokens are stored only as a hash. Tools read no files, paths or links.

  • Scoped

    Computes only on the data your agent sends.

  • Revocable

    Revoked in seconds. Every token expires after 7 to 365 days.

  • Rate limited

    Limits per account, so one busy agent never slows your lab.

  • Nothing invented

    Every result is the engine's own JSON.

Put the whole lab behind your agent.

Make a token. Add one line. Hand it a question.