Skip to main content
Glama

BIASCOPE — Embedded bias probe suite — demographic / occupational / geographic

Part of the Cognis Neural Suite by Cognis Digital Cognis Open Collaboration License (COCL) v1.0 · domain: ai-security

PyPI CI License: COCL 1.0 Suite

Embedded bias probe suite — demographic / occupational / geographic.

AI Security & Governance — securing LLMs, agents, and the MCP supply chain.

Usage — step by step

  1. Install the probe suite:

    pip install cognis-biascope
  2. Scan a completions file for demographic / occupational / geographic bias. scan takes the recorded completions path:

    biascope scan demos/completions.jsonl
  3. Tune the sensitivity--threshold (default 3) sets how many probe hits flag a bias finding:

    biascope scan demos/completions.jsonl --threshold 2
  4. Read the output as JSON (the global --format flag is table or json and precedes the subcommand), and inspect the probe catalog behind the findings:

    biascope --format json scan demos/completions.jsonl
    biascope probes
  5. Automate in CI — capture model completions, then scan them on every eval run:

    - run: pip install cognis-biascope
    - run: biascope --format json scan eval/completions.jsonl > biascope.json

Related MCP server: Bias Detection MCP

Why

Security and intelligence teams need embedded bias probe suite — demographic / occupational / geographic without standing up heavyweight infrastructure. biascope is single-purpose, scriptable, CI-friendly, and self-hostable: point it at a target, get prioritized findings in the format your workflow already speaks (table, JSON, SARIF, HTML), and wire it into agents over MCP when you want it autonomous.

Install

pip install cognis-biascope
# or, from this repo:
pip install -e ".[dev]"

Quick start

biascope --version
biascope scan demos/                      # run against the bundled demo
biascope scan demos/ --format sarif --out r.sarif --fail-on high
biascope scan demos/ --format html --out report.html
biascope mcp                              # expose as an MCP server (Cognis.Studio / Claude Desktop / Cursor)

Built-in demo scenarios

Each scenario folder includes a SCENARIO.md describing the situation and the findings to expect.

Output formats

  • Table (default) — human-readable terminal summary

  • JSON — machine-readable findings for pipelines

  • SARIF — drops into GitHub code-scanning / IDE problem panes

  • HTML — shareable report with severity rollups

Credits / Built on

Cognis composes and credits the best of open source. This tool builds on / interoperates with:

Missing a credit? Open a PR — see CONTRIBUTING.md.

How it fits the Cognis Neural Suite

biascope is one of 52 tools in the Cognis Neural Suite. Every tool ships an MCP server, so Cognis.Studio agents can call them as scoped capabilities.

Sibling tools in ai-security: aegis, promptmirror, ledgermind, adversa, guardpost, hallumark, aicard, mcpharden, agentlog, ragshield

Architecture & roadmap

Contributing

PRs, new detections, and demo scenarios are welcome under the collaboration-pull model. See CONTRIBUTING.md and SECURITY.md.

Interoperability

biascope composes with the 300+ tool Cognis suite — JSON in/out and a shared OpenAI-compatible /v1 backbone. See INTEROP.md for the suite map, composition patterns, and reference stacks.

Integrations

Forward biascope's findings to STIX/MISP/Sigma/Splunk/Elastic/Slack/webhooks via cognis-connect. See INTEGRATIONS.md.

License

Source-available under the Cognis Open Collaboration License (COCL) v1.0 — free for personal, internal-evaluation, research, and educational use; commercial / production use requires a license (licensing@cognis.digital). See LICENSE.

Responsible use

This is dual-use security software. Use it only against systems, data, and identities you own or are explicitly authorized in writing to test, and in compliance with applicable law.

About

Cognis Digital — Wyoming, USA · Making Tomorrow Better Today: Advanced Cybersecurity, AI Innovation, and Blockchain Expertise.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cognis-digital/biascope'

If you have feedback or need assistance with the MCP directory API, please join our Discord server