shadow-perception-mcp

shadow-perception-mcp

An MCP server that scans data science artifacts (Jupyter notebooks, R scripts, code) and runs a 5-voice compliance council to detect issues like leakage and fairness, outputting signed verdicts.

Category
访问服务器

README

shadow-perception-mcp

Shadow's eye. Reads what a knowledge worker is looking at (Kaggle notebook / Power BI dashboard / R analysis / trading terminal) and feeds it to a deterministic 5-voice council. Sign-off on the observation with Ed25519 so the artifact is procurement-grade.

Companion product to alex-jb/shadow-mentor — Shadow's banking loan council. Same Ed25519 attestation primitive, same 5-voice architecture, different target audience.

What it does

Point Shadow's eye at a Jupyter notebook, Power BI report, or R session. Five voices review it:

  • Leakage — train/test contamination, target leakage, temporal leakage
  • Fairness — protected-class proxies (ECOA §701 / GDPR Art. 9) in features
  • Reproducibility — seed pinning, environment lock, deterministic ops
  • Compliance — Kaggle competition rules, SR 11-7 model risk, EU AI Act Art. 22
  • Ops — inference latency, memory, deploy footprint

Each voice returns SHIP / REWORK / BLOCK. Ed25519 signature over the verdict — attach to your Kaggle submission or share with a teammate as proof of pre-submit review.

Install (as MCP server)

// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "shadow-perception": {
      "command": "npx",
      "args": ["-y", "shadow-perception-mcp"]
    }
  }
}

Then in Claude Desktop: /perception scan this notebook.

Install (as CLI, no MCP)

npm install -g shadow-perception-mcp
shadow-perception scan my-kaggle-notebook.ipynb

Three MCP tools shipped

  • shadow_perception_scan — read a Jupyter notebook, R script, or code file; return structured observations (imports / functions / cells / detected leakage patterns).
  • shadow_perception_council — run the 5-voice council on structured observations; return verdict + per-voice rationale + adverse-action codes.
  • shadow_perception_attest — Ed25519 sign the verdict; produces an attestation JSON that anyone with the public key can verify.

Why fork perception from shadow-mentor?

  • Bank counsel review face — Shadow banking edition sells to Raymond James, LPL, Stifel. Bank counsel does not want "watches employee screens" in the same procurement contract. Keeping perception in a separate repo shrinks their sign-off surface.
  • Different audience — Kaggle competitors and data scientists want a mentor that sees their notebook. Bank counsel wants a mentor that never leaves the VPC. Same architecture, different distribution.
  • Same primitive — Ed25519 attestation + 5-voice council + MCP server pattern is verbatim from shadow-mentor. Nothing new to invent; just a new vertical rubric.

Why start with Kaggle first

  • Cheapest to build: Python LSP is mature (pyright), nbformat parses .ipynb directly, Kaggle API exposes competition rules. Zero vision needed.
  • Most differentiated: no OSS tool today runs a 5-voice pre-submit council on a Kaggle notebook with Ed25519 sign-off. Copilot / Cursor autocomplete; they don't audit.
  • Biggest audience: ~15M Kaggle users as of 2026.

Roadmap

  • v0.1 (this release) — Kaggle notebook scan + council + attestation
  • v0.2 — Power BI (XMLA endpoint parse, DAX measure council)
  • v0.3 — R (languageserver LSP, ggplot2 features council)
  • v0.4 — Trading terminal (Interactive Brokers ib_insync, pre-trade council)
  • v0.5 — Vision fallback (Claude Vision on charts / dashboards where LSP is blind)

Verticals ship as separate SKILL.md files on skills.sh so users install only what they need.

Relationship to shadow-mentor

Shadow banking council + Shadow perception mcp = the full "compliance council + reality reader" story used in the IEEE VR 2027 paper "Ambient Council for Regulated AI Decisions." Both repos MIT, both authored by Alex Ji, both share the Ed25519 attestation primitive so decisions from either can be cross-verified with the same public key.

License

MIT — see LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选