Skip to content

Integration · Developer tools

Connect Claude & ChatGPT to Rulebricks

Ask your AI to run a decision rule or flow in Rulebricks and explain the result. It can solve one rule, run a rule on many inputs at once, run flows, and work with context instances such as a customer or case. It can also search decision logs of past runs and read or update the vocabulary values your rules use.

Connect Rulebricks free

Free plan, no credit card. Takes about a minute.

Try asking

  • “Run the loan eligibility rule for this applicant: age 34, income 52,000.”

    The AI solves the rule with those inputs on the version you name and returns the rule's output.

  • “Score these 200 leads with the lead scoring rule.”

    It runs the rule on all items in one bulk request and returns one result per lead.

  • “Why was order 8812 flagged yesterday?”

    It searches the decision logs by date and search text and reads the matching run.

What your AI can do

Rules and flows

Solve a rule, run a flow, run one rule on many inputs in bulk, or run several rules and flows in parallel.

Contexts

Read and update context instances, see their change history and pending evaluations, and run bound rules and flows.

Values, objects and logs

Search and create vocabulary values, read workspace objects, and search decision logs of past runs.

  • “Show me the history of the risk_level field on case 311.”

    It reads the change history of that context instance for the one field.

  • “Update the credit limit on customer C-204 to 10,000.”

    It updates the field on the context instance. Bound rules and flows may re-evaluate as a result.

  • “What is the current value of max_discount_rate?”

    It searches the vocabulary values by name and returns the value.

16 tools for Rulebricks

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • bulk_solve_ruleVisible to othersRun one rule on many inputs at once. Pass the rule slug, version and items (a list of input objects); returns one result per item.
  • create_valuesChanges dataCreate or update vocabulary values. Pass values as an object of name to value; search first to avoid duplicates.
  • get_contextGet one context instance (a live record such as a customer or case) by context slug and instance ID.
  • get_context_historyGet the change history of a context instance, optionally for one field.
  • get_context_pendingList the rule and flow evaluations still pending for a context instance.
  • get_objectGet one workspace object by object_id, including its fields.
  • list_objectsList the objects (data schemas) defined in the workspace.
  • parallel_solveChanges dataRun several different rules or flows in one request. Pass body with the requests to run in parallel.
  • run_context_flowChanges dataRun a flow bound to a context instance, by context slug, instance ID and flow slug, optionally with extra input in body.
  • run_flowChanges dataExecute a Rulebricks flow on input data. Pass the flow slug, version (a number, an environment like production, or latest) and body with the input fields.
  • search_decision_logsSearch the decision logs of past rule and flow runs, filtered by rules, flows, contexts, statuses, date range or search text.
  • search_valuesSearch vocabulary values (shared constants and lists used by rules) by name, prefix, type or user group.
  • solve_context_ruleChanges dataRun a rule bound to a context instance, by context slug, instance ID and rule slug, optionally with extra input in body.
  • solve_ruleChanges dataRun a Rulebricks decision rule on input data. Pass the rule slug, version (a number, an environment like production, or latest) and body with the input fields; returns the rule's output.
  • update_contextVisible to othersUpdate fields on a context instance by context slug and instance ID; bound rules and flows may re-evaluate as a result.
  • update_value_metadataVisible to othersReplace the custom metadata of one vocabulary value by id. The metadata you send replaces all existing custom fields.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose Rulebricks from the app list.

  2. 2

    Paste your key

    Paste a Rulebricks API key. In the Rulebricks dashboard, open your API keys under Data & Settings and copy a key. The key's role decides which rules and values the AI can use.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in Rulebricks?

It can solve rules, run flows, run rules in bulk or several requests in parallel, and run rules and flows bound to a context instance. It can read and update context instances, read their history and pending evaluations, list and read objects, search decision logs, and search, create and update vocabulary values.

Does the AI see my Rulebricks API key?

No. Your Rulebricks API key is encrypted at rest and never shown to the AI. After you save it, it is not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, so you can start with reading logs and values. Updating a context can trigger bound rules and flows, and bulk solves and metadata changes affect many records at once, so those tools can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own Rulebricks account.

Which rules can the AI use?

That depends on the API key you paste. In Rulebricks, the key's role decides which rules and values it can reach. Use a key with a narrow role if you only want the AI to run certain rules.

Let your AI work in Rulebricks today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect Rulebricks free

PipMCP is not affiliated with Rulebricks. Product names are trademarks of their owners.