kagi-session2api-mcp-server — Claude Code skill for Kagi search
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.
no license 207 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a claude-codeWhat kagi-session2api-mcp-server 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.
What it helps with
- 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 for the agent
- Search
docs.python.orgfor guidance onasyncio. - Find English-language PDF resources about React hooks.
- Summarize this publicly accessible article and list its main points:
https://example.com/article.
How to install kagi-session2api-mcp-server
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a claude-code2Manually: put the files in place
~/.claude/skills/kagi-session2api-mcp-server/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/kagi-session2api-mcp-server/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a codex2Manually: put the files in place
.agents/skills/kagi-session2api-mcp-server/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a cursor2Manually: put the files in place
.cursor/skills/kagi-session2api-mcp-server/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/kagi-session2api-mcp-server2Manually: put the files in place
.github/skills/kagi-session2api-mcp-server/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/kagi-session2api-mcp-serverManually: put the files in place
.devin/skills/kagi-session2api-mcp-server/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about kagi-session2api-mcp-server
How do I install kagi-session2api-mcp-server in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill kagi-session2api-mcp-server -a claude-code. The skill file is at ~/.claude/skills/kagi-session2api-mcp-server/SKILL.md.
What does kagi-session2api-mcp-server do?
It guides setup of an MCP server that searches with Kagi and summarizes pages from their URLs. Search operators can filter by domain, file type, and language.
What does the server need to run?
You need a Kagi session token and Python 3.10+. If you launch it with uvx, that command must be available; keep the token secret.