omniseek-mcp
Provides SARIF 2.1.0 output compatible with GitHub code scanning, enabling integration with GitHub's security features.
Allows using Google's Gemini models for deeper, cross-file code analysis. The server sends line-numbered code excerpts to the model and verifies the returned findings against the repository.
Allows using OpenAI's models for deeper, cross-file code analysis. The server sends line-numbered code excerpts to the model and verifies the returned findings against the repository.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@omniseek-mcp scan this repo for security and performance issues and render an HTML dossier"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OmniSeek
Citation-grounded codebase intelligence. OmniSeek reviews a repository through four lenses (architecture, security, performance, product) and backs every finding with file:line evidence. Then it checks that evidence against your files, so a hallucinated line number or invented function cannot slip into the report.
Runs anywhere, immediately. Pure Python standard library: no compiler, no native wheels, no mandatory dependencies.
Deterministic by default. More than 40 built-in rules, with Python rules evaluated on the syntax tree, so code inside strings and comments never matches. The same tree gives the same findings.
Bring your own model. Add
--model anthropic/…,openai/…orgemini/…and your own key for deeper, cross-file findings. Model findings are verified like everything else, and the ones whose citations do not exist are dropped.Verifies anyone's claims.
omniseek verifychecks any findings file (yours, another tool's, an AI assistant's) against the working tree or a git revision and scores it from 0.0 to 1.0.Ships where you work. A self-contained HTML dossier, SARIF 2.1.0 for GitHub code scanning, Markdown for pull requests, and an MCP server for Claude, Cursor and other assistants.
60-second quickstart
pipx install omnirogue-omniseek # or: pip install omnirogue-omniseek
omniseek scan . --output findings.json --html dossier.html
omniseek verify findings.json --repo .
open dossier.html # xdg-open on LinuxNo install at all? From a checkout, python3 -m omniseek scan . works with any Python 3.10+.
Package name. On PyPI this tool is
omnirogue-omniseek; the command and the Python package areomniseek. The PyPI project calledomniseekis unrelated. To install straight from this repository instead:pipx install "git+https://github.com/omnirogue/omniseek".
Try it on the deliberately flawed demo app, including a findings file with planted hallucinations:
bash examples/run_demo.sh # writes the dossier, SARIF and Markdown to a temp directoryRelated MCP server: architectos
How it works
┌──────────────────────── omniseek scan ─────────────────────────┐
local dir │ repo walker ──▶ heuristic lenses ──┐ │
or git URL ────────▶│ (git ls-files, architecture │ │
│ .gitignore, security ├──▶ findings ──▶ verifier ├──▶ findings.json
│ no symlinks) performance │ + citations (0.0-1.0)│ (omniseek.findings/v1)
│ product │ │
│ optional: --model provider/model ──┘ redacted, line-numbered │
│ (your key; ungrounded findings dropped) │
└────────────────────────────────────────────────────────────────┘
│
┌────────────────────┬───────────────────┼────────────────────┬─────────────────────┐
▼ ▼ ▼ ▼ ▼
omniseek report omniseek report omniseek report omniseek verify omniseek cloud-sync
--format html --format sarif --format md any findings file (optional, OmniSI Cloud)
dark-mode dossier GitHub code PR comments vs. working tree
scanning or a git revision
omniseek-mcp: the same scan, verify and render as MCP tools (stdio, or streamable HTTP)Commands
Command | What it does |
| Scans a local directory, or shallow-clones an |
| Checks every citation; prints the grounding score and each flagged citation |
| Renders a findings file; |
| Optional: sends a findings file to OmniSI Cloud (needs |
| Lists the built-in rules |
Exit codes: 0 success, 1 a gate failed (--fail-on severity or --min-score), 2 bad input or usage.
Lenses
Lens | Examples of what the built-in rules find |
security | Hardcoded credentials (never copied into output), committed |
performance | HTTP or database calls inside loops (N+1), blocking calls in |
architecture | Import cycles (Python and JS/TS), very large files, long and highly complex functions, change hotspots from git history, swallowed exceptions, wildcard imports, deep relative imports, TODO/FIXME debt |
product | Missing README, license, security policy or contributing guide; README without install/usage; broken relative links in Markdown; no tests; no CI; incomplete package metadata; placeholder (lorem-ipsum) copy in user-facing files |
Test and example code is not held to the architecture and performance rules, and security findings there are marked low confidence. Add an .omniseekignore file (one glob per line) to skip more paths.
The citation verifier
A finding is only as good as its evidence. Every finding carries citations:
{
"rule_id": "security/sql-string-building",
"lens": "security",
"severity": "high",
"title": "SQL built from strings",
"citations": [
{"kind": "span", "path": "app.py", "start_line": 17, "end_line": 17,
"snippet": "return conn.execute(f\"SELECT id, email FROM users WHERE name = '{name}'\").fetchone()",
"symbol": "find_user"},
{"kind": "absence", "globs": ["license", "license.*"]}
]
}omniseek verify checks that the path stays inside the repository (no .., no absolute paths, no symlinks out), the file exists and is text, the line range is inside the file, the quoted snippet appears in exactly those lines (whitespace-insensitive), and the symbol appears there as a whole identifier. An absence citation is verified only if none of its paths or globs exist.
Status | Score | Meaning |
| 1.0 | Path, range, quote and symbol all check out |
| 0.5 | The quote or symbol exists in the file, but at other lines (the actual lines are reported) |
| 0.5 | The range exists but nothing was quoted, so the content could not be checked |
| 0.0 | The file, quote or symbol does not exist, or a claimed absence is present |
| 0.0 | Malformed, or points outside the repository |
A finding's grounding_score is the mean of its citation scores (0.0 when it cites nothing), and the document's score is the mean over findings. Verification proves provenance, not correctness: a verified citation shows the evidence exists where the finding says it does.
Shorthand citations such as "app.py:15-17" and {"file": …, "lines": "15-17"} are accepted, so you can verify output from other tools and assistants. Use --ref <sha> to verify against a commit instead of the working tree.
Bring your own model
export ANTHROPIC_API_KEY=... # or OPENAI_API_KEY / GEMINI_API_KEY
omniseek scan . --model anthropic/claude-sonnet-5-5 --html dossier.html
omniseek scan . --model openai/<model-id>
omniseek scan . --model gemini/<model-id>Provider | Key | Endpoint override |
|
|
|
|
|
|
|
|
|
What is sent: a file list, the heuristic leads, and line-numbered excerpts (lead areas, entry points, configuration, then the largest source files) within --max-context-chars (default 120,000). .env files, key files and lockfiles are never sent, and values that look like credentials are replaced with «redacted» first. Keys are read from the environment only. Requests go over HTTPS (plain HTTP only to localhost). Install omnirogue-omniseek[httpx] to use httpx instead of urllib.
The model's findings are validated against the schema, then verified; findings with no valid citation are dropped unless you pass --keep-ungrounded.
MCP server
omniseek-mcp exposes three tools: omniseek_scan (read-only, offline), omniseek_verify_citations (read-only) and omniseek_render_dossier (writes a file only when given output_path, and never overwrites without overwrite: true). Every path must be inside a --root directory (default: the working directory). Scans through MCP never call a model; your assistant already is one.
Claude Code:
claude mcp add omniseek -- omniseek-mcp --root /path/to/projectClaude Desktop, Cursor, OmniConsole and other clients that read an mcpServers file:
{
"mcpServers": {
"omniseek": {
"command": "omniseek-mcp",
"args": ["--root", "/path/to/project"]
}
}
}Without installing, use "command": "python3", "args": ["-m", "omniseek.mcp_server", "--root", "/path/to/project"] with "env": {"PYTHONPATH": "/path/to/omniseek"}.
Streamable HTTP (needs pip install "omnirogue-omniseek[mcp]", works with MCP SDK 1.x and 2.x):
omniseek-mcp --transport streamable-http --root /path/to/project --port 8765 # http://127.0.0.1:8765/mcpIt binds to 127.0.0.1 and has no authentication of its own; put it behind your own authenticating proxy if you expose it.
GitHub code scanning (SARIF)
Copy examples/github-action-sarif.yml to .github/workflows/omniseek.yml:
name: omniseek
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
security-events: write
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install "omnirogue-omniseek==0.1.0"
- run: omniseek scan . --output omniseek-findings.json --sarif omniseek.sarif --html omniseek-dossier.html --md omniseek.md
- uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: omniseek.sarif
category: omniseek
- uses: actions/upload-artifact@v4
if: always()
with:
name: omniseek-dossier
path: omniseek-dossier.htmlResults appear under Security → Code scanning. Security rules carry a security-severity, so GitHub ranks them as critical, high, medium or low. Add --fail-on high to the scan step to block merges on serious findings.
OmniSeek open source vs. OmniSI Cloud
OmniSeek is the open-source core of OmniSI. OmniSI Cloud is a separate, proprietary service built on the OmniRogue Rust Engine. cloud-sync is the only bridge between them: it is optional, sends only a findings file you already have (never your repository), and nothing leaves your machine without OMNISI_API_KEY.
OmniSeek (this repository, Apache-2.0) | OmniSI Cloud (proprietary, OmniRogue Rust Engine) | |
Where it runs | Your machine or CI, offline by default | Hosted service |
Analysis | 40+ deterministic rules across 4 lenses, plus your own model | Parallel Rust ingestion of large monorepos and evidence packs; multi-stage model pipeline |
Verification | Deterministic citation and grounding verifier | Cross-family adversarial verification: findings challenged by models from different labs |
Memory | Stateless; one findings file per run | Organization memory: deduplicates findings across repositories and runs |
Action | HTML, SARIF, Markdown, MCP | Turns a confirmed finding into a Decision your team approves, then executes the action exactly once |
Models and keys | Bring your own (OpenAI, Anthropic, Gemini, OpenAI-compatible) | Managed |
Price | Free | Commercial |
Bridge |
| Receives findings from OmniSeek |
export OMNISI_API_KEY=...
omniseek cloud-sync findings.json --dry-run # see exactly what would be sent
omniseek cloud-sync findings.json --no-snippets # send without quoted codecloud-sync posts omniseek.cloud-sync/v1 JSON to {api_url}/v1/omniseek/scans with an idempotency key. The local repository path is never sent.
Privacy and security
scan,verifyandreportmake no network calls. Only--model,cloud-syncand scanning a git URL do, and only to the endpoint you chose.Secret values are never copied into findings or reports: citations quote the text before the value plus its first four characters, and code excerpts are redacted.
The HTML dossier is one file with no external requests. All content is escaped and the inline script is pinned by a Content-Security-Policy hash.
The scanner never follows symlinks out of the repository, and the verifier rejects citations that escape it.
Report vulnerabilities privately; see SECURITY.md.
Findings schema
omniseek.findings/v1: schema, tool, generated_at, repo (name, commit, files_scanned, languages), analyzer (mode, model, lenses), summary, findings[] and, after verification, verification plus a verification block on each finding. Each finding has id (stable across line moves), rule_id, lens, severity (critical, high, medium, low, info), confidence, title, description, remediation[], citations[] and source (heuristic or llm:<provider>/<model>). See examples/sample_findings.json.
Development
python -m unittest discover -s tests # no dependencies needed
python -m omniseek scan . --output /tmp/self.json && python -m omniseek verify /tmp/self.json --repo .Tested on Linux and macOS with Python 3.10 to 3.13. See CONTRIBUTING.md to add a rule.
License
Apache-2.0. See NOTICE.
Available Tools
3 toolsomniseek_render_dossierRender a dossierA
Render findings as a self-contained dark-mode HTML dossier, GitHub SARIF 2.1.0 or Markdown. With output_path the result is written to that file (inside a root) and only its path is returned.
Inputs: format, findings, overwrite, output_path, +1 more.
omniseek_scanScan a repositoryARead-onlyIdempotent
Deterministic multi-lens scan (architecture, security, performance, product) of a local directory. Every finding cites file:line evidence and comes back verified against the files. Offline and read-only.
Inputs: path, lenses, max_findings, min_severity.
omniseek_verify_citationsVerify citationsARead-onlyIdempotent
Check that every cited file:start-end span, quoted snippet and symbol in a findings document exists in the repository (working tree or a git ref). Returns a 0.0-1.0 grounding score and flags drifted, hallucinated and invalid citations. Use it on findings you or another model wrote.
Inputs: ref, repo, findings, findings_path.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a clearly distinct stage of a pipeline: omniseek_scan generates findings, omniseek_verify_citations validates citations in a findings document, and omniseek_render_dossier formats output. There is no overlap in trigger conditions or inputs, so misselection is unlikely.
All three tools use the same omniseek_ snake_case prefix followed by a concise action phrase (scan, verify_citations, render_dossier). The convention is predictable and readable throughout.
Three tools is on the lean side but each corresponds to a genuine, non-redundant step (scan, verify, render). The surface feels intentionally minimal rather than padded.
The scan → verify → render lifecycle covers the core workflow end to end, including multiple output formats and git-ref grounding checks. Minor gaps exist, such as baseline/diff comparison between scans or filtering of prior findings, but nothing blocks the primary use case.
Maintenance
Related MCP Connectors
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
Zero-config MCP security scanner for AI-generated apps. 25K+ vulnerability patterns.
Read-only AI coding tools for change verification, release readiness, capacity, and guidance.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables triage of SAST findings by exposing a read-only MCP server with tools to access hash-verified source-to-sink code slices, unguarded sinks, and layered enrichment for local LLM analysis.10MIT
- FlicenseNot gradedqualityCmaintenanceAnalyzes repositories, explains architecture, calculates change impact, and enforces guardrails for AI Agents like Claude Code, Cursor, and Codex via MCP tools.-
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to query previously analyzed GitHub repositories for architecture analysis, code review findings, and single-turn code Q&A with verifiable file and line references.MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI IDEs to chat with, search, explain, refactor, and audit a local codebase without uploading source code, returning answers backed by file-and-line source citations, confidence scores, and severity labels, plus audit and board-ready strategic reports. Runs locally and standalone as an MCP server compatible with Claude, Cursor, Windsurf, and DeepSeek Harness.629 npm2MIT