youdotcom-mcp-server: Instructions file for Claude Code

CLAUDE.md

youdotcom-mcp-server CLAUDE.md is an instructions file for Claude Code from brainsparker/youdotcom-mcp-server. It costs 1,931 tokens per session, scanned A, original, from a forked repository, MIT.

Development instructions for a You.com MCP server, a program that lets coding tools access You.com’s web-search API. They describe using the Bun JavaScript runtime and the project’s setup, build, and test commands.

In plain words
What is it for?
Use them when developing the server, setting its API key, starting local development, building the production bundle, or running tests and coverage checks.
Why use it?
They give contributors a consistent way to configure, run, build, and test the server without guessing which tools or commands the project expects.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is brainsparker/youdotcom-mcp-server's own configuration. It tells Claude Code how to work on youdotcom-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything youdotcom-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to brainsparker/youdotcom-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/brainsparker/youdotcom-mcp-server/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/brainsparker/youdotcom-mcp-server

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for youdotcom-mcp-server CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/brainsparker/youdotcom-mcp-server/claude-md/github.svg)](https://agentmods.dev/instructions/brainsparker/youdotcom-mcp-server/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/brainsparker/youdotcom-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/brainsparker/youdotcom-mcp-server/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for youdotcom-mcp-server CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/brainsparker/youdotcom-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/brainsparker/youdotcom-mcp-server/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,931 This file is loaded in full into every session.
When invoked 1,931 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin fork From a forked repository.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01931 $0.01931
Opus 5.5 $0.00772 $0.00772
Sonnet 5.5 $0.00386 $0.00386
Haiku 4.5 $0.00193 $0.00193

Measured 2mo ago against content hash a94f83dcbe85, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

youdotcom-mcp-server CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You.com MCP Server Development Guide

This is a Model Context Protocol (MCP) server that provides web search capabilities through You.com's Search API.

Runtime and Package Management

Use Bun instead of Node.js (requires Bun >= 1.2.21):

  • Use bun <file> instead of node <file> or ts-node <file>
  • Use bun install instead of npm install or yarn install or pnpm install
  • Use bun run <script> instead of npm run <script> or yarn run <script> or pnpm run <script>
  • Bun automatically loads .env files, so don't use dotenv

Local Development Setup

Set up your environment file with your You.com API key:

echo "export YDC_API_KEY=<you-api-key>" > .env
source .env

Usage: Replace <you-api-key> with your actual API key:

echo "export YDC_API_KEY=your-actual-api-key-here" > .env
source .env

This creates a .env file with your API key and loads it into your shell session.

Development Commands

  • bun run dev - Start MCP server in stdio mode for development
  • bun run build - Build production bundle to dist/
  • bun run test - Run test suite
  • bun run test:coverage - Run tests with coverage report
  • bun run check - Run Biome linting and formatting checks
  • bun run check:write - Auto-fix linting and formatting issues

Code Quality with Biome

This project uses Biome for linting and formatting instead of ESLint/Prettier:

  • Configuration: Uses single quotes, space indentation, and auto-import organization
  • Key Rules: noUnusedVariables: error, useConst: error
  • Style Preference: Use arrow functions instead of function declarations
  • Commands: Use bun run check to verify code quality, bun run check:write to auto-fix

MCP Server Development

Tool Registration

Use Zod schemas for tool parameter validation:

server.registerTool(
  'tool-name',
  {
    title: 'Tool Title',
    description: 'Tool description',
    inputSchema: SomeZodSchema.shape,
    outputSchema: ResponseSchema.shape,
  },
  async (parameters) => {
    // Tool implementation
    return {
      content: [{ type: 'text', text: 'Result' }],
      structuredContent: responseData,
    };
  }
);

Read the full file on GitHub · 205 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 205 lines · 1,931 tokens per session scan A a94f83dcbe85

Subscribe to this mod's changes

youdotcom-mcp-server CLAUDE.md is an instructions file published in the GitHub repository brainsparker/youdotcom-mcp-server (1 stars, last pushed 5mo ago), licensed MIT. It adds 1,931 tokens to every session, about $0.0077 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

youdotcom-mcp-server CLAUDE.md compared with instructions from other repositories

youdotcom-mcp-server CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
youdotcom-mcp-server CLAUDE.mdbrainsparker/youdotcom-mcp-serverInstructions file15mo agoMITA1,931Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot