youdotcom-oss/risk-analysis-server/local-run

Claude Code and agent skill by youdotcom-oss/risk-analysis-server

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Run the You.com risk-analysis MCP server locally over stdio, no auth and no accounts. Use when setting up this repo for a local demo, wiring it into Claude Desktop/Cursor, or verifying a change before pushing.

Install

npx vskill@latest install youdotcom-oss/risk-analysis-server/local-run

SKILL.md

Run the risk-analysis server locally

Steps

  1. bun add @youdotcom-oss/risk-analysis-server
  2. Set the three API keys: OPENROUTER_API_KEY (sweep model — required;

RISK_MODEL selects the model, default qwen/qwen3.8-27b), YDC_API_KEY (You.com), and TYPESAFE_API_KEY (Jev).

  1. Start the stdio server with the package's bin entry:

bunx @youdotcom-oss/risk-analysis-server — it seeds a local-user tenant and opens the database at ~/.local/share/risk-analysis-server/risk.sqlite (XDG_DATA_HOME is respected; override with RISK_DB_PATH).

  1. Point an MCP client at it, e.g. Claude Desktop:

{ "command": "bunx", "args": ["@youdotcom-oss/risk-analysis-server"], "cwd": "<project path>" }.

  1. In the client, call set_risk_profile once (returns the profile JSON with

its id), then drive trigger_manual_sweep with the two-call protocol: start with profileId — the tool returns a task_id immediately — and poll with task_id every ~20s until status is completed or failed (typical duration 2-3 minutes). Read the briefing via get_risk_report (Markdown). See the drive-sweeps skill for the full client protocol.

Verify

bunx @youdotcom-oss/risk-analysis-server responds to an MCP initialize request over stdin/stdout — e.g. pipe a JSON-RPC initialize message in and confirm a serverInfo response comes back.

Gotchas

  • No auth and no user concept in stdio mode: every profile belongs to the

seeded local-user. Auth belongs in the HTTP entry (src/server.ts), which consumers reach via the import-integration skill instead.

  • trigger_manual_sweep is fire-and-poll: the start call returns a task_id

immediately and the sweep runs in the background; poll with task_id until completed/failed (see the drive-sweeps skill). Do not add MCP task machinery — SDK v2 2.0.0 has no task runtime, and the two-call protocol already covers long-running sweeps within client timeouts.

  • Missing YDC_API_KEY silently drops the auth header, not the request — the

hosted You.com server then falls back to its free tier for you-search. If results look empty, the key is missing, not the integration.

  • Missing OPENROUTER_API_KEY is named in the startup stderr warning and

makes trigger_manual_sweep fail on model construction.

  • GUI launchers (Claude Desktop) run the server via a login shell that does

not source ~/.zshrc — put the API keys in ~/.zprofile or the config's env block. A cwd-relative RISK_DB_PATH is unnecessary: the default database path is already stable and writable.

  • A manual sweep takes ~2–3 minutes (agentic search loop + judgment gates +

synthesis through the cloud model); it runs fire-and-poll — the start call returns immediately and you poll (see the drive-sweeps skill).

  • Developing this repo itself? Clone it and run bun src/stdio.ts from the

checkout instead — that path is for contributors, not consumers.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/youdotcom-oss/risk-analysis-server/local-run/badge)](https://verified-skill.com/skills/youdotcom-oss/risk-analysis-server/local-run)

Something wrong with this skill or its page? Tell us.