Query

run_query

run_query

Look up an answer, read-only, with time and row limits.

Read only

Executes inside a read-only transaction with a statement timeout. Results are capped, and columns you mark as sensitive are masked before they reach the model.

Parameters

sql

string

required

A single SELECT statement.

limit

integer

Maximum rows to return. Defaults to 200.

Try asking

“How many trials converted last month?”

Give your agent every tool in two minutes.

One command connects Socket to Claude, ChatGPT, Cursor or VS Code. Read-only until you say otherwise.

Terminal
$ npx -y @socketmcp/server init

Create a free website with Framer, the website builder loved by startups, designers and agencies.