Kagi Bridge MCP
This is a MCP (Multichannel Protocol) server that provides search capability using a headless browser. It simulates browser-based searches without requiring a Kagi API key.
Installation
This project uses uv for dependency management:
# Install the package with dependencies
uv pip install .
# Install the browser binary
python -m playwright install chromium
Usage
The MCP server requires a URL that contains an authentication token for the search service. This URL is used to initialize cookies that will be used for subsequent searches.
You can provide the URL in two ways:
- Environment variable:
export SEARCH_URL="https://kagi.com/your_token_url"
kagi-bridge-mcp
- Command-line argument:
kagi-bridge-mcp --url "https://kagi.com/your_token_url"
Features
- Browser-based search that simulates real user interaction
- Handles 302 redirects and cookie-based authentication
- Compatible with existing MCP format for seamless integration
Development
# Set up a development environment
uv venv
source .venv/bin/activate
uv sync
Metadata
Release files for kagi-bridge-mcp 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| kagi_bridge_mcp-0.1.6.tar.gz | 164.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kagi_bridge_mcp-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 171.9 kB
Release files / kagi_bridge_mcp-0.1.6.tar.gz
| Download URL | kagi_bridge_mcp-0.1.6.tar.gz |
|---|---|
| Size | 164.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b872fdebcfd31ead95319784fd5f36124786c113b33c784c6d5c2da8bc7f67f0
|
|
BLAKE2b-256 checksum How to use checksums |
258e15987a90ec6e8e6874ffa6e3b77fff8d27a30b5c689100f4d89df5dd0ce9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Release files / kagi_bridge_mcp-0.1.6-py3-none-any.whl
| Download URL | kagi_bridge_mcp-0.1.6-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82b16f9bb7bd98ac4f1c962c228991f8fc578e3d1bf47612feec3c5b4762153c
|
|
BLAKE2b-256 checksum How to use checksums |
79cf961990f3ade4b1e99e66535adb4b0a07dfc42a113295d788bda17ec6ded1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.9
|
Security for kagi-bridge-mcp 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.