Agents
Agents
The MCP server gives Claude, ChatGPT, Cursor or any MCP client the whole API in four tools. Every page is also there in Markdown.
Connect the MCP server
https://api.lobstr.io/v2/mcp, with your API key:
claude mcp add --transport http lobstr https://api.lobstr.io/v2/mcp \ --header "Authorization: Bearer YOUR_API_KEY"
Or paste this to your agent:
Connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp)
with my API key. Then find the operation that fits,
tell me what it costs, and get every bakery in Lyon
from Google Maps with its phone number.Four tools
find_operationstoolThe operations that fit what you need, with their price.
get_operationtoolIts options, the fields of its records, its errors.
run_operationtoolOne page of records, what it cost, and the call for the next page.
get_balancetoolThe credits left, and what one credit costs on your plan.
They go through the API itself: an agent gets the same answers, errors and prices as your code. Listing the tools needs no key.
For agents that read
- lobstr.io/llms.txt: lobstr.io in one page, every operation with its price.
- api.lobstr.io/v2/catalog.md: every operation; each one's whole contract at
/v2/catalog/{source}/{resource}/{verb}.md. - api.lobstr.io/v2/openapi.json: the API, for a client generator.
- Copy page, at the top of every page here: the page in Markdown, to paste to your agent.