LCX Liberty. American DeFi. Your keys. Your assets. Your control.
SDKs & tools
MCP server
Use the API from Claude, Cursor or any MCP client. The server is hosted, so nothing installs.
Connect
The server is hosted, so there is nothing to run locally. Add the URL and your key to your client's MCP configuration:
json
{
"mcpServers": {
"lcx-liberty": {
"type": "http",
"url": "https://swap-api.lcx.com/mcp",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}The Authorization header is required: every tool call needs a valid LCX Liberty API key, the same key your REST calls use. Without one the server answers with a message saying so rather than a quote. The Free plan's key is enough, and it is created in the console in a minute.
Tools
| Tool | What it does |
|---|---|
get_quote | Best route and expected output for a pair. |
search_tokens | Resolve a ticker into an address. |
get_price | USD price from real pool depth. |
list_chains | Supported chains and index health. |
get_my_usage | Your plan, calls used and remaining. |
What it will and will not do
- Every tool is read-only. Nothing here executes a trade or builds calldata. An agent can price a route. It cannot spend anything.
- Calls count against your plan exactly as HTTP calls do. The requests go through the same gateway, not a side door.