Skip to main content

A minimal MCP server that wraps Kiro's web_search backend, distributable via uvx.

Project description

kiro-web-search

A minimal MCP server that exposes a search tool to any MCP-compatible agent (Claude Code, Claude Desktop, Cursor, Kiro CLI, Continue, etc.) over stdio.

Thin transport adapter: stdio JSON-RPC ↔ upstream HTTPS MCP endpoint. No caching, no post-processing, results passed through verbatim.

Prerequisite: get an API key

Requires a Kiro Pro / Pro+ / Power subscription. Sign in at app.kiro.dev, open API Keys, create a new key, and copy it — the full value is only shown once. Keys look like ksk_xxxxxxxx. Full instructions: Kiro CLI docs → Authenticate with an API key.

Use the key as KIRO_API_KEY in any of the install paths below.

Install in Claude Code

Option A — as a plugin (one-click)

Inside any Claude Code session:

/plugin marketplace add vokako/kiro-web-search
/plugin install kiro-web-search@kiro-web-search

Claude Code prompts you for the API key (stored securely in your system keychain). Run /reload-plugins or start a new session and the search tool appears. Update later with /plugin update kiro-web-search@kiro-web-search.

Option B — as a plain MCP server

claude mcp add --scope user web-search \
  -e KIRO_API_KEY=your-token \
  -- uvx kiro-web-search

Install in Codex CLI

Option A — as a Codex plugin

Codex plugins can't prompt for secrets at install time, so export your key first, then add this repo as a plugin marketplace and install it:

export KIRO_API_KEY=your-token
codex plugin marketplace add vokako/kiro-web-search
codex plugin add kiro-web-search@kiro-web-search

The plugin lives at plugins/kiro-web-search/ (manifest in .codex-plugin/plugin.json, server in .mcp.json). The server inherits KIRO_API_KEY from your environment. Manage it with codex plugin list and codex plugin remove kiro-web-search@kiro-web-search.

Option B — as a plain MCP server

codex mcp add web-search --env KIRO_API_KEY=your-token -- uvx kiro-web-search

Or edit ~/.codex/config.toml directly:

[mcp_servers.web-search]
command = "uvx"
args = ["kiro-web-search"]

[mcp_servers.web-search.env]
KIRO_API_KEY = "your-token"

Restart Codex and the search tool appears. Manage it with codex mcp list, codex mcp get web-search, or codex mcp remove web-search.

Install in other MCP clients

Claude Desktop, Cursor, Continue, generic stdio clients

{
  "mcpServers": {
    "web-search": {
      "command": "uvx",
      "args": ["kiro-web-search"],
      "env": {
        "KIRO_API_KEY": "your-token"
      }
    }
  }
}

Configuration

Setting CLI flag Env var Default
API key --api-key KIRO_API_KEY — (required)
Endpoint --endpoint KIRO_ENDPOINT https://runtime.us-east-1.kiro.dev/
Timeout --timeout KIRO_TIMEOUT 30 seconds

CLI flags override environment variables.

Exposed tool

search(query: string) -> string

Searches the web. Returns a JSON string with results (up to 10 items), totalResults, and the echoed query. Each result has title, url, snippet, domain, publishedDate, and compliance metadata.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kiro_web_search-0.1.3.tar.gz (99.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kiro_web_search-0.1.3-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file kiro_web_search-0.1.3.tar.gz.

File metadata

  • Download URL: kiro_web_search-0.1.3.tar.gz
  • Upload date:
  • Size: 99.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kiro_web_search-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7acd52c3243a4ad6e7e85b54b9e3daaf77e30e67ded7fb78504093aef06b26c6
MD5 3710369da89e513fc905099cb329a9dd
BLAKE2b-256 fe6622f7d75852420d89d9ad9dbc51bf568219d8f0ddaa15f036d11588f70ea0

See more details on using hashes here.

File details

Details for the file kiro_web_search-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: kiro_web_search-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kiro_web_search-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3fa9d1e553fc0c7373a2becb5adf5b2bbf54c4ee8c5eb0d2ddd96e94391efdf1
MD5 e86fbcb987bc2d95a07bfb1855d00364
BLAKE2b-256 207a99b815e5caee1317b5ce8778a5feb4f7a8f71f1ff0b02b0bbd84b86dc82c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page