惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Martin Fowler
Martin Fowler
MyScale Blog
MyScale Blog
博客园 - 聂微东
有赞技术团队
有赞技术团队
The Cloudflare Blog
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
T
The Blog of Author Tim Ferriss
D
Docker
L
LangChain Blog
Vercel News
Vercel News
C
Check Point Blog
博客园 - Franky
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
V2EX
人人都是产品经理
人人都是产品经理

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
CHE MCP — Building Argentina's First National MCP Ecosyst...
AlbanoSanchez · 2026-06-22 · via DEV Community

AlbanoSanchez

Argentina just got its first national MCP ecosystem — and it was built from Bahía Blanca.

CHE MCP is an intelligent gateway that connects any AI agent with real-time Argentine data. Dollar exchange rates, weather, football, tax compliance (ARCA), inflation, public transit — 80+ official data sources through a SINGLE MCP server.

Why does this matter? Because right now, if you want your AI to answer "¿cuánto está el dólar blue?", you either Google it yourself or install 80 different MCP servers. CHE MCP solves that with a gateway that understands natural language in Spanish and routes queries automatically.


How It Works — 5-Stage Intelligent Gateway

Query: "dolar blue hoy"

┌────▼─────┐ Stage 1 — Keyword matching
│ Keyword │ 3,000+ keywords across 182 classified domains
└────┬─────┘

┌────▼─────┐ Stage 2 — WMA weighted routing
│ WMA │ Weighted Majority Algorithm: learns from every query
└────┬─────┘

┌────▼─────┐ Stage 3 — Semantic embeddings
│ Embedding │ 384-dim vectors (all-MiniLM-L6-v2) with Jaccard fallback
└────┬─────┘

┌────▼─────┐ Stage 4 — Data Node search
│ Data Node │ DuckDB SQL over 748 Parquet datasets + NL-to-SQL
└────┬─────┘

┌────▼─────┐ Stage 5 — LLM fallback
│ LLM │ External endpoint (optional, configurable)
└────┬─────┘

┌────▼─────┐
│ Response │ "Dólar blue: $1,245 / $1,265 compra/venta"
└──────────┘

The WMA Router — A Classifier That Learns

The Weighted Majority Algorithm (WMA) is an online learning system embedded directly in the router. Every domain starts with equal weight (1.0). When a query succeeds, the winning domain gets reinforced (+0.1). When it fails, the domain gets penalized (−0.1). Weights are bounded at [0.1, 5.0] and persisted to disk — the router starts warm and improves with every query.

Benchmark: 95.45% Top-First-Score accuracy on MCPAgentBench (66 diverse queries).

Data Node — SQL, But Natural

748 Parquet datasets from datos.gob.ar (Argentina's open data portal), compressed 9.92× with Zstd (404 MB vs 3.92 GB CSV). The Data Node converts natural language to SQL:

User: "¿Cuánto aumentó la inflación en 2024?"
→ DuckDB generates: SELECT AVG(valor) FROM indice_precios_consumidor
WHERE fecha BETWEEN '2024-01-01' AND '2024-12-31'
→ Result: 117.8% anual

SQL injection guardrails, read-only enforcement, 5-second timeout, 1,000-row result limit.

Resilience Patterns

Pattern Implementation
3-tier cache In-memory LRU (200 entries) → disk (atomic writes) → live CKAN
Circuit breaker Per-dataset, 3-failure threshold, 60s cooldown, serves stale data
Request collapsing Concurrent identical queries share a single upstream fetch
Predictive pre-fetch Top-10 hot datasets refresh every 15 minutes
Rate limiting Token bucket per API key, 100 req/min, noisy neighbor isolation

Built for the Next MCP Standard

The Model Context Protocol is undergoing its biggest architectural update in July 2026 — mandatory Streamable HTTP transport, stateless architecture. CHE MCP was architected for this from day one:

  • ✅ Streamable HTTP transport
  • ✅ MCP SDK @modelcontextprotocol v1.29.0
  • ✅ JWT + API key auth with scope validation
  • ✅ OpenTelemetry distributed tracing

Tech Stack

  • TypeScript 5.4 + Node.js 24
  • DuckDB (columnar, embeddable)
  • all-MiniLM-L6-v2 via @xenova/transformers
  • Zod validation, Vitest (280+ tests)
  • MCP SDK v1.29.0 (server.registerTool API)

Built from Bahía Blanca, Argentina 🇦🇷 with Gentle AI's SDD orchestration + Engram persistent memory.

Full technical documentation: github.com/Albano-schz/che-mcp-docs


What questions do you have about building MCP ecosystems at national scale?