mcpField
T
Twira

Twira

Local
github.com/TwiraHQAI & Agents1Updated 6w ago

About Twira

Twira is a local code index and deterministic toolset for AI coding agents, callable over MCP or from a terminal. It covers code search, impact analysis, security checks, and auditing, with an additional proxy for data redaction.

Key features

  1. 01Index codebases across 26 languages
  2. 02Search symbols, paths, content, and semantics
  3. 03Read code and analyze change impact
  4. 04Run local SAST and dependency vulnerability checks
  5. 05Redact data in a proxy and keep signed audit records

Use cases

  1. 01Let a coding agent search and read source code
  2. 02Assess change impact and security risks before shipping
  3. 03Redact personal data and secrets before model requests
  4. 04Review audit records of agent actions

MCP support

Twira exposes its tools to compatible clients over MCP, and the same tools can be called from a terminal. twira init can detect an agent and configure the connection.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Twira

Twira

Coding power tools for AI agents. Deliver better code, faster and safer.

Latest release macOS, Linux, Windows Proprietary, free tier

18 PowerTools · 26 languages · 65 deterministic detectors · Wire-level PII redaction · Tamper-evident audit chain · Works with every MCP agent

Install · What is Twira · AI Compliance Proxy · The toolbelt · Free vs Pro · Get started · twira.com


Install

# curl (macOS / Linux)
curl -fsSL https://twira.com/install.sh | sh

# npm
npm install -g @twira/cli

# Homebrew (macOS / Linux)
brew install twirahq/tap/twira

One binary, no runtime dependencies, on macOS, Linux and Windows. No signup, no account, no card.

What is Twira?

Twira is a single local binary that gives your AI coding agent deterministic, indexed access to your codebase, so it reads real code instead of guessing. Larger context windows didn't fix the hallucinations; deterministic tools did. Your agent is the operator. Twira is the power tool beneath it. You stay in control.

Indexed search across 26 languages. 65 deterministic detectors. Tamper-evident audit chain. Works with Claude Code, Codex, Gemini, Cursor, and anything else that speaks MCP.

Every tool is reachable two ways: your AI agent calls them over MCP, and you call the same tools from your terminal. Deterministic, local-first, cryptographic where it matters. Your source code never leaves your machine.

{
  "mcpServers": {
    "Twira": {
      "command": "twira",
      "args": ["mcp"]
    }
  }
}

You never need to write that config by hand: twira init detects your agent and wires it for you.

The AI Compliance Proxy

The flagship. A wire-level proxy that sits between your AI agents and the model providers they call, on your machine, so personal data and secrets are redacted before they leave it:

 your AI agent ──▶  Twira proxy  ─────────────────▶  model provider
                    │ redact PII + secrets             sees placeholder
                    │ swap in the custodied API key    tokens, never the
                    │ sign + chain every call          real values
 you see normal ◀── restore real values  ◀──────────  response
 output
  • Redaction at the wire. Around 50 text patterns plus deterministic person-name detection, structured Article 9 identifiers (health, politics, religion), API keys and secrets, and OCR-driven redaction inside images: faces blurred, personal text blacked out, EXIF stripped.
  • Reversible, invisibly. Each value becomes a session-scoped token on the way out and is swapped back on the way home. Your workflow never notices; the provider never sees the real data.
  • Key custody. Provider API keys are stored AES-256-GCM encrypted and injected at the wire. The agent never sees the key. Rotate centrally without touching every machine.
  • Signed receipts. Every call is Ed25519-signed and Merkle-chained, verifiable offline. Per-session evidence in the dashboard shows exactly what was redacted, what token replaced it, and how often it was sent, and exports as a signed redaction certificate.
  • Compliance postures. Hospital, Bank and Government floors enforce Strict; General maps to Standard; Dev to Lenient. GDPR purge removes mappings and bodies on request while keeping the chain proof intact.
  • Spend visibility. Per-agent token usage across every provider, in one place.

Built for the rules teams actually face: GDPR and UK GDPR, the EU AI Act, ISO/IEC 42001, the NIST AI Risk Management Framework, Singapore's Agentic AI framework, and equivalent regimes worldwide.

The toolbelt

Eighteen PowerTools. Each one a single command, deterministic and local.

Look up code
ToolWhat it does
IndexYour codebase as a queryable knowledge graph: symbols, call graph, dependencies, references and optional embeddings across 26 languages, kept fresh on every commit.
Code SearchFind anything fast. Five modes in one interface: symbol, path, content, regex and semantic (vector + keyword + call-graph, fused).
Code ReadA symbol slice, a file overview, or the whole file, without burning tokens re-reading what the index already knows.
ImpactKnow what would break before you ship: references, dependency direction and blast radius from the call graph, risk-rated.
Database MCPCode and database on one interface. Maps every table, FK, index, view and RLS policy live across 6 engines; read-only queries; finds every place code touches a table across 17 ORM patterns.
Find bugs and risks
ToolWhat it does
Diagnose (SAST)65 deterministic detectors across 4 profiles, locally, in the millisecond range. Baselines, suppressions that survive renames and refactors, output as JSON or SARIF 2.1.0.
Dependency Vulnerabilities (SCA)OSV-backed and reachability-filtered (installed AND imported, so the noise drops). Local cache means air-gapped runs still work.
RiskTriage what changed: RED, YELLOW, GREEN per commit, at a glance.
Data protection and evidence
ToolWhat it does
AI Compliance ProxyThe wire-level redaction, custody and receipts engine described above.
AuditA tamper-evident, cryptographically signed, append-only record of every meaningful action the agent takes. RFC 3161 time-stamped, verifiable offline.
Coordinate the work
ToolWhat it does
TeamAsk, review, brainstorm and debate across 10+ frontier models from 6+ providers, synthesised into one peer-reviewed answer.
Code ReviewType /code-review in your agent: multiple frontier models review the commit, each with a different lens.
Plan ReviewType /plan-review: multiple models review the implementation plan before any code gets written.
MasterplanOne shared task graph that every agent in every session works from. Atomic claims, no duplicated work.
RelayParallel agent sessions on the same repo without collisions, coordinated by file claims.
LoreInstitutional memory across agents: save the lesson once, and every future session checks it before touching the file.
PortCross-language migration with structural matching. Port a 200,000-line legacy codebase without losing a function.
Defensibility and ergonomics
ToolWhat it does
Localhost DashboardThe visual control panel on 127.0.0.1: redaction evidence, sessions, spend, audit, toggles, instructions.
NotificationsDesktop toasts, a chime, optional spoken alerts when an agent finishes, asks, or needs permission.

Free vs Pro

Free, for ever, personal use. Index, Code Search and Code Read. No signup, no email, no card.

Pro, the full toolbelt. $29.99/month with a 14-day trial, no card required. Free for students who verify with an institutional email. Full comparison at twira.com/pricing.

Works with

26 languages · 6 database engines · 6+ AI providers · Claude Code, Codex, Gemini CLI, Cursor and any MCP-compatible agent · macOS / Linux / Windows · air-gap capable.

Get started

twira init       # set up Twira in your repo: wires your AI agent (MCP) and builds the index
twira login      # link this machine to your Twira account (Pro and trials)
twira dashboard  # open the local dashboard in your browser

From there your AI agent does the work. Ask it to search, read, check impact, or diagnose, and it reaches for Twira's tools by itself.

Links


Free for personal use, straight from install. Pro unlocks the full toolbelt with a 14-day trial, no card required.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.