claude mcp add --transport http · 1-Line Setup ClaudeAgentOptions · Scoped allowed_tools -81.3% Payload Tokens (mode="summary") 504/429 = 0 Credits · GDPR 0-PII

Claude Agent SDK & Claude Code CLI:
Scoped Hosted MCP Governance

Built for engineering teams deploying headless Anthropic Claude Agent SDK (Python ClaudeAgentOptions + mcp_servers HTTP transport) and repo-standardized Claude Code CLI (claude mcp add --transport http & .mcp.json) against https://mcp.upp3.com/mcp (alias https://upp3.com/mcp). Learn how vertical allowed_tools subsets stop 56-tool system-prompt bloat, stack with -81.3% mode="summary" compression, and keep retries at 0 credits on HTTP 504/429. (Looking for interactive Desktop UI setup? See our Claude Desktop & Code guide.)

1-Line HTTP MCP
claude mcp add --transport http connects https://mcp.upp3.com/mcp in 10 seconds
-85% to -96% Schema Tax
Scoped allowed_tools subsets prevent 56-tool (~17.9K tok/turn) prompt bloat
-81.3% Payload Tokens
mode="summary" + 0 credits on 504/429 + server-side GDPR 0-PII scrubbing
$0 / $47 / $49 / $149
Free 500/mo, $47 Once (25K never-expiring), $49/mo Pro (15K), $149/mo Scale (60K)
3-Tab Production Workbench · Live Session Key Sync

Copy-Paste Claude Code CLI, Python claude-agent-sdk & Shared .mcp.json

Authenticate with X-API-Key: ed_live_your_key_here over native Streamable HTTP (zero local Node bridge required). Claim a free key in the wizard below and your session key automatically populates ed_live_your_key_here across the CLI and Python SDK tabs.

Using placeholder ed_live_your_key_here — claim a free 500-credit key below to auto-fill CLI and Python claude-agent-sdk snippets. Auto-Fill Free Key →
Claude Code CLI (claude mcp add)
# 1) Register EdgeData Hosted MCP (Streamable HTTP) in 1 line
#    Same-origin alias https://upp3.com/mcp is equally valid
claude mcp add --transport http edgedata https://mcp.upp3.com/mcp \
  --header "X-API-Key: ed_live_your_key_here"

# 2) Optional: Write to repo-shared .mcp.json (--scope project) or global user config (--scope user)
claude mcp add --scope project --transport http edgedata https://mcp.upp3.com/mcp \
  --header "X-API-Key: ed_live_your_key_here"
# claude mcp add --scope user --transport http edgedata https://mcp.upp3.com/mcp \
#   --header "X-API-Key: ed_live_your_key_here"

# 3) Verify registered MCP server health & exact transport config
claude mcp list
claude mcp get edgedata

# 4) Optional: Direct JSON-RPC tools/list probe against Hosted MCP
curl -sS -X POST "https://mcp.upp3.com/mcp" \
  -H "X-API-Key: ed_live_your_key_here" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | head -c 500
Context Bloat Governance · 56 Tools vs. Scoped Subsets

Vertical allowed_tools Subsets vs. Unscoped 56-Tool Mounting

At ~320 tokens per JSON Schema, mounting all 56 EdgeData tools injects ~17,920 schema tokens into every single Claude turn. Scoping allowed_tools by vertical cuts Turn-1 prefill and cache-miss costs by 85.7% to 96.4% before stacking -81.3% mode="summary" payload savings.

Vertical Tool Group Verified MCP Tool Allowlist Schema Tok / Turn Schema Reduction + Prompt Caching + mode="summary"
Unscoped Baseline
(All 56 Tools)
Every tool across all 16 platforms mounted simultaneously in system prompt ~17,920 tok/turn
(~107.5K over 6 turns)
0% schema cut · High Turn-1 prefill latency, cache-miss penalty & tool routing ambiguity
E-Commerce Price & Stock
(6–8 Tools)
amazon_search_products, amazon_get_product_detail, amazon_get_reviews, walmart_get_item, walmart_get_offers, tiktok_shop_search_products, shopify_get_store_products, ebay_search_items ~1,920–2,560 tok/turn -85.7% to -89.3% schema tax + Prompt Caching (90% read cut Turns 2..N) + -81.3% payload tokens via mode="summary"
US & UK Real Estate
(4 Tools · 0-PII)
redfin_search_properties, redfin_get_market_trends, rightmove_search_properties, rightmove_get_house_price_index ~1,280 tok/turn -92.9% schema tax + server-side GDPR 0-PII scrubbing + -81.3% payload reduction
TradingView Finance
(2 Tools · Read-Only)
tradingview_get_quotes, tradingview_get_earnings_calendar ~640 tok/turn -96.4% schema tax · Ideal for 50-symbol batch watchlist jobs & daily earnings briefs
Jobs & Brand Reviews
(5 Tools · 0-PII)
trustpilot_lookup_company, trustpilot_get_reviews, linkedin_search_jobs, linkedin_get_company, amazon_get_reviews ~1,600 tok/turn -91.1% schema tax + default 0-PII reviews & public job signals + -81.3% summary payloads
Calculate Exact Team Monthly LLM Spend · 100% Browser-Local

Want to model your team’s exact Claude Sonnet / Opus input token bill under Prompt Caching (Turns 2..N billed at 10%) and mode="summary" (-81.3%)? Launch our interactive MCP Tool Schema Context Budget Calculator → to compare 56 unscoped tools against your custom 4–8 tool allowlist and export a CTO-ready Markdown budget report.

Interactive CLI vs. Headless Agent SDK · Production Playbooks

Claude Code CLI vs. Claude Agent SDK Pipelines

Standardize team exploration in Claude Code CLI with .mcp.json, then promote proven prompts into deterministic headless Python claude-agent-sdk jobs with locked allowed_tools.

Developer Terminal · Claude Code CLI

Claude Code CLI (claude mcp add + .mcp.json)

Best for interactive repository exploration, ad-hoc schema verification, and PR-adjacent competitive research directly from your shell.

  • ✓1-Line Onboarding: claude mcp add --transport http edgedata https://mcp.upp3.com/mcp
  • ✓Repo Standardization: Commit .mcp.json with ${EDGEDATA_API_KEY} env expansion so zero secrets enter Git.
  • ✓Guardrail in CLAUDE.md: Document default mode="summary" rules and vertical tool preferences for every developer.
  • ✓Instant Verification: Inspect live health anytime with claude mcp list and claude mcp get edgedata.
Headless Production · Python SDK

Claude Agent SDK (ClaudeAgentOptions + allowed_tools)

Best for scheduled CI/CD jobs, multi-tenant SaaS backends, and automated nightly monitors where strict token ceilings and least-privilege tool access are mandatory.

  • ✓Hard Tool Scoping: Enforce exact mcp__edgedata__* allowlists per worker to cut 85%–96% of schema tokens.
  • ✓Bounded Loops: Combine max_turns with mode="summary" (-81.3% payload) to prevent runaway context windows.
  • ✓Zero-Credit Retry Safety: Upstream HTTP 504 and 429 responses deduct strictly 0 credits across all 56 tools.
  • ✓GDPR 0-PII Ready: Real estate, LinkedIn jobs, and Trustpilot reviews arrive pre-sanitized before logging or storage.
Playbook 01 · Commerce 7 Tools · -87.5% Schema

Competitor Price, Buy Box & Defect Monitor

Track Amazon ASIN pricing and 2-star reviews alongside Walmart offers and Shopify DTC catalogs without triggering context compaction.

amazon_search_products amazon_get_product_detail walmart_get_offers shopify_get_store_products mode="summary"
Claude CLI / SDK Prompt
Using EdgeData MCP (always pass mode="summary"):
1. Call amazon_search_products(query="ergonomic vertical mouse", country="US", mode="summary") for top 3 ASINs.
2. Call amazon_get_product_detail and amazon_get_reviews(rating=2) on the #1 ASIN.
3. Call walmart_get_item and walmart_get_offers on matching Walmart SKU to spot Buy Box undercuts.
Output a Markdown table of price spread, seller count, and top 3 recurring buyer complaints.
Playbook 02 · Real Estate 4 Tools · -92.9% Schema

US & UK Metro Listing & HPI Monitor (0-PII)

Monitor Redfin US active listings and metro trends alongside UK Rightmove listings and House Price Index bands with GDPR 0-PII enabled by default.

redfin_search_properties redfin_get_market_trends rightmove_search_properties rightmove_get_house_price_index GDPR 0-PII
Claude CLI / SDK Prompt
Run a GDPR 0-PII housing telemetry brief with mode="summary":
1. Call redfin_search_properties(query="Austin, TX", status="active", mode="summary") and redfin_get_market_trends(query="Austin, TX", mode="summary").
2. Call rightmove_search_properties(query="Manchester", channel="BUY", mode="summary") and rightmove_get_house_price_index(location="Manchester", mode="summary").
Summarize median asking prices, days-on-market velocity, and YoY HPI shifts (informational only).
Playbook 03 · Finance 2 Tools · -96.4% Schema

TradingView Read-Only Earnings & Watchlist Brief

Pull batch quotes and upcoming corporate earnings calendars using just 2 MCP schemas (~640 tokens/turn) for ultra-lean daily market briefs.

tradingview_get_quotes tradingview_get_earnings_calendar mode="summary"
Claude CLI / SDK Prompt
Generate a read-only pre-market watchlist report (mode="summary"):
1. Call tradingview_get_quotes(symbols="NASDAQ:AAPL,NASDAQ:NVDA,NASDAQ:MSFT,NASDAQ:AMZN,BINANCE:BTCUSDT", mode="summary").
2. Call tradingview_get_earnings_calendar(markets="america", from_date="2026-12-07", to_date="2026-12-14", mode="summary").
Return a clean table of spot price, 24h change %, volume, and next EPS consensus dates. Informational telemetry only.
Live 4-Tier Direct Pricing · Zero Markup

Predictable Credit Tiers for Solo CLI Builders & Agent SDK Fleets

Every plan includes all 56 Hosted MCP tools, 67 REST routes, mode="summary" (-81.3% payload tokens), GDPR 0-PII defaults, and strictly 0 credits on HTTP 504/429.

No Card Required

Free

$0 / mo
  • ✓500 credits / mo · instant cardless key
  • ✓All 56 Hosted MCP tools & 67 REST routes
  • ✓mode="summary" (-81.3%) & 0-credit 504/429
Claim Free Key ↓
Best Value · Never Expires

Starter Credit Pack

$47 once
  • ✓25,000 credits · Never Expire ($1.88 / 1k)
  • ✓Zero monthly subscription lock-in
  • ✓Ideal for Claude Code CLI & burst SDK jobs
Get $47 Pack (25K) →
Production Teams

Pro

$49 / mo
  • ✓15,000 credits / mo · sustained concurrency
  • ✓Team-shared .mcp.json & CI automation
  • ✓HTTP 504/429 = 0 credits + GDPR 0-PII
Choose Pro ($49/mo) →
High Throughput Fleet

Scale

$149 / mo
  • ✓60,000 credits / mo · priority routing
  • ✓Multi-worker Claude Agent SDK pipelines
  • ✓Stack $47 packs anytime for peak traffic
Choose Scale ($149/mo) →
Claude Agent SDK & Code CLI MCP FAQ

Frequently Asked Questions

Exact answers on scoping allowed_tools, one-line claude mcp add --transport http setup, tool naming conventions, mode="summary" + 0-credit retries, and pricing.

Why should I scope allowed_tools in Claude Agent SDK instead of mounting all 56 EdgeData MCP tools?
Every mounted MCP tool injects its JSON Schema (~320 tokens) into Claude's system prompt on every reasoning turn. Mounting all 56 tools consumes ~17,920 schema tokens per turn before a single tool response arrives, whereas scoping allowed_tools to 2 to 8 vertical tools cuts schema overhead by 85% to 96% and reduces tool-selection ambiguity.
What is the exact one-line Claude Code CLI command to connect EdgeData Hosted MCP with X-API-Key?
Run claude mcp add --transport http edgedata https://mcp.upp3.com/mcp --header "X-API-Key: ed_live_your_key_here" (add --scope project to write a team-shared .mcp.json or --scope user for personal global access), then verify with claude mcp list and claude mcp get edgedata. The same-origin alias https://upp3.com/mcp works identically.
How do I reference EdgeData MCP tools inside ClaudeAgentOptions allowed_tools?
Claude Agent SDK namespaces MCP tools as mcp__<server_name>__<tool_name>. When you register mcp_servers={"edgedata": {"type": "http", "url": "https://mcp.upp3.com/mcp", "headers": {"X-API-Key": api_key}}}, list exact allowlisted entries such as mcp__edgedata__amazon_search_products, mcp__edgedata__walmart_get_item, or mcp__edgedata__redfin_search_properties.
How do mode='summary' and HTTP 504/429 zero-credit billing protect Claude Agent SDK loops?
Passing mode='summary' strips raw HTML and bloated arrays server-side to cut payload tokens by -81.3% on average, preventing early context compaction across multi-turn Claude runs. If an upstream platform returns HTTP 504 or 429, EdgeData strictly charges 0 credits so automated retries never waste budget.
What pricing plans and GDPR 0-PII protections apply to Claude Code CLI and Claude Agent SDK teams?
EdgeData enforces server-side GDPR 0-PII scrubbing by default across real estate, LinkedIn public jobs, and Trustpilot reviews. Teams can start cardless on Free ($0/mo, 500 credits/mo), buy the Starter Credit Pack ($47 once for 25,000 never-expiring credits at $1.88 per 1k credits), or run monthly SLAs on Pro ($49/mo, 15,000 credits/mo) and Scale ($149/mo, 60,000 credits/mo).