Connect the graph.
Everything runs on one API key and one credit balance: the MCP server, the CLI, the GitHub Action, the HTTP API and Aris Code.
Quickstart
- Create an account and confirm your email.
- Add credits and create an API key on your account page.
- Try it:
export ARIS_API_KEY=your-key
npx aris-kg search cve CVE-2021-44228MCP server
aris-kg mcp runs a stdio MCP server with five tools. It also sends the client instructions to use them without being asked: before adding or upgrading a dependency, for any CVE, when picking a framework version, and before writing auth, crypto, SQL or file-path code. Needs Node 20 or newer.
Claude Code
claude mcp add aris -e ARIS_API_KEY=your-key -- npx -y aris-kg mcpCursor, Windsurf and other JSON-configured clients
{
"mcpServers": {
"aris": {
"command": "npx",
"args": ["-y", "aris-kg", "mcp"],
"env": { "ARIS_API_KEY": "your-key" }
}
}
}Codex
[mcp_servers.aris]
command = "npx"
args = ["-y", "aris-kg", "mcp"]
env = { ARIS_API_KEY = "your-key" }It's also listed in the official MCP Registry as io.github.kennysarnoski-jarvis/aris-kg.
Tools
| Tool | What it does | Cost |
|---|---|---|
aris_check_dependencies | Checks exact package versions: CVE ids, severity, CVSS, affected and fixed versions, and known exploits. Only CVEs whose ranges include the version come back. | 1¢ / package |
aris_search_cve | CVEs and GitHub advisories by id or by description. | 1¢ |
aris_search_knowledge | Current versions and setup patterns, ATT&CK techniques and mitigations, known pitfalls. | 1¢ |
aris_search_code | Structs, traits, functions and examples from published packages. | 1¢ |
aris_web_search | The live web, for anything newer than the graph, with source URLs. | 2¢ |
Dependency checks take npm, pypi, crates, go, maven, rubygems, packagist, nuget, hex, pub and swift. The graph also covers OSV advisories for Hackage, CRAN, ConanCenter, the Linux kernel and GitHub Actions, which aris_search_cve finds.
CLI
export ARIS_API_KEY=your-key
npx aris-kg audit # lockfiles in the current folder
npx aris-kg audit ./service --fail-on critical
npx aris-kg audit --json > report.json
npx aris-kg search cve CVE-2024-3094
npx aris-kg search knowledge "next.js app router auth"audit checks exact versions only, so point it at lockfiles rather than manifests with ranges. It reads:
| Ecosystem | Lockfiles |
|---|---|
| npm | package-lock.json pnpm-lock.yaml yarn.lock |
| Python | poetry.lock uv.lock Pipfile.lock requirements.txt |
| Rust | Cargo.lock |
| Go | go.mod |
| Java and Kotlin (Maven) | gradle.lockfile |
| Ruby | Gemfile.lock |
| PHP | composer.lock |
| .NET | packages.lock.json |
| Elixir | mix.lock |
| Dart and Flutter | pubspec.lock |
| Swift | Package.resolved |
| Exit code | Meaning |
|---|---|
0 | Nothing at or above --fail-on |
1 | A vulnerability at or above --fail-on (default high), or one with a known exploit at any severity |
2 | Error: no lockfile, bad key, no credits |
GitHub Action
Add your key as a repository secret named ARIS_API_KEY, then:
name: Dependency audit
on: [pull_request]
jobs:
aris:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: kennysarnoski-jarvis/aris-kg@v0
with:
api-key: ${{ secrets.ARIS_API_KEY }}
fail-on: highHTTP API
Base URL https://youraris.com. Send your key as Authorization: Bearer <key>. Every response is JSON.
Search
GET /api/local/search/{cve|knowledge|code}?query=…&limit=10 (limit 1 to 50)
curl -H "Authorization: Bearer $ARIS_API_KEY" \
"https://youraris.com/api/local/search/cve?query=CVE-2021-44228&limit=3"{
"query": "CVE-2021-44228",
"results": [
{ "label": "cve-2021-44228", "category": "cve", "score": 1.0,
"description": "CVSS 10.0 (critical) | CWE-20, CWE-400, CWE-502, CWE-917 | ..." }
]
}Dependency check
POST /api/local/quarry/cve_batch with up to 500 packages per request.
curl -X POST -H "Authorization: Bearer $ARIS_API_KEY" \
-H "Content-Type: application/json" \
https://youraris.com/api/local/quarry/cve_batch \
-d '{"packages":[{"name":"lodash","version":"4.17.20","ecosystem":"npm"}]}'Each result has cves (with id, severity, cvss_score, affected_versions, fixed_in, exploit_available), plus name_similar fuzzy matches to verify before acting on. The response includes billed_cents.
Web search
POST /api/local/web_search with {"query": "…"}. Returns a summary and results with titles, URLs and snippets.
Errors
| Status | Meaning |
|---|---|
401 | Missing or unknown key |
402 | Balance too low for the call. Nothing is charged. |
429 | Over 120 calls a minute |
Aris Code
In Aris Code, paste your key into Settings → Providers → Claude → Aris key. Aris Kimi, Aris GLM and Aris Local have the same field. Every provider then gets the five tools, Codex and the rest included. The key stays in the app and never reaches the agent. Image Studio runs on the same credits unless you add your own OpenAI key.
Local models
Aris Server runs open-weight models on a Mac with Apple Silicon and serves them over the Anthropic Messages API. Two are built in. inkling-2-mini, Thinking Machines' Inkling 2 Mini, is the faster one and runs on any Mac with 36 GB of memory or more: on a 48 GB M4 Pro, the same coding task took 2.8 minutes on it and 6.9 on aris-3.8-27b, our Aris 3.8-27B, which also fits 32 GB Macs. pull sizes each model's builds from Hugging Face and downloads the one this Mac holds.
In Aris Code
Go to Settings → Providers → Aris Local and set up a model. Aris Code installs uv, Aris Server and Claude Code when your Mac doesn't have them yet, downloads the model, runs it as a login service and points Aris Local at it. Your Aris key gives it the graph tools like any other provider.
In Claude Code
On a Mac that has neither uv nor Claude Code, install them first, then open a new terminal:
curl -LsSf https://astral.sh/uv/install.sh | sh
curl -fsSL https://claude.ai/install.sh | bashuv tool install aris-server
aris-server pull inkling-2-mini
aris-server serve --model inkling-2-miniaris-server claudeThat runs Inkling 2 Mini. For Aris 3.8-27B, the alternative and the one for a 32 GB Mac, use aris-3.8-27b instead. aris-server claude starts Claude Code on the model the server has loaded and tells it the context window to compact by: at 80% of the server's window, and by 128k tokens at the most. To start Claude Code yourself, set what it sets, as the README shows. To give a local Claude Code the graph too, add the MCP server as above.
Billing & limits
Calls draw from your credit balance, and the account page shows spend by day, by kind of call and by key. A call that fails on our side is refunded. Each account is limited to 120 calls a minute. You can have up to 10 API keys; revoke one and anything using it stops right away.
Questions: support@youraris.com