LEKANDO MCP - for AI agents
An official MCP server compatible with the Model Context Protocol (transport: HTTP POST + JSON-RPC 2.0). MCP-capable AI platforms can connect directly and call Lekando data and calculators as tools.
Endpoint
POST https://api.lekando.com/v1/mcp
Authorization: Bearer lk_live_...
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}GET https://api.lekando.com/v1/mcp - public discovery card, no key needed
Authentication and permissions
Two methods: (1) OAuth 2.1 with PKCE - recommended, auto-discovery via /.well-known/oauth-protected-resource, a secure consent page, and short-lived access tokens with refresh; (2) your API key directly: Authorization: Bearer
Supported methods: initialize, ping, tools/list, tools/call. Every MCP tool maps 1:1 onto a real REST endpoint and runs the same engine - results carry source and verification data in structuredContent.meta.
Available tools
figures.list/figures.get- /v1/figurescountries.list/countries.get- /v1/countriessearch- /v1/searchtools.list/tools.get/tools.calculate- /v1/tools
tools/call
{"jsonrpc":"2.0","id":2,"method":"tools/call",
"params":{"name":"tools.calculate",
"arguments":{"id":"iq-tool-usd-iqd-converter",
"inputs":{"amount":100,"direction":0}}}}Webhooks - instant notifications
Register an HTTPS URL and the API will POST signed event notifications to it. Verify the signature header X-Lekando-Signature: sha256=
Available events
usage.threshold- usage.threshold: fires when you reach 80% and then 100% of your daily quota.webhook.test- POST /v1/webhooks/{id}/test
Manage: GET /v1/webhooks to list, POST /v1/webhooks to create (secret shown once), POST /v1/webhooks/{id}/test to send a test delivery, POST /v1/webhooks/{id}/delete to remove. A subscription auto-disables after 20 consecutive failures.
curl -X POST https://api.lekando.com/v1/webhooks \
-H "Authorization: Bearer lk_live_..." \
-H "Content-Type: application/json" \
-d '{"url":"https://your-app.example/hooks/lekando","events":["usage.threshold"]}'MCP Playground · server.json: /server.json