world-intel-mcp: Instructions file for Claude Code

CLAUDE.md

world-intel-mcp CLAUDE.md is an instructions file for Claude Code from marc-shade/world-intel-mcp. It costs 2,836 tokens per session, scanned A, original, MIT.

Repository instructions for a world-intelligence server that gives coding agents access to live information from public APIs. They explain the server, its commands, installation, and ways to run it.

In plain words
What is it for?
Use them when working on the server, running its tests, starting its MCP connection, using its command-line tools, or launching its dashboard.
Why use it?
They give an agent the project-specific guidance needed to install, test, and operate the server correctly. This avoids guessing how its components and commands fit together.

Instructions file for Claude Code

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

This is marc-shade/world-intel-mcp's own configuration. It tells Claude Code how to work on world-intel-mcp 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 world-intel-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to marc-shade/world-intel-mcp. 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/marc-shade/world-intel-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/marc-shade/world-intel-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/marc-shade/world-intel-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/marc-shade/world-intel-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/marc-shade/world-intel-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/marc-shade/world-intel-mcp/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 world-intel-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/marc-shade/world-intel-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/marc-shade/world-intel-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,836 This file is loaded in full into every session.
When invoked 2,836 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 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.02836 $0.02836
Opus 5.5 $0.01134 $0.01134
Sonnet 5.5 $0.00567 $0.00567
Haiku 4.5 $0.00284 $0.00284

Measured 19d ago against content hash 7a72b0f4b2a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

world-intel-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 19d 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 · 108 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Is

World Intelligence MCP Server: 160 tools across 30+ domains providing real-time global intelligence from free public APIs. Serves four interfaces: MCP stdio (for Claude Code/Cursor), a live Starlette dashboard with SSE, a Click CLI with Rich output, and a collector daemon for 24/7 vector store population. Python 3.11+, built with hatchling.

Commands

# Install
pip install -e ".[dev,dashboard]"

# Run MCP server (stdio mode)
world-intel-mcp

# Run tests (pytest-asyncio, auto mode)
pytest
pytest --cov=world_intel_mcp
pytest src/world_intel_mcp/tests/test_sources.py::test_fetch_market_quotes -v  # single test

# CLI
intel markets                    # stock indices
intel earthquakes --min-mag 5.0  # USGS quakes
intel status                     # cache + circuit breaker health

# Dashboard (requires [dashboard] extra)
intel-dashboard --port 8501
# Or with .env auto-loaded:
./run-dashboard.sh

Architecture

Three consumers share the same source modules and infrastructure stack:

server.py (MCP stdio)  ─┐                                              ┌─ VectorStore (Qdrant)
cli.py (Click CLI)      ├─> sources/*.py ─> Fetcher ─> CircuitBreaker ─┤
dashboard/app.py (SSE)  ─┘    analysis/*.py                            └─ Cache (SQLite)
collector.py (daemon)  ──┘

Infrastructure layer (fetcher.py, cache.py, circuit_breaker.py):

  • Fetcher: Centralized async HTTP client (httpx). All external calls go through get_json(), get_text(), get_xml() or get_bytes() (binary bodies, streamed under a size cap, never cached). Handles retries (2 max), per-source rate limiting, and stale-data fallback (never returns blank if old data exists). Failure logs and returned error strings pass through redact(), which masks credential query parameters and the values of *_KEY / *_TOKEN / *_SECRET / *_PASSWORD environment variables.
  • CircuitBreaker: Per-source tracking. 3 consecutive failures trips the breaker for 5 minutes. Each RSS feed gets its own breaker (rss:bbc_world).
  • Cache: SQLite WAL-mode TTL cache. get() returns live data, get_stale() returns expired data for fallback.

Read the full file on GitHub · 108 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. 19d ago Changed · +8 lines · +483 tokens per session 7a72b0f4b2a6
  2. 25d ago Changed 55690a849077
  3. 26d ago Changed · +2 lines · +264 tokens per session d835a72eef05
  4. 2mo ago Changed · +5 lines · +603 tokens per session 1c7619bb8cec
  5. 2mo ago First seen · 93 lines · 1,486 tokens per session scan A a3f0eb33a1b8

Subscribe to this mod's changes

world-intel-mcp CLAUDE.md is an instructions file published in the GitHub repository marc-shade/world-intel-mcp (1,064 stars, last pushed 19d ago), licensed MIT. It adds 2,836 tokens to every session, about $0.0113 per session on Opus 5.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-30.

Related

world-intel-mcp CLAUDE.md compared with instructions from other repositories

world-intel-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
world-intel-mcp CLAUDE.mdmarc-shade/world-intel-mcpInstructions file1.1k19d agoMITA2,836Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode