Symbolic math for your code and your agents
Use the command line, add the MCP server to your AI agent, or send queries over HTTP. Answers say how they were checked and include the steps when the engine finds them.
API keys spend prepaid credits. CLI and MCP sign-ins spend your plan's credits. See the limits.
Command line
Install the CLI, sign in with your browser, then run a query.
- Sign in
- Your browser, with
hilberon login. - Paid with
- Your plan's credits, on Lite, Plus, or Pro. A Free account can sign in but cannot run queries.
Archives, checksums and signatures of every release are on the download page.
macOS / Linux
curl -fsSL https://hilberon.com/install.sh | shWindows
powershell -ExecutionPolicy ByPass -c "irm https://hilberon.com/install.ps1 | iex"hilberon login
hilberon "integrate(x*exp(x), x)" --stepsMCP server
Add this address to your MCP client, then sign in with your browser. It uses Streamable HTTP.
- Sign in
- Your browser, through OAuth.
- Paid with
- Your plan's credits, on Lite, Plus, or Pro. A Free account can sign in but cannot run queries.
To add the server to the agents installed on this machine, run hilberon setup.
https://api.hilberon.com/mcpClaude Code
Terminal
claude mcp add --transport http hilberon https://api.hilberon.com/mcpThen run /mcp in Claude Code and sign in.
Codex
Terminal
codex mcp add hilberon --url https://api.hilberon.com/mcp
codex mcp login hilberonCursor
~/.cursor/mcp.json
{
"mcpServers": {
"hilberon": {
"url": "https://api.hilberon.com/mcp"
}
}
}Gemini CLI
Terminal
gemini mcp add --transport http hilberon https://api.hilberon.com/mcpThen run /mcp auth hilberon in Gemini CLI.
OpenCode
Terminal
opencode mcp add hilberon --url https://api.hilberon.com/mcp
opencode mcp auth hilberonVS Code
Terminal
code --add-mcp '{"name":"hilberon","type":"http","url":"https://api.hilberon.com/mcp"}'claude.ai
In Customize → Connectors, choose Add custom connector and paste the address. On Team and Enterprise, an Owner adds it in Organization settings → Connectors and each member connects.
ChatGPT
In chatgpt.com/plugins, choose the plus button, then Add custom MCP server, enter the address as the Server URL and choose OAuth. Workspace permissions apply.
hilberon_queryhilberon_checkhilberon_check_stephilberon_functionshilberon_guidehilberon_account
HTTP API
Post a query as JSON. The response has the result, how it was checked, what it cost and, with "steps": true, the derivation when the engine finds one.
- Sign in
- An API key from your account. Send it as
Authorization: Bearer hbk_…; the example reads it fromHILBERON_API_KEY. - Paid with
- Prepaid credits. Creating a key needs credits you hold.
See the API reference and the OpenAPI document.
curl https://api.hilberon.com/v1/query \
-H "Authorization: Bearer $HILBERON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "integrate(x*exp(x), x)",
"steps": true,
"format": ["input", "tex"]
}'{
"status": "solved",
"result": { "input": "e^x*(x - 1)", "tex": "e^{x} (x-1)" },
"methods": [ … ],
"check": { "kind": "numeric", "points": 10 },
"effort": { "level": "standard", "cut": false },
"steps": { … },
"steps_available": true,
"usage": { "credits": 9, "balance": 1991 }
}Reading the response
- status
- What happened:
solved,cut,partial,unevaluatedorerror. - result
- The answer, in the formats you list in
format. - check
- How the result was verified.
- steps
- The derivation, when you send
steps.verifiedsays whether it reproduces the result. - usage
- The credits spent and the balance left.
Credits and limits
Every query spends credits. An API key spends the credits you bought ahead, and a CLI or MCP sign-in spends the credits of your plan.
Effort
effort says how far a query may go: a level, or a number of credits on a paid plan or with an API key. A level's credits are the most a query may spend, and a query costs what it runs. When you send none, your account's setting for that surface applies, Standard unless you changed it.
| Level | Most credits |
|---|---|
| Quick | 30 |
| Standard | 300 |
| Deep | 1,000 |
| Exhaustive | 5,000 |
API keys
| Lifetime purchases | Requests / s | At a time | Most per query | Highest effort |
|---|---|---|---|---|
| Any purchase | 60 | 16 | 40,000 | Exhaustive |
| $100+ | 200 | 64 | 40,000 | Exhaustive |
CLI and MCP sign-ins
| Plan | Credits a month | Requests / s | At a time | Highest effort |
|---|---|---|---|---|
| Lite | 50,000 | 10 | 4 | Standard |
| Plus | 150,000 | 20 | 8 | Deep |
| Pro | 600,000 | 60 | 16 | Exhaustive |
CLI reference
Commands
- hilberon login
- Sign in with your browser.
- hilberon login --with-token
- Read an API key from stdin, for servers.
HILBERON_API_KEY, when set, wins over a stored credential. - hilberon setup
- Add Hilberon's MCP server and skill to the AI agents installed on this machine.
- hilberon ask "<problem>"
- Ask in words, or with a picture (
--image). Needs a sign-in on Plus or Pro. - hilberon tui
- Open the workbench, with live syntax checks, completion and history.
- hilberon "<query>" --steps
- Print the derivation.
--alternatives 2adds up to 2 other methods and costs more. - hilberon check-step <query>
- Check whether a line you wrote (
--candidate) belongs to the derivation. Costs like a small query. - hilberon batch <file>
- Run a file of queries, one per line. Prints JSON lines.
- hilberon check <query>
- Check syntax offline. Free.
- hilberon functions [search]
- Search the function catalog, offline.
- hilberon guide
- Print the language guide, offline.
- hilberon usage
- Show credit usage and balance.
- hilberon whoami
- Show the account you are signed in to.
- hilberon keys
- List and revoke API keys. Create them on the account page.
- hilberon doctor
- Check the installation: version, API, sign-in and agent integrations.
- hilberon update
- Install a signed CLI update.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Solved |
| 1 | Unexpected failure (network, server error, local I/O) |
| 2 | Syntax error (nothing was charged) |
| 3 | Authentication error |
| 4 | Credit or effort limit |
| 5 | Rate limit |
| 6 | This CLI version is too old: run hilberon update |
| 10 | Cut by the effort limit |
| 11 | Partial: the credit cap was reached |
| 12 | No closed form |
| 13 | Engine error |
| 14 | Step check: the line matches no line of the derivation |
Reference and account
- API reference
Authentication, endpoints, errors, charges and types, from the OpenAPI document.
- API keys
Create a key, give it a limit and revoke it.
- Pricing
Plans and prepaid credits.
- Security
How accounts, keys and data are protected.