lobstr.io

v2.0.4
io.github.lobstrio/lobstr-mcp Checked 3 days ago Published 8 days ago

Web data API for your AI agents: one call, JSON back in seconds, the same fields every time.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

find_operations Find operations

Find the operations that return the data you need, from words, when you do not know an operation's id. Free: it reads the catalog and runs nothing. Answers at most 5 operations, the best fits for your words. Each has its id (source/resource/verb), when to use it, its options in one line (* is required), its record fields (the paths `fields` takes), its records per call and its credits per call: often all a first call needs. Name the site and the thing you want: those words weigh most, and a rare word ("airbnb") more than a common one ("search")…

ParameterTypeDescription
querystringWhat you need, in words, as you would ask it: "reviews of a restaurant on google maps". Empty: every operation, one line each.

get_operation Read an operation

Read one operation's whole contract, by its id (source/resource/verb). Free: it reads and runs nothing. Answers a Markdown page: when to use it, an example call, every option with its type and default, every field of its records, its price, its errors and its changelog: what a first call needs beyond a one-line summary, and what an error that names an option means. An unknown id fails with the closest one that exists.

ParameterTypeDescription
operation *stringThe operation's id, source/resource/verb: "google_maps/reviews/list".

run_operation Run an operation

Run one operation, by its id and options, and get one page of its records (POST /v2/run). Each call costs the operation's credits; an empty page and a failed call are free. Answers `results` (the records), `count`, `cost`, `balance` and `next`. - `fields`: only those you need. 20 places with every field are about 70,000 characters, more than you may read in one answer; with four fields, a few thousand. - `limit`: the first N records of a search or a list. Same price, smaller answer. - `next`: not null while there is another page (records_per_…

ParameterTypeDescription
operation *stringThe operation's id, source/resource/verb: "google_maps/reviews/list".
options *objectThe operation's input, its options (* is required): {"query": "bakeries in Austin, TX"}. For the next page, the answer's `next` options, as they are.
fieldsOnly these record fields, by path ("name", "address.full"); object, id and position always come. Left out: every field, which can be large.
idempotency_keyMakes a retry safe: the same key with the same call never runs or bills twice (1 to 255 characters, a UUID for instance).
limitOnly the first N records of the page (1 to 1000), for a search or a list; the call costs the same.

send_feedback Send feedback

Tell lobstr.io's team about a problem or a need (POST /v2/feedback). Free, never billed. The team that builds the operations reads it; no answer comes back through this tool. Use it when an operation failed in a way its error does not explain, a record lacks a field you need, the operation you need does not exist, or an error misled you. Not for an error whose message says what to change: change the call and run it again. Give the operation and the run's id when there is one: they point the team to the call.

ParameterTypeDescription
message *stringWhat happened and what you expected, in a few sentences (2,000 characters at most); never your user's personal data or secrets.
kindstringbug, missing_data, idea or other.
operationThe operation concerned, if any: The operation's id, source/resource/verb: "google_maps/reviews/list".
run_idThe `id` of the call concerned (run_...), if any.

get_balance Get the balance

The credits this connection's account can spend now, and its plan. Free. Answers `credits` and `plan`: its name, credits_per_month, concurrent_calls (calls at a time), billing period, price, credit_price, what one credit costs (null on the free plan, whose credits have no price), and renews_at, when its credits come back (UTC). Before a costly series of calls, or to say a cost in money: credits times credit_price; never guess a price. Each run's own answer already has its `cost` and the `balance` after it.