Kagi

•
3
•

Provides a Rust SDK and Model Context Protocol (MCP) server to integrate Kagi search and summarization into applications and AI agents.

Kagi-rs is a Rust-native workspace designed to facilitate Kagi integrations for developers. It offers a robust, typed SDK for building Rust applications and services that leverage Kagi's search and summarization capabilities. Additionally, it includes an MCP server, enabling AI agents and agent hosts like Claude Code, Codex, or OpenCode to connect seamlessly to Kagi, expanding their access to real-time information and concise summaries. The project explicitly handles both Kagi's official API and session web surfaces, ensuring comprehensive coverage.

Key Features

01Rust SDK with typed interfaces for Kagi's API
02Model Context Protocol (MCP) server for AI agent integration
03Comprehensive documentation for SDK usage, MCP host setup, and API specifics
04Supports Kagi's official API and session web surfaces
05Provides search and summarization functionalities
060 GitHub stars

Use Cases

01Connecting AI agent hosts (e.g., Claude Code, Codex, OpenCode) to Kagi
02Integrating Kagi search and summarization into Rust applications and services
03Developing AI agents that require access to Kagi's information retrieval and summarization tools