API & MCP
Everything a person can do on OSINT Search Query Builder, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://obscuriqsearchquerybuilder.usefulweb.site/api/v1/calculate– run OSINT Search Query BuilderGET https://obscuriqsearchquerybuilder.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
OSINT Search Query Builder
Create exact-phrase, PDF and optional domain-restricted search queries from a phrase and optional exclusion.
| Field | Type | Default | Description |
|---|---|---|---|
subject | text | "example research project" | Exact phrase. Enter a phrase without quotation marks. |
domain | text | "example.org" | Restrict one query to this domain (optional) |
exclude | text | — | Exclude this phrase (optional) |
Example request
Prepare focused queries
curl -X POST https://obscuriqsearchquerybuilder.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"subject":"example research project","domain":"example.org","exclude":"advertisement"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://obscuriqsearchquerybuilder.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
obscuriq_search_query_builder - Local stdio connector:
node src/mcp-stdio.ts --tool=obscuriq-search-query-builder
{
"mcpServers": {
"obscuriq-search-query-builder": { "type": "http", "url": "https://obscuriqsearchquerybuilder.usefulweb.site/mcp" }
}
}