Lingua Detective x402 MCP
Integrates with Solana for x402 micropayments in USDC, enabling paid API calls through a funded Solana wallet, local transaction signing, sponsored gas via a facilitator, mainnet/devnet support, and optional Solana RPC for blockhash fallback.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lingua Detective x402 MCPdetect the language of: "Bonjour tout le monde, comment ça va ?""
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Lingua Detective x402 MCP
Serveur MCP exposant les API payantes de Lingua Detective en paiement à l'unité x402 (USDC sur Solana, gas sponsorisé) : aucun compte, aucune clé API, aucun abonnement. Un agent IA appelle l'outil, paie quelques centimes, reçoit le résultat.
Outils (4)
Outil | Endpoint | Prix |
|
| 0,002 $ |
|
| 0,004 $ |
|
| 0,006 $ |
|
| libre (min 0,006 $) |
Related MCP server: x402 Payment Gateway MCP Server
Modes de paiement
Le serveur lit sa configuration dans l'environnement. Deux modes (dans l'ordre de priorité) :
Crédit prépayé —
X402_CREDIT_TOKEN: un jeton opaque obtenu via un top-up (credit_topupoubundle_check). Chaque appel débite le crédit sans transaction Solana. Idéal pour un volume élevé.Wallet payeur —
X402_PAYER_KEY_B64: clé privée Solana (64 octets, base64) d'un wallet financé en USDC (pas de SOL requis : le gas est sponsorisé par le facilitateur). Chaque appel règle sa transaction x402 automatiquement.
Sans l'un ni l'autre, les outils renvoient le challenge 402 décodé (montant, adresse
payTo, réseau) afin que l'agent comprenne ce qui est demandé.
Variables d'environnement
Variable | Rôle | Défaut |
| Base de l'API payante |
|
|
|
|
| Wallet payeur (secret key 64 octets, base64) | — |
| Jeton de crédit prépayé | — |
| Verrouille le destinataire (anti-détournement) | — |
| Facilitateur x402 (Dexter) |
|
| RPC Solana (fallback blockhash) | mainnet-beta public |
Installation
Claude Desktop
{
"mcpServers": {
"linguadetective": {
"command": "npx",
"args": ["-y", "lingua-x402-mcp"],
"env": {
"X402_PAYER_KEY_B64": "<votre clé privée base64>",
"X402_TRUSTED_PAYTO": "H3NuGHu9mpGgscj2DWtrs699PWdovPUicy2N9dDaYLTk"
}
}
}
}Cursor / autres clients stdio
Ajoutez la même entrée command: npx, args: ["-y", "lingua-x402-mcp"] avec vos env.
Local
git clone https://github.com/maximethemens-code/lingua-x402-mcp && cd lingua-x402-mcp && npm install
X402_PAYER_KEY_B64=... npm start # npm start = node src/index.jsExemple d'appel
detect_langue { text: "Bonjour tout le monde, ceci est une phrase en français." }
→ { "langues": [ { "code": "fra", "nom": "français", ... } ], ... } (0,002 $ USDC débité)Sécurité
X402_PAYER_KEY_B64n'est jamais transmis au serveur : il ne sert qu'à signer la transaction localement.X402_TRUSTED_PAYTOest fortement recommandé : il empêche le wallet de payer un destinataire inattendu (ex. siX402_BASE_URLpointe vers un serveur malveillant).Le wallet de paiement doit être distinct du wallet de réception (
payTo).
Limites connues
La détection est hors-ligne (bibliothèque
franc, 186 langues, codes ISO 639-3) : pas d'appel réseau, mais un texte trop court (< 10 caractères) renvoie une erreur.Le règlement réel on-chain (verify/settle via Dexter) n'est exercé qu'avec un wallet effectivement financé en USDC.
This server cannot be deployed
Maintenance
Related MCP Connectors
17-model LLM gateway + 350+ data/KYB/sanctions tools. Pay-per-call USDC via x402, no API key.
Solana address risk grades and token scans for AI agents. Pay-per-call via x402 (USDC on Base).
x402 paid API tools for AI agents on Solana: crypto safety, market data, KYB/AML verification.
Pay-per-use tool API for AI agents. Free tier, x402 USDC micropayments, or API key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and pay for x402-enabled services using natural language, with multi-chain support for Solana and EVM payments.51MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to make micropayments using USDC on Solana via the x402 protocol, supporting payment requests, on-chain verification, and revenue tracking.MIT
- AlicenseNot gradedqualityAmaintenanceCrypto-native LLM gateway with OpenAI-compatible API and per-token USDC payments on Solana via the x402 protocol.4,698MIT

@bridgenode/mcpofficial
AlicenseAqualityAmaintenanceEnables AI agents to make pay-as-you-go AI inference requests through x402 with automatic Solana USDC payments, no API keys or registration, while enforcing configurable spending limits.33471MIT No Attribution