Xee-mcp CLAUDE.md

Xee-mcp CLAUDE.md is an instructions file for coding agents from Aiyo28/Xee-mcp. It costs 690 tokens per session, scanned A, original, MIT.

A project instruction file for working on Xee-mcp, a read-only MCP server for searching and reading posts on X, formerly known as Twitter.

In plain words
What is it for?
Guiding agent sessions through the repository structure, authentication setup, troubleshooting, and the rule that the server must not post, like, retweet, or send messages.
Why use it?
It records the project’s boundaries, setup steps, and important safety rules so coding agents work consistently.

Instructions file

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.

agentmods
npx agentmods add instructions/aiyo28/xee-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/Aiyo28/Xee-mcp

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 Xee-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aiyo28/xee-mcp/claude-md.svg)](https://agentmods.dev/instructions/aiyo28/xee-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aiyo28/xee-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/aiyo28/xee-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 690 This file is loaded in full into every session.
When invoked 690 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00690 $0.00690
Opus 5 $0.00345 $0.00345
Sonnet 5 $0.00138 $0.00138
Haiku 4.5 $0.00069 $0.00069

Measured 5d ago against content hash 9d33fd39fef0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

Xee-mcp 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 5d 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 · 37 lines

How it starts

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

Xee-mcp — Agent Session Protocol

For Claude Code / Claude Desktop sessions working on this repo. Skinny by design.

Project shape

  • What: MCP server for X (Twitter) — search + read only. Naming: X + See = Xee.
  • Stack: Python 3.11+, mcp SDK, twikit for cookie-based scrape, uv for deps.
  • Out of scope: posting, DMs, likes, retweets. If asked to add posting, push back — that's a separate repo (different threat model, different audit surface).
  • Tag: [OSS] per ~/.claude/CLAUDE-current.md Path B. Donation-only (paypal.me/aiyo28). No paid tiers ever.

Critical gotchas

  1. Read-only is law. Tools must never mutate X state. If a future contributor adds posting, reject the PR or move it to a separate repo.
  2. Cookie file path is via XEE_MCP_COOKIES env var. Never hardcode. Never log cookie contents.
  3. twikit auth fragility. X may rotate session formats. If search or user_tweets start returning empty, first check cookie validity, not code.
  4. Single-account v0.1. Multi-account pool is v0.3 — only if reliable bot-detection forces it. Don't pre-build.
  5. Tool surface is two functions. Resist scope creep. New tools require a roadmap entry first.
  6. SEO/AEO discipline. README H1 and first paragraph are LLM-snippet targets. Don't change them without checking they still answer "What is Xee-mcp?" in <50 words.
  7. Bilingual EN-only v1. X audience is global, RU layer adds maintenance with no clear payoff. Invalidate only if RU/CIS audience signal becomes dominant.
  8. Name discipline. Repo + Python module + PyPI distro + CLI + server name + env vars all renamed from mcp-xeeXee-mcp (2026-05-17, vault [D]#4). Don't reintroduce the old name except in historical/changelog context.

Session opening checklist

  1. Read README.md (~50 lines) and ROADMAP.md (~30 lines) — the public surface contract.
  2. If working on tools: read src/xee_mcp/tools.py and src/xee_mcp/client.py first.
  3. If working on auth: read docs/cookies.md (when it exists).
  4. Cross-project context lives in vault: ~/Documents/Developer/knowledge-os/Projects/Xee-mcp/_context.md.

Read the full file on GitHub · 37 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. 5d ago First seen · 37 lines · 690 tokens per session scan A 9d33fd39fef0

Subscribe to this mod's changes

Xee-mcp CLAUDE.md is an instructions file published in the GitHub repository Aiyo28/Xee-mcp (0 stars, last pushed 2mo ago), licensed MIT. It adds 690 tokens to every session, about $0.0034 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.