strike-ai package
Install strike-ai from PyPI, call strike-1, and run the MCP server.
The Python package is strike-ai (opens in a new tab).
Install
bash
pip install strike-aiIt needs Python 3.10 or later and depends only on httpx.
Decide
Python
from strike_ai import Client
client = Client() # reads STRIKE_API_KEY and STRIKE_API_URL
result = client.decide(
"Customer reports a duplicate charge on invoice 4411.",
{
"refund": {
"type": "noul",
"instructions": "Should we refund this charge?",
}
},
)
print(result["answers"]["refund"]["noul"])decide returns the API JSON as a dict. See the Quickstart.
MCP
The same install includes a stdio MCP server. It exposes six tools (strike_decision, strike_classify, strike_score, strike_check, strike_gate, strike_decide), and each one calls POST /v1/systemone.
bash
export STRIKE_API_KEY="your_key_here"
python -m strike_ai.mcpAfter install, strike-mcp is the same server. See MCP decision tool.
Configuration
| Variable | Default | Read by |
|---|---|---|
STRIKE_API_KEY | empty | Client and the MCP server |
STRIKE_API_URL | https://strike-ai.eu | Client and the MCP server |
STRIKE_MODEL | strike-1 | the MCP server |
STRIKE_TRACE | 1 | the MCP server. 0 skips the console trace |
STRIKE_CAPTURE_CONTENT | 1 | the MCP server. 0 keeps the trace and drops the request text |
Version
Python
import strike_ai
print(strike_ai.__version__)