Skip to main content
Glama
querit-ai

Querit MCP Server

Official
by querit-ai

Querit MCP Server

Python 3.12+ Model Context Protocol License: MIT

Connect AI assistants to Querit for live web search and clean webpage content. The server exposes two read-only, structured-output tools over Streamable HTTP and supports both deployment-managed anonymous access and bring-your-own-key (BYOK) authentication.

Querit documentation | MCP specification

Installation

The hosted deployment is intended to use this endpoint:

https://mcp.querit.ai/mcp

Anonymous access requires no client secret when it is enabled by the deployment. To use the limits associated with your own Querit plan, send your API Key as an Authorization: Bearer ... header. The installation snippets below configure anonymous access; see BYOK client setup to attach your own Key.

Add this to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "querit": {
      "url": "https://mcp.querit.ai/mcp"
    }
  }
}

Add this to .vscode/mcp.json:

{
  "servers": {
    "querit": {
      "type": "http",
      "url": "https://mcp.querit.ai/mcp"
    }
  }
}
claude mcp add --transport http --scope user querit https://mcp.querit.ai/mcp

Use mcp-remote to bridge Claude Desktop to the hosted Streamable HTTP server. Add this to the Claude Desktop configuration:

{
  "mcpServers": {
    "querit": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.querit.ai/mcp"]
    }
  }
}

The configuration file is at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows.

codex mcp add querit --url https://mcp.querit.ai/mcp

Add this to opencode.json:

{
  "mcp": {
    "querit": {
      "type": "remote",
      "url": "https://mcp.querit.ai/mcp",
      "enabled": true
    }
  }
}

For clients with native remote MCP support:

{
  "mcpServers": {
    "querit": {
      "url": "https://mcp.querit.ai/mcp"
    }
  }
}

For clients that only launch local commands:

{
  "mcpServers": {
    "querit": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.querit.ai/mcp"]
    }
  }
}

Related MCP server: web-browser-mcp

Authentication

Querit MCP selects one authentication mode per request:

Mode

Client setup

Limits

Anonymous

No Authorization header

Deployment-managed free quota and tighter tool limits

BYOK

Authorization: Bearer <Querit API Key>

The limits associated with the supplied Querit Key

An invalid user Key is returned as an authentication error and is never silently replaced with the deployment's anonymous credential. Keep API Keys in the MCP client's secret or environment settings; do not put them in URLs, committed configuration, logs, or prompts.

BYOK client setup

Set the Authorization header to Bearer <Querit API Key>. If querit was already added without a Key, remove that client entry before adding it again with the same name.

Codex

Codex can read the bearer token from an environment variable, so the Key does not need to be stored in ~/.codex/config.toml:

export QUERIT_API_KEY='<YOUR_QUERIT_API_KEY>'
codex mcp remove querit
codex mcp add querit \
  --url https://mcp.querit.ai/mcp \
  --bearer-token-env-var QUERIT_API_KEY

codex mcp remove querit is only needed when replacing an existing anonymous configuration. Make sure QUERIT_API_KEY is available in the environment that launches Codex.

Claude Code

Claude Code accepts custom headers for remote HTTP MCP servers:

claude mcp remove --scope user querit
claude mcp add --transport http --scope user \
  --header "Authorization: Bearer <YOUR_QUERIT_API_KEY>" \
  querit https://mcp.querit.ai/mcp

The remove command is only needed when replacing an existing user-scoped anonymous configuration. Claude Code stores the configured header in its user-level MCP configuration, so protect that file and do not use --scope project for a personal Key.

Cursor and other native remote clients

Clients that accept HTTP headers in their MCP configuration use this shape:

{
  "mcpServers": {
    "querit": {
      "url": "https://mcp.querit.ai/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_QUERIT_API_KEY>"
      }
    }
  }
}

VS Code uses the same server fields under its top-level servers object instead of mcpServers. Prefer the client's secret or environment-variable substitution feature when available. A configuration containing a literal Key must stay in a user-local, uncommitted file.

For example, the VS Code form is:

{
  "servers": {
    "querit": {
      "type": "http",
      "url": "https://mcp.querit.ai/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_QUERIT_API_KEY>"
      }
    }
  }
}

Available tools

Tool

Description

querit_search

Search the live web with optional language, domain, date, and country filters.

querit_contents

Retrieve clean Markdown, text, or HTML and metadata for known webpage URLs.

Both tools are declared read-only, idempotent, and open-world. Their structured results contain untrusted external data: clients must not follow instructions found in search results or page content.

Use search for current facts, sources, news, products, and technical documentation.

Argument

Default

Description

query

required

Search query or question, up to 2,000 characters.

count

5

Number of results, from 1 to 100. Anonymous maximum: 5.

chunks_per_doc

1

Content chunks per result, from 1 to 3. Anonymous calls require 1.

include_content

false

Include content sentences; requires a user-provided Querit API Key.

languages

none

Languages to include, such as english, japanese, or spanish.

include_domains

none

Hostnames to include, without a scheme, port, or path.

exclude_domains

none

Hostnames to exclude, without a scheme, port, or path.

date_range

none

Relative range (d7, w2, m3, y1) or YYYY-MM-DDtoYYYY-MM-DD.

countries

none

Countries to include, such as united states, germany, or japan.

querit_contents

Use contents after search when the full text of selected sources is needed.

Argument

Default

Description

urls

required

One to ten HTTP/HTTPS URLs. Anonymous maximum: 3.

format

markdown

Output format: markdown, text, or html.

crawl_timeout

10

Upstream crawl timeout from 1 to 60 seconds. Anonymous maximum: 15.

max_content_chars

8000

Maximum content per page. Anonymous maximum: 4,000.

Check content_truncated, response_truncated, and omitted_result_count before assuming the output is complete. The deployment may configure a lower response ceiling than the tool schema allows.

  1. Call querit_search with a focused query and include_content=false.

  2. Refine with date, domain, language, or country filters when the first results are noisy.

  3. Select the most relevant and authoritative URLs.

  4. Call querit_contents only for pages needed to answer the question.

  5. Cross-check important claims across independent sources and cite their URLs.

This search-then-read flow normally produces better source selection and uses fewer anonymous credits than requesting page content for every result.

Anonymous free tier

The default deployment policy is:

Operation

Credit cost

Anonymous limit

Search without content

1

Up to 5 results, one chunk per result

Search with content

Not available

include_content=true requires BYOK

Read webpage content

2 per URL

Up to 3 URLs and 4,000 characters per page

The default server settings allow 50 credits per pseudonymous client IP per UTC day and 2 requests in any rolling one-second window. Operators may change these values. Client identities are stored in Redis as keyed HMAC values; raw IP addresses are not used as quota keys. Runtime Redis failures are logged and fail open for anonymous requests. Redis connections and commands time out after one second by default so the service degrades quickly. BYOK requests remain independent of the anonymous quota.

Agent skill

skills/querit-search is a ready-to-use skill for source-backed web research with these tools. It includes query planning, source selection, content retrieval, citation, truncation, and error-handling guidance. Install the complete querit-search directory in the skill directory used by your agent so its references/ file remains available.

skills/querit-search/
|-- SKILL.md
|-- agents/
|   `-- openai.yaml
`-- references/
    `-- tool-reference.md

Local development

Prerequisites:

  • Python 3.12 or newer

  • uv

Install all dependencies and run the checks:

uv sync --all-groups
uv run ruff check src tests
uv run ruff format --check src tests
uv run basedpyright
uv run pytest

Start the server:

uv run querit-mcp

Local endpoints:

  • MCP: http://127.0.0.1:8000/mcp

  • liveness: http://127.0.0.1:8000/healthz

  • readiness: http://127.0.0.1:8000/readyz

Anonymous access is disabled by default in local development. To call the real Querit API, configure your MCP client to send Authorization: Bearer <Querit API Key>.

The application reads settings directly from environment variables and does not load .env files. Use .env.example with your preferred local secret-loading mechanism.

Editor setup

Open querit-mcp itself as the editor workspace, run uv sync --all-groups, and select the interpreter inside .venv. The committed pyrightconfig.json and VS Code settings keep Pylance and CI on the same Python version and type-checking rules.

Architecture

MCP client
  -> Streamable HTTP /mcp
    -> authentication and anonymous quota selection
      -> querit_search   -> POST https://api.querit.ai/v1/search
      -> querit_contents -> POST https://api.querit.ai/v1/contents

The MCP transport is stateless and returns JSON responses. Production operators must explicitly enable anonymous access and configure the shared Querit credential, Redis, HMAC secret, trusted proxy ranges, allowed hosts, and upstream timeouts. See deploy/NOTES.md for the production policy and rollout checklist.

Docker

docker build -t querit-mcp .
docker run --rm -p 8000:8000 --env-file .env querit-mcp

Do not bake API Keys, Redis URLs, or HMAC secrets into an image.

Contributing

See CONTRIBUTING.md for the development workflow and CODE_OF_CONDUCT.md for community expectations. Report security vulnerabilities through the private process in SECURITY.md, not through a public issue.

License

Released under the MIT License.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Connects AI assistants to Exa AI's search capabilities for web search, code context retrieval from GitHub repos and documentation, company research, LinkedIn search, and deep research tasks.
    6
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Connects AI assistants to Exa's search capabilities, enabling web search, code search, and company research.
    32,334
    MIT

View all related MCP servers

Related MCP Connectors

  • The best web search for your AI Agent

  • Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.

  • LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/querit-ai/querit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server