页面简介
Ask a question in plain language and get a table back. Your agent writes one read-only SQL SELECT over live search results, and the SELECT MCP server runs it.
正文摘录
Ask your agent a question in plain language and get back a table built from live web search results. The agent writes one read-only SELECT in the DuckDB dialect, following the guide that ships with the tool. The server runs the searches, fetches the pages, extracts the fields the query asks for with an LLM, removes duplicates and returns a table. One tool call covers many pages and returns structured rows. Your agent doesn’t have to read results one at a time and assemble them by hand. SELECT is a separate MCP server from the Keenable MCP server, with its own URL. Adding it doesn’t change the search_web_pages and fetch_page_content server, and you can run both side by side: https://select.keenable.ai/mcp The server also answers on https://webql.keenable.ai/mcp, its first address. Neither address redirects to the other, because a redirect ends an MCP session. A client set up on the old address keeps working. Set up new clients with select.keenable.ai. Any Keenable account can connect. It’s the same account you use for the console and API keys. If you don’t have one, sign up at app.keenable.ai/signup. The account also gives you the SELECT playground at app.keenable.ai/select/start. Connect You can connect with a browser sign-in or with an API key in a header. Which one you can use depends on the client: Claude CodeBrowser sign-in, or your own key in a headerClaudeDesktop, claude.ai and mobile, from the connector directoryChatGPTFrom the Plugins Directory, or by URL in developer modeCodexAlso Cursor and any client that takes a URL and a header One click Cursor and VS Code add the server from a link, without a key. The client asks you to sign in to Keenable the first time you use the server. Add to CursorAdd to VS CodeAdd to VS Code Insiders Claude Code Sign in through the browser, with no key to paste: claude mcp add keenable-select \ --transport http https://select.keenable.ai/mcp \ --scope user Then run /mcp in a session, pick keenable-select, and choose Authenticate. Your browser opens a Keenable sign-in; approve it and the tools appear. To use an API key instead, add the header and skip the sign-in. Create the key in the console: claude mcp add keenable-select \ --transport http https://select.keenable.ai/mcp \ --scope user \ --header "X-API-Key: keen_<your_key>" --scope user makes the server available in every project. Without it the entry is written for the current directory only. Claude Desktop, claude.ai and mobile Keenable SELECT is listed in Claude’s connector directory, next to the Keenable search connector. The connector signs you in and doesn’t take a key. If you need a specific API key applied, use Claude Code or another client that sends headers. 1Add the connectorOpen Customize → Connectors, click +, and search for Keenable SELECT. There is nothing to paste.If it isn’t listed in your account yet, add it by URL instead: Customize → Connectors → + Add → Add custom connector. Under Authentication choose Sign in now, and under OAuth client choose Register automatically. Name it Keenable SELECT so you can tell it apart from the Keenable search connector, which is a separate server with different tools. Use this URL:https://select.keenable.ai/mcp 2ConnectClick Connect. Your browser opens a Keenable sign-in; approve it and the tools appear.3Enable it in a chatClick + in the lower left of the message box, hover Connectors, and toggle it on for the conversation. ChatGPT Keenable SELECT is a published plugin in OpenAI’s Plugins Directory, the catalog ChatGPT shares with Codex. It is a second listing next to the Keenable search plugin, because the two are different servers with different tools. 1Install the pluginOpen the listing, or find Keenable SELECT in the directory, and install it. There is no config file, no developer mode, and no URL to paste.2Sign inThe plugin signs in to your Keenable account through OAuth. Click through the sign-in prompt the first time you use it. Each SELECT query that succeeds costs $0.10, charged to the organization of the account you connect. A failed query costs nothing.3Use it in a chatPick the plugin from the composer’s tools menu before you ask your question. A query can take seconds to minutes; see What to expect. By URL, in developer modeIf the plugin isn’t in the directory for your account yet, add the server by URL. Settings → Connectors → Advanced settings → Developer mode. Without it, ChatGPT offers no way to add a server by URL. Settings → Connectors → Create, paste https://select.keenable.ai/mcp, and choose OAuth as the authentication. Sign in when the browser opens; there is no client ID or secret to fill in. Deep research in ChatGPT accepts only connectors that expose search and fetch tools. This server exposes select instead, so use it as an ordinary plugin, and the Keenable search plugin for deep research. Codex, Cursor and other clients Codex can also install Keenable SELECT from the Plugins Directory it shares with ChatGPT, with an OAuth sign-in. To use your own API key instead, add the server to config.toml as shown below. Any client that takes a remote MCP URL and a header works. Create a key in the console first. For Codex, add this to ~/.codex/config.toml: [mcp_servers.keenable-select] url = "https://select.keenable.ai/mcp" http_headers = { "X-API-Key" = "keen_<your_key>" } For Cursor, Devin Desktop (formerly Windsurf) and similar clients, use this shape: { "mcpServers": { "keenable-select": { "url": "https://select.keenable.ai/mcp", "headers": { "X-API-Key": "keen_<your_key>" } } } } If your client offers only an Authorization header field, send Bearer keen_<your_key> in it instead. Over HTTP, without an account An agent with no Keenable account can run a SELECT query over plain HTTP and pay for it per query: $0.10 in USDC on Base with x402 at POST https://api.keenable.ai/v1/x402/select, or from a prepaid balance through ZeroClick. If a query fails, you aren’t charged. The request body, response fields and payment flow are on Pay per request. With an account, use the MCP server above: SELECT has no REST endpoint that takes an API key. The tools The main tool is select. Your agent fills in its parameters. They’re listed here so you can read a transcript and see what ran. querystringrequiredA single read-only SELECT in DuckDB dialect. Web pages enter the query through the WEB_SEARCH(...) and WEB_FETCH(...) table functions; the SEM_* functions extract, filter, rank and normalise values with an LLM. show_previewbooleanReturn a small sample of rows instead of the full table. Defaults to false. You don’t need to learn this dialect or teach it to your agent. The select tool’s description is its full usage guide, with the syntax, the semantic functions and worked examples. Your agent reads it as soon as you enable the connector. To debug a query or steer your agent, see the function reference. Two more tools publish what a query found as a web page: generate_html_report builds a document from a brief plus the result sets you name and returns its link, and revoke_html_report takes that link back down. When a select call returns rows, the result can end with one extra line of text after the table. It names the result set and tells the agent it can call generate_html_report to get a link to share. The link is unlisted by default, and revoke_html_report turns it off. The line never changes the table or the result set. Organizations on zero data retention never get it. You ask “which electric cars sold in Europe come up most often, and what are their range and starting price?”, and the agent turns that into a query like this: SELECT SEM_NORM(model, 'merge trim levels and battery variants into one model') AS model, COUNT(DISTINCT url) AS sources, MODE(range_km) AS range_km, MODE(price_eur) AS price_eur FROM ( SELECT url, UNNEST( SEM_EXTRACT_ALL( content, 'an electric car model sold in Europe', model := 'brand and model name, e.g. "Renault 5 E-Tech"', range_km := 'WLTP range in km, number only', price_eur := 'starting price in EUR, number only' ), recursive := true ) FROM WEB_SEARCH( 'best electric cars Europe 2026 WLTP range price', 'affordable EV Europe comparison starting price', 'new electric car launches Europe 2026', 'EV buyers guide range price Germany', 'site:reddit.com which EV should I buy Europe', 'electric car WLTP range comparison table', 'cheapest electric cars Europe list' ) ) GROUP BY SEM_NORM(model, 'merge trim levels and battery variants into one model') ORDER BY sources DESC LIMIT 15 That is one tool call. It ran seven searches, merged 1,400 results into 1,125 unique pages, extracted three fields from each and grouped them, and came back with this (first 8 of 15 rows): modelsourcesrange_kmprice_eurTesla Model Y11945539990Tesla Model 311858044990Renault 5 E-Tech11340025000Dacia Spring9122516900Citroen e-C38132023300BMW iX37880570900Leapmotor T037726518900Volkswagen ID.36542035000 This is a real run. The figures are whatever the pages said: the server reports its sources but doesn’t check them. See What to expect. The guide tells the agent to search with different phrasings, not variations of one. The server merges the returned pages and removes duplicate URLs before the rest of the query runs. The rows arrive in a compact tabular encoding instead of JSON, so a table this size takes up little of your agent’s context. Result sets Every call stores its output and returns a result set id, such as ra84968f0532 for the query above. A later query reads the stored rows when it puts that id in FROM, so a follow-up question needs no new searches. Ask “now only the ones under €30,000, longest range first” and the agent queries the stored table instead of going back to the web: SELECT model, range_km, price_eur FROM ra84968f0532 WHERE TRY_CAST(price_eur AS INTEGER) < 30000 ORDER BY TRY_CAST(range_km AS INTEGER) DESC modelrange_kmprice_eurRenault 5 E-Tech40025000Citroen e-C332023300Leapmotor T0326518900Dacia Spring22516900BYD Dolphin Surf22018990 This query retu