# kagi-session2api-mcp-server

The kagi-session2api-mcp-server skill guides setup of a Kagi MCP server for web searches and URL summaries. Use it when you want an agent to find online sources or condense an article.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 207 installs · ★ 9 repo stars
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/kagi-session2api-mcp-server/SKILL.md
- Updated: 2026-10-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/kagi-session2api-mcp-server

## What it does

The skill covers installing and configuring `kagi-session2api-mcp-server`, which exposes Kagi search and URL summarization as MCP tools. Search operators can narrow results by domain, file type, or language. The summarizer also accepts an engine and a target language.

A Kagi session token is required; treat it like a password and keep it out of version control. The server requires Python 3.10+, and `uvx` must be available if you use that launch method. Tokens can expire. Summarization also depends on page access, so sites that block automated requests may fail.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/kagi-session2api-mcp-server/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/kagi-session2api-mcp-server/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/kagi-session2api-mcp-server/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/kagi-session2api-mcp-server/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/mcp-skills skills/kagi-session2api-mcp-server
```

2. **Manually: put the files in place**
- File: `.github/skills/kagi-session2api-mcp-server/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/kagi-session2api-mcp-server
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/kagi-session2api-mcp-server/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/mcp-skills/tree/HEAD/skills/kagi-session2api-mcp-server/SKILL.md

## When to use it
- search the web with a domain or file-type filter
- find sources in a chosen language
- summarize an article from its URL
- configure Kagi MCP access in an agent client

## Example prompts
- Search `docs.python.org` for guidance on `asyncio`.
- Find English-language PDF resources about React hooks.
- Summarize this publicly accessible article and list its main points: `https://example.com/article`.

## Similar
- [Kagi Search](https://affpapa.org/en/nevibecode/mcp/kagi-search.md) — MCP server
- [web-search](https://affpapa.org/en/nevibecode/skills/web-search.md) — skill · 130800 installs
- [firecrawl-search](https://affpapa.org/en/nevibecode/skills/firecrawl-search.md) — skill · 85300 installs
- [firecrawl-build-search](https://affpapa.org/en/nevibecode/skills/firecrawl-build-search.md) — skill · 62900 installs
- [tavily-search](https://affpapa.org/en/nevibecode/skills/tavily-search.md) — skill · 39400 installs
- [anysearch](https://affpapa.org/en/nevibecode/skills/anysearch.md) — skill · 38700 installs

From the same set: [reason-machines/mcp-skills](https://affpapa.org/en/nevibecode/by/reason-machines/mcp-skills.md) — 98 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
