Skip to content
MCP server
Registry

Nika MCP Server

Read-only oracle: check .nika workflows before they run and learn the language. Never executes.

Nika scores 70 (Good), licensed AGPL-3.0 and written in Rust. It installs as a local process. It does not declare tools yet. Filed under AI and memory. GitHub shows 101 stars. Package registries report about 829 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by nika-openAGPL-3.0Rust101 stars
Trust score
70Good
Trust score 70 of 100, Good

Good trust

70 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: agpl-3.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
  • License: Grade C

    AGPL-3.0 is a strong copyleft license: derived works must use the same license.

    How license is graded
  • Quality: Grade C

    65/100 for listing completeness. Lost points: no listed tools, short summary.

    How quality is graded
  • Maintenance: Grade B

    Last commit or release 4 days ago. Down one letter for 28 open issues against 101 stars.

    How maintenance is graded
Trust breakdown

Where the 70 comes from

22 + 20 + 7 + 10 + 4 + 7 = 70. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity7 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 7 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "nika-open-nika": {      "command": "npx",      "args": [        "-y",        "@nika-open/nika@0.125.2"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

What is Nika?

Nika turns repeatable AI work into a small file you keep. Say what you want done, like "every Monday, pull the action items out of my meeting notes", and Nika writes it as a readable .nika workflow. Before anything runs, its check shows what the workflow will do, which models and tools it uses, what it is allowed to touch and what it can cost, without calling a model. A workflow that could read your private data, take in untrusted content and send data out is refused until it asks a person first. You run it when you decide, with the model you choose, on your machine or through a provider's API, and every run leaves a tamper-evident record you can verify. One Rust binary with a terminal Session and a command line, plus a TypeScript SDK for your applications; local-first and fully open source (AGPL-3.0).

See it in four steps

1 · Say it

Describe the job in plain words. Nika writes it as a .nika file, shows you what it will do and what it can touch, and saves it only when you say yes. Nothing runs until you ask. The clip at the top is that Session; this is its first answer, as the plain view prints it:

nika › Read ./data/orders.csv, keep only the rows whose status is paid, and write them to ./out/paid.csv.
✓ recorded 3 requirements
Nika proposes `compiled-workflow.nika`:
Does
  1. read_source · reads a file
  …
  8. write_output · writes a file
Runs
  when you ask (« run it ») · no schedule was asked
Can touch
  external effects · none
  human approval at run · none
Changes
  + `compiled-workflow.nika` · 97 lines · new
Needs
  nothing more from you
Nothing has run yet · `yes` saves these exact bytes and checks them · running is its own line (« run it »)

2 · Check it

Before anything runs, nika check reads the file and reports what it will do, what it may touch and what it can cost. It calls no model and spends nothing.

3 · Run it

You run it when you decide, with the model you choose. Here a local model, through Ollama, writes a meeting's action items as typed JSON.

4 · Prove it

Every run leaves a hash-chained record. nika trace verify reads it back, and when a single byte changes it names the line where the chain breaks.

Runs are also signed once this machine has a run-signing key. Mint it once with NIKA_KEYCHAIN=off nika key init: the key lands in ~/.nika/keys/ (mode 0600), where terminal runs, scripts, CI, the TypeScript SDK and nika serve all read it, and later runs report SEALED in nika trace verify and /proof. Without the variable, a terminal on a Linux desktop can keep the key in the Secret Service, which only terminal runs open (nika key align copies it to the files), and on a Mac whose keychain holds a key from Nika 0.122 or older, nika key init refuses: 0.123.0 and later never open the macOS keychain.

You stay in control

It refuses the lethal trifecta before a token is spent

A workflow that can read your private data, take in content nobody vetted (a web page, a tool's answer, a command's output) and send data out is one injected instruction away from a leak. Simon Willison named this the lethal trifecta. nika check reads it from the permits, then follows the untrusted content from step to step, through a model's answer and into child workflows. When all three meet, it refuses the file until a person must say yes first.

This workflow reads a note, fetches a public page, asks a local model for a digest and posts it to Slack:

nika: page-digest

model: ollama/llama3.2:3b

permits:
  fs: { read: ["./notes/today.md"] }
  net: { http: ["news.ycombinator.com", "hooks.slack.com"] }
  tools: ["nika:fetch", "nika:read", "nika:notify"]

tasks:
  page:
    invoke:
      tool: "nika:fetch"
      args: { url: "https://news.ycombinator.com/" }

  notes:
    invoke:
      tool: "nika:read"
      args: { path: "./notes/today.md" }

  digest:
    with: { page: "${{ tasks.page.output }}", notes: "${{ tasks.notes.output }}" }
    infer:
      prompt: "Pick the three stories that matter for my notes.\nNotes: ${{ with.notes }}\nPage: ${{ with.page }}"
      max_tokens: 400

  post:
    with: { digest: "${{ tasks.digest.output }}" }
    invoke:
      tool: "nika:notify"
      args: { target: "https://hooks.slack.com/services/T000/B000/XXXX", message: "${{ with.digest }}" }

The page never reaches Slack directly, only through the model's digest. The check follows it anyway and refuses the file with exit code 2:

nika check · page-digest.nika
 ✔ PLAN     3 waves · 4 tasks · max parallelism 2
 …
 ✖ TRIFECTA [NIKA-SEC-009] lethal trifecta complete · human gate required — untrusted content from `page` reaches egress task `post` while private read + untrusted ingress + external egress are all permitted …

Drop any one of the three and there is nothing to refuse. To keep all three, put a question in front of them: a nika:prompt with no default, whose answer the fetch, the read and the post each require.

  approve:
    invoke:
      tool: "nika:prompt"
      args: { message: "Read my notes, fetch Hacker News and post a digest to Slack?" }

  page:
    with: { go: "${{ tasks.approve.output }}" }
    when: ${{ with.go == true }}
    invoke:
      tool: "nika:fetch"
      args: { url: "https://news.ycombinator.com/" }

With nika:prompt added to permits.tools, and the same go binding and when: line on notes and post, the check passes with exit code 0:

 ✔ TRIFECTA no lethal trifecta over the declared permits: without a human gate
 layers · valid ✔ · access ready ✔ · capacity fit ✔ · run ready ✔

A gate that only looks like one is refused too: a prompt with a default: answers itself and guards nothing (NIKA-SEC-009 stays), and a step that still runs after a "no" fails NIKA-SEC-014. At a terminal the run asks; in CI it pauses with exit 4, as shown below. Every verdict here was captured from nika 0.124.0. NIKA-SEC-009 explains the rule; Meta's Agents Rule of Two states the same principle for agents.

It tells you the cost before the first token

nika check prices a workflow from its model's catalog price and the output limit each step declares. Set a budget below that ceiling and the run refuses to start: no model is called and nothing is spent.

It asks before it acts

A step can wait for a person. At your terminal it asks; in CI, where nobody can answer, the run pauses safely with exit 4 and prints the one line that resumes it.

Try it in two minutes

1 · Install

curl -LsSf https://nika.sh/install.sh | sh
  • Homebrew: brew install nika-open/tap/nika
  • npm, the binary plus the TypeScript SDK: npm install @nika-open/nika (the nika command lands in node_modules/.bin). The package bundles the engine of its own version: check nika --version.
  • A container (Linux, amd64 and arm64), built from the same release binaries: docker run --rm ghcr.io/nika-open/nika:0.125.2 --version. Mount a project to check or run its files, for example docker run --rm -v "$PWD:/work" -w /work ghcr.io/nika-open/nika:0.125.2 check hello.nika. Images up to 0.124.4 stay at ghcr.io/supernovae-st/nika.
  • A release archive: download one from the latest release. Every release ships a checksum manifest, a GitHub attestation and SLSA provenance; RELEASING.md gives the three verification commands, for example gh attestation verify nika-macos-arm64-0.125.2.tar.gz --repo nika-open/nika. Releases up to 0.124.4 were built in supernovae-st/nika, and that organization serves their attestations: verify one of them with --owner supernovae-st --signer-repo supernovae-st/nika instead of --repo.
  • Nix: nix profile install github:nika-open/nika/v0.125.2 builds the release from the repository's flake. Without the tag, the flake builds the default branch, which can be ahead of the latest release.
  • Windows: use WSL2 and the Linux binary. Native Windows binaries are not shipped.

2 · Say what you want

This first job needs no AI account: Nika's deterministic compiler settles it without calling a model. Make a folder with a small spreadsheet and open the Session:

mkdir -p orders-demo/data && cd orders-demo
cat > data/orders.csv <<'EOF'
order_id,customer,status,amount
1001,Juniper Books,paid,18.00
1002,Kestrel Cafe,pending,9.50
1003,Linden Studio,paid,13.50
1004,Moss Supply,refunded,6.00
EOF
nika

At the prompt, type:

Read ./data/orders.csv, keep only the rows whose status is paid, and write them to ./out/paid.csv.

Nika proposes a .nika file and shows what it will do, what it can touch and the result of its check. Nothing has run yet. Type yes to save the file, then run it. out/paid.csv gets the header and the two paid rows, and /proof shows what the run's record proves, and what it does not.

[!TIP] Nika works only inside the folder you start it in. /show prints the proposal's exact bytes, /meaning maps your request clause by clause, and no discards it. Ctrl+T switches the view to full screen and back, and nika --plain gives the same Session as plain lines. The Session guide covers questions, changes, spending ceilings and /restore.

In a Git repository, the Session leaves .gitignore alone: before you commit, add .nika/traces/ (run records can hold file contents and model outputs) and the Session's own .nika/*.ndjson and .nika/session-state.json. After a run, the Session reminds you when traces are not ignored.

3 · Add a model

Most open-ended requests need a model to write the workflow, and workflows such as summaries call a model each time they run. Nika reads provider keys from your environment, so keep yours in your shell startup file. For DeepSeek:

# in ~/.zshrc or ~/.bashrc, then open a new terminal
export DEEPSEEK_API_KEY='your-key'

The first request that needs a model shows a numbered choice: answer 2 deepseek/deepseek-flash. Nika keeps the choice for later Sessions, and /intelligence changes it. Other API providers and local engines (Ollama, llama.cpp, LM Studio, vLLM) work too: nika catalog lists them. Your provider meters and bills these calls; Nika's cost figures are catalog estimates, not invoices.

4 · Use the file directly

A workflow is an ordinary file. The command line compiles, checks, runs and verifies it. This offline lesson needs no provider:

nika compile hello hello.nika
nika check hello.nika
nika run hello.nika
nika trace verify

▶ Watch these four commands run, exactly as captured from the CLI.

hello always uses mock/echo, a stand-in model that echoes the prompt, even when provider keys are present. It proves that the workflow runs, not that a model answered. Each run records its trace under .nika/traces/, and creating the file adds that directory to .gitignore. nika trace verify checks the latest trace's integrity, not the truth of an AI answer.

What you can hand to Nika

You sayNika keepsWatch
"Read ./data/orders.csv, keep only the rows whose status is paid, and write them to ./out/paid.csv."A workflow that reads one file and writes one file. No AI model is involved.▶ The Session
"Pull the action items out of my meeting notes."A workflow that asks a local model and writes the items as typed JSON.▶ A local run
"Every Friday, turn CHANGELOG.md into release notes."A workflow your coding agent writes with the Nika plugin; the check catches its mistake before anything runs.▶ With your agent
"Rate the risk of each pull request."A workflow the Nika GitHub Action checks whenever a pull request changes it: one comment carries the verdict.▶ In your pull requests

Why a file, and not a chat?

A chat answer is gone when the conversation ends, and the next one can differ. A .nika file stays: you read it, check it, run it again and review its changes like any other file in your project.

  • Say it once. The request you would retype in a chat every week is kept as a file that runs again. ▶ Watch a weekly request become a file
  • Read it before it runs. Every workflow has the same shape: nine sections and four kinds of step, in a file you can open and review. ▶ Watch one taken apart
  • It touches only what it declares. The file lists what it may read, write and reach. The check refuses the step that reaches past it. ▶ Watch the check catch an escape
  • Failures are planned for. A step can name its fallback: the run finishes, the output says it is stale, and the record keeps the failure. ▶ Watch a missing feed absorbed
  • Parallel where it can be. Steps that do not depend on each other run side by side, in waves the check plans before the run. ▶ Watch a workflow run in waves

Every clip on this page shows real files and terminal lines captured from the binary, names the release it was captured with, and says what it illustrates. The media index lists them all and how they are made.

Works where you already work

Nika comes to the tools you already use. Your coding agent can write the file for you, and the check keeps it honest:

WhereWhat you getWatch
Your coding agent · nika-pluginsClaude Code, Codex, Cursor and others learn to write a workflow, check it and repair what the check finds.▶ above
Your editor · nika lspThe language server inside the binary: the check's findings as you type, in any LSP client. The VS Code extension (nika-vscode) stays at 0.120 and is not qualified with 0.125; point its nika.server.path at your 0.125 binary (known limits).▶ The audit, as you type
Your pull requests · nika-actionOne comment with the verdict, before anyone spends a token.▶ Every pull request gets a verdict
Your app · nika-clientRun a workflow from TypeScript (the package), get a typed result and verify its receipt, with the engine the package bundles or against your nika serve.▶ Run it from your app, prove what ran · ▶ One client, two doors

From your application

npm install @nika-open/nika brings the TypeScript SDK and the engine of its own version (Node.js 22 or newer, on macOS or Linux with glibc). Run NIKA_KEYCHAIN=off ./node_modules/.bin/nika key init once, so the engine your app starts can seal each run's record. Then, beside a hello.nika, this is the package's quick start:

import { Nika, isNikaRunSucceeded } from '@nika-open/nika';

const nika = new Nika({ cwd: process.cwd() });

// The engine checks the file first: a workflow it refuses throws here and never starts.
const run = await nika.run<{ greeting: string }>('hello.nika', { maxCostUsd: 0 });
const result = await run.result();

// A failed run is data you read, not an exception.
if (!isNikaRunSucceeded(result) || !result.receipt) {
  console.error(result.status, result.error?.code, result.error?.message);
  process.exit(1);
}
console.log(result.outputs?.greeting);

// Ask the engine to verify the run's tamper-evident record.
const proof = await nika.traceVerify(result.receipt);
console.log(proof.verified ? 'receipt verified' : `not verified: ${proof.reason}`);

Save it as demo.mts (top-level await needs a module) and run node demo.mts: Node.js 22.18 or newer runs the TypeScript as is. The SDK quick start gives the hello.nika this program runs.

To reach a nika serve instead of the bundled engine, keep the methods and change the options of two lines:

const nika = new Nika({ url, token, allowInsecureHttp: true });
const run = await nika.run<{ greeting: string }>('hello.nika', { idempotencyKey });

url and token name the server and its bearer token. Plain http:// is accepted only to a loopback host, and only with allowInsecureHttp: true. Over HTTP, run() needs an idempotencyKey you own (a retry with the same key returns the same job) and refuses maxCostUsd: the server applies its own per-run ceiling, USD 1 by default. hello.nika is then a served name, the workflow's path from the server's project root. nika-client documents the whole API.

Behind your application: nika serve

nika serve --bind runs the same engine as an HTTP server beside your backend. It admits a job by workflow name, queues and runs it, and keeps its record. Since 0.125 one server holds the jobs of the many users of an application:

  • A job carries the owner and labels your backend states, and GET /v1/jobs finds jobs again by owner, label, status and date.
  • Waiting jobs are shared fairly between owners: a user who submits fifty jobs does not delay the user who submits one. --provider-concurrency caps the model calls in flight on one provider across every job.
  • --job-retention forgets settled jobs after a window.
  • A job a restart interrupted runs again as a new attempt of the same job only when asked: --retry-interrupted is off by default, and POST /v1/jobs/{id}/retry starts one on request.

In a Nika project (a directory with a nika.yaml), with your workflows under ./workflows:

umask 077 && mkdir -p .nika && openssl rand -hex 24 > .nika/serve.token
nika serve --bind 127.0.0.1:8787 --workflows ./workflows \
  --token-file .nika/serve.token --job-retention 7d --max-concurrent-per-owner 2

Then, from your backend or another terminal:

AUTH="Authorization: Bearer $(cat .nika/serve.token)"
curl -s -X POST http://127.0.0.1:8787/v1/jobs -H "$AUTH" \
  -H 'Idempotency-Key: report-user_123-1' -H 'Content-Type: application/json' \
  -d '{"workflow": "workflows/report.nika", "owner": "user_123"}'
curl -s -H "$AUTH" 'http://127.0.0.1:8787/v1/jobs?owner=user_123&status=failed,interrupted'

owner attributes a job; it does not control access. Whoever holds the token reads, lists, cancels and retries every job, so keep the token in your backend and apply your own authorization there. The TypeScript SDK does not call these routes yet: call them over HTTP. The resident server guide covers the routes, and the server runbook covers sizing, an upgrade that keeps a way back and a support retry.

Know the limits

  • 0.125 is the current release line. Work stays focused on maintenance, security and the media capabilities workflows need; native video is planned for a later release. The 0.124.x line is the previous one, and there is no hosted service. The known limits are listed in plain words, each with a way around it: Known limits in 0.125.
  • Some requests cannot be expressed. Nika then says what stopped it and writes nothing.
  • A clean check is not a true answer. It describes a file's structure and boundary; it does not prove that model output is right.
  • The trifecta check judges permits and flow, not words. It does not read a page or a model's answer for injected instructions, and a person who answers yes approves what follows. On a harness seat, what permits: covers is listed per seat (harness agents).
  • This README describes the released 0.125.2. Compare nika --version with the changelog, which lists what each release changed. Until the next release, each change merged after 0.125.2 is described in its own file under changelog.d/, and the release folds those files into the changelog.
VerbWhat it does
inferAsk a model to produce an answer
invokeCall a native tool, MCP tool or another workflow
execRun a command
agentLet a model use allowed tools for a bounded number of turns

A workflow uses only the verbs its job needs. The orders workflow at the top uses invoke alone: eight steps over five builtin tools (nika:read, nika:convert, nika:jq, nika:assert and nika:write), with no model and no shell.

nika compile --list lists exact skeletons. Preview one with nika compile <slug> --json, then answer its stable questions with repeatable --answer KEY=JSON_LITERAL. An incomplete result includes its candidate and questions; it does not write a file. Only a Ready candidate plus an explicit destination writes. Existing destinations require --force.

For an accepted source, a conservative constant edit uses the same core:

nika compile --base workflow.nika --change 'Set const.topic to "new topic"' --json

Add --output edited.nika to materialize a Ready edit. The base source remains explicit. Unresolved intent stays incomplete without a substitute workflow. --authoring-model seats a model to interpret free intent and revise text. No request count is imposed by default: creation ends on a result, a failure, no progress or a cancellation. --authoring-max-calls N sets an explicit ceiling (an ACP harness counts its invocations; its own requests are unknown), and typed repairs or samples that cannot fit under it are refused before any request. --authoring-strategy selects escalate, only, sketch or off. The compiler checks the proposed source and its fidelity to the request. This is not a guarantee of arbitrary-language understanding, and Graph editing is not implemented by this CLI.

Compile's Check preview judges source only. nika check and nika run judge the actual environment separately. For a real model, choose the provider and access explicitly; the model setup documentation explains local, API and supported harness choices. On a harness seat an agent: task runs the application's own tools: what permits: covers there, and what it does not, is listed per seat and printed by nika check.

Share the workflow, not credentials or private data. Review file paths and tool access. Keep secrets out of source control.

Run journals can contain the data and outputs the workflow processed. The .nika/traces/ directory is a data-at-rest surface: it inherits the sensitivity of everything the run read. Exclude it from Git unless you deliberately intend to publish those records, and treat them with the same care as their source data.

After a run, nika trace verify verifies the latest journal. Compare its head with the one printed by the run. This checks the record, not the AI's judgement.

🦋 The Nika family

RepositoryWhat it gives you
🦋nikaThe engine and CLI: write, check, run and verify AI workflows
📖nika-docsThe documentation, live at docs.nika.sh
📜nika-specThe language specification and the suite that proves an engine follows it
🧩nika-vscodeThe editor extension, frozen at 0.120 and not qualified with 0.125: use nika lsp and the JSON Schema
🟦nika-clientRun and verify workflows from TypeScript
✅nika-actionA GitHub Action that posts a nika check verdict on your pull requests
🚀nika-actions-starterA ready template: workflows, editor setup and CI from the first push
📦nika-registryShareable workflows, pinned and re-verified
🤖nika-pluginsTeaches your coding agent (Claude Code, Codex, Cursor…) to write Nika
🍺homebrew-tapbrew install nika-open/tap/nika
🐙gh-nikaThe Nika CLI as a GitHub CLI extension
🏛️nika-estateWhere each file in Nika's core repositories comes from, declared and re-checkable

This repository is the one executable: it parses, checks, runs and traces every workflow. The language is defined by the specification, and the other repositories drive this engine without adding to its authority.

Go further

Session guide · Examples · Documentation · TypeScript SDK · Editor extension (0.120, not qualified with 0.125) · Open specification · Registry · Planning archive · Website

Nika 0.125 is the current open-source release line, usable today and maintained. The engine is AGPL-3.0-or-later; the specification and the TypeScript SDK are Apache-2.0.

Created and maintained by Thibaut Mélen (@ThibautMelen) · SuperNovae Studio.

Frequently asked questions

What is Nika MCP Server?

Read-only oracle: check .nika workflows before they run and learn the language. Never executes.

How do I install Nika MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Nika MCP Server runs locally from the npm package @nika-open/nika with the command npx -y @nika-open/nika@0.125.2.

Is Nika MCP Server free and open source?

Yes. Nika MCP Server is released under the AGPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Nika MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Nika MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Nika MCP Server's trust score calculated?

Nika MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server