Documentation
October 7, 2026
An AI coding assistant can call Aito directly. aito-mcp is an MCP server that gives the assistant Aito's
query operators as tools, and the Claude Code plugin adds a skill that walks the assistant through adding a
predictive feature to your application. Both are built to say when Aito fits and when another tool is the
better choice, following When to use Aito, and when not.
With uv, there is nothing to install: uvx aito-mcp fetches and runs the
aito-mcp package from PyPI. Or install it with pip, next to the
Aito Python SDK:
pip install 'aitoai[mcp]'
Either way it needs Python 3.10 or newer. The server is also listed in the
MCP registry as io.github.AitoDotAI/aito.
aito-mcp finds your instance the same way the Python SDK's aito.Client() does:
AITO_URL and AITO_API_KEY in the environment, oraito start writes when you run Aito locally.A read-only key is enough for everything except writes.
Claude Code:
claude mcp add aito -- uvx aito-mcp
(or claude mcp add aito -- aito-mcp if you installed it with pip).
Any other MCP client runs aito-mcp as a stdio server. In a client that reads a JSON server list, the
entry looks like this:
{
"mcpServers": {
"aito": { "command": "uvx", "args": ["aito-mcp"] }
}
}
The tools are predict, recommend, relate, match, search, query, evaluate, get_schema,
put_schema and upload_rows. Each one takes a request body written the way the
v2 API reference writes it, and each tool's description says when to use it and when not.
predict, recommend and match return the value, its probability $p
and $why, the factors that moved it, strongest first.evaluate scores a query on held-out rows, so the assistant can choose
where to act, where to ask a person and where to step back.The server refuses writes (put_schema, upload_rows) unless you start it with writes allowed:
AITO_MCP_ALLOW_WRITES=1 aito-mcp
Keep the default when an assistant works against shared or production data. Allow writes for a local or sandbox instance where you want it to create the schema and load rows.
The plugin bundles the server with a skill, add-predictive-feature. The skill walks the assistant through:
_predict;_evaluate on your own held-out rows;Install it in Claude Code from the plugin marketplace in the aito-python-tools repository:
/plugin marketplace add AitoDotAI/aito-python-tools
/plugin install aito@aito
Episto Oy
Putouskuja 6 a 2
01600 Vantaa
Finland
VAT ID FI34337429