mcp-client

mcp-client is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 17 tokens per session (1,312 once invoked), scanned A, original, MIT.

A reference for writing programs that call AiRaccoon's MCP server over HTTP. It covers the server setup and the format used to receive responses.

In plain words
What is it for?
Use it when writing Python, Node, or command-line clients that connect to AiRaccoon, send MCP requests, and parse its server-sent event responses.
Why use it?
It prevents common integration errors, such as using the wrong address, missing the required model file, or treating event-stream responses as ordinary JSON.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when writing Python, Node, or command-line clients that connect to AiRaccoon, send MCP requests, and parse its server-sent event responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/ai-raccoon-mcp-client
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Arasz/ai-raccoon --skill ai-raccoon-mcp-client
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code, Codex.

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 mcp-client

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/ai-raccoon-mcp-client/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/ai-raccoon-mcp-client)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/ai-raccoon-mcp-client"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/ai-raccoon-mcp-client/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 mcp-client

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/ai-raccoon-mcp-client"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/ai-raccoon-mcp-client.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,312 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
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.00017 $0.01312
Opus 5.5 $0.00007 $0.00525
Sonnet 5.5 $0.00003 $0.00262
Haiku 4.5 $0.00002 $0.00131

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

Security

Grade A, and why

mcp-client scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

transport. Read this before writing any Python/Node/curl code that hits the MCP endpoint.
.ai-badger/skills/learned/uncategorized/ai-raccoon-mcp-client/SKILL.md · 128 lines

How it starts

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

AiRaccoon MCP Client

Operational reference for scripts and tools that call AiRaccoon's MCP server over its HTTP transport. Read this before writing any Python/Node/curl code that hits the MCP endpoint.

Prerequisites

  • AiRaccoon server built and running: MCP_TRANSPORT=http dotnet run --project src/AiRaccoon
  • Server listens on http://localhost:5000/mcp by default (not 8080)
  • ONNX model must be in build output: copy src/AiRaccoon/Models/model_qint8_arm64.onnx into src/AiRaccoon/bin/Debug/net10.0/Models/ after dotnet build (the .csproj doesn't auto-copy it)

Transport: SSE (Server-Sent Events)

AiRaccoon's Streamable HTTP transport returns MCP responses as SSE:

event: message
data: {"result":{"content":[{"type":"text","text":"{...}"}]},"id":1,"jsonrpc":"2.0"}

Do NOT call resp.json() directly. Parse with:

text = resp.text
if "event:" in text and "data:" in text:
    data_line = next((line.removeprefix("data: ").strip()
                      for line in text.splitlines()
                      if line.startswith("data: ")), "{}")
    outer = json.loads(data_line)
else:
    outer = resp.json()

The actual tool result is nested: outer["result"]["content"][0]["text"] is a JSON string that needs a second json.loads(). Use a helper:

def _unwrap(rpc_response: dict) -> dict:
    content = rpc_response.get("result", {}).get("content", [])
    text = content[0].get("text", "{}") if content else "{}"
    return json.loads(text)

memory_write: no path parameter, context → scope='custom'

memory_write signature: projectId, content, workspaceId?, agentId?, context?. There is no path parameter. AiRaccoon auto-generates the path as SHA256(content).hex + ".md".

Critical pitfall: passing context to memory_write sets scope='custom' in the entries table, making those entries invisible to memory_search(scope="project") and uncountable by memory_stats (which filters WHERE scope = 'project'). Do NOT pass context unless you intend custom-scoped entries.

Read the full file on GitHub · 128 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 128 lines · 17 tokens per session scan A e0712f3b319d

Subscribe to this mod's changes

mcp-client is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 1,312 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

mcp-client compared with skills from other repositories

mcp-client next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-clientArasz/ai-raccoonSkill7todayMITA17Claude Code, Codex
cartographer-kb-source-authorBeppeTemp/cartographerSkill74yesterdayApache-2.0A106Claude Code, Codex
architectureariaxhan/kernel-claudeSkill16yesterdayMITA34Claude Code
http-client-migrationGen-Verse/PAST-BenchSkill404mo agoApache-2.0A14Claude Code, Codex
python-networking-styleGen-Verse/PAST-BenchSkill404mo agoApache-2.0A10Claude Code, Codex
stripe-docsstripe/aiSkill2.1kyesterdayMITA46Claude Code
deepep-to-cam-converterXiaoLuoLYG/GODSkill1.3k11d agoApache-2.0A63Claude Code, Codex