# Add to your Claude Code skills
git clone https://github.com/nikvdp/searxng-ai-kitGuides for using ai agents skills like searxng-ai-kit.
searxng-ai-kit is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by nikvdp. Standalone SearXNG CLI for coding agents. It has 111 GitHub stars.
searxng-ai-kit's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/nikvdp/searxng-ai-kit" and add it to your Claude Code skills directory (see the Installation section above).
searxng-ai-kit is primarily written in Python. It is open-source under nikvdp on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh searxng-ai-kit against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
AI-powered search for your terminal, code, and AI assistants
An AI-enhanced command-line interface, Python library, and MCP server for the SearXNG privacy-respecting metasearch engine. Research topics with AI assistance, search the web from your terminal, integrate into Python projects, or connect AI assistants with support for 180+ search engines.
🔍 CLI tool - Search from your terminal with AI-enhanced research capabilities
🤖 AI chat - Ask questions and get comprehensive research using 180+ search engines
🐍 Python library - Programmatic search and AI-powered content retrieval
🔌 MCP server - AI assistant integration with advanced research tools
📦 Standalone binaries - Pre-built executables for Linux and macOS
The recommended install path is to download the pre-built binary for your platform from the GitHub releases page.
The source install path has to build and vendor a pinned SearXNG wheel before
the CLI can run, so it is slower and more involved than a normal uv tool install. Use the binary unless you are developing the project or intentionally
updating the pinned upstream SearXNG version.
Release binaries are currently published for Linux and macOS. Windows binaries are disabled for now because the current pybin Windows package launcher is not native yet.
After downloading, make the binary executable and put it somewhere on your
PATH:
chmod +x searxng-ai-kit-*
./searxng-ai-kit-* --help
nix profile install . # Install from this checkout
nix run . -- engines --common # Run without installing
nix build # Build ./result/bin/searxng
Includes Python and runtime dependencies; uses the existing setup.py vendoring
hooks with the pinned upstream SearXNG wheel. No first-run setup required.
Both build paths pin upstream SearXNG cff884f98b11 (2026-10-29). Upstream build
failures abort packaging rather than shipping an older vendored copy. Search
still depends on engine availability; CAPTCHAs and rate limits can block engines.
number_of_results counts retrieved rows, before library/MCP result limits.
Use this path when you want to develop the project, inspect the vendored SearXNG build, or update the pinned SearXNG commit.
Prerequisites:
# On macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/nikvdp/searxng-ai-kit
cd searxng-ai-kit
# Build the pinned SearXNG wheel and set up the local environment
uv run python dev-setup.py
# Install as a uv tool
uv tool install .
# Verify
searxng --help
# Clone and set up for development
git clone https://github.com/nikvdp/searxng-ai-kit
cd searxng-ai-kit
# Build SearXNG wheel, generate configs, sync dependencies
python dev-setup.py
# Test
uv run searxng search "test" --engines duckduckgo
The build system automatically:
str | Exception)# Simple search with default engines
searxng search "python tutorial"
# Search with specific engines
searxng search "machine learning" --engines duckduckgo,startpage
# Search in specific category
searxng search "neural networks" --category science
# List all available engines (compact overview)
searxng engines
# List common engines only (clean 4-column layout)
searxng engines --common
# List engines in specific category
searxng engines --category general
# List only common engines in a category
searxng engines --category general --common
# Search while disabling specific engines
searxng search "web development" --disable google,bing
# Human-readable output (default)
searxng search "AI research"
# JSON output for scripting
searxng search "data science" --format json
# JSON output with specific engines
searxng search "rust programming" --engines duckduckgo --format json > results.json
# Search with language preference
searxng search "tutorial python" --lang fr
# Search with safe search enabled
searxng search "programming" --safe 1
# Search recent results only
searxng search "tech news" --time week --category news
# Search specific page
searxng search "javascript" --page 2
# Fetch content from a single URL
searxng fetch-urls "https://example.com"
# Fetch content from multiple URLs in parallel
searxng fetch-urls "https://site1.com" "https://site2.com" "https://site3.com"
# Human-readable output (default)
searxng fetch-urls "https://example.com"
# JSON output for scripting
searxng fetch-urls "https://docs.python.org" --format json > content.json
# Control concurrency for rate limiting
searxng fetch-urls url1 url2 url3 --concurrent 2
# List all search categories
searxng categories
# Get help for any command
searxng search --help
searxng engines --help
⭐ Most Popular:
duckduckgo - Privacy-focused searchstartpage - Google results without trackingbrave - Independent search indexgoogle - Google searchbing - Microsoft searchqwant - European search engine# Test categories listing
uv run searxng categories
# Or: searxng categories
# Test clean engine listing (shows popular engines in 4 columns)
uv run searxng engines --common
# Or: searxng engines --common
# Test engine overview (compact category summary)
uv run searxng engines
# Or: searxng engines
# Test simple search
uv run searxng search "test query" --engines duckduckgo
# Or: searxng search "test query" --engines duckduckgo
# Test human-readable output
uv run searxng search "python" --engines duckduckgo | head -20
# Or: searxng search "python" --engines duckduckgo | head -20
# Test JSON output
uv run searxng search "programming" --engines duckduckgo --format json | jq .
# Or: searxng search "programming" --engines duckduckgo --format json | jq .
# Test with multiple engines
uv run searxng search "web development" --engines duckduckgo,startpage
# Or: searxng search "web development" --engines duckduckgo,startpage
# Test engine filtering
uv run searxng search "javascript" --category general --disable google,bing
# Or: searxng search "javascript" --category general --disable google,bing
# Test different categories
uv run searxng search "machine learning" --category science --engines arxiv
# Or: searxng search "machine learning" --category science --engines arxiv
uv run searxng search "react tutorial" --category it --engines github
# Or: searxng search "react tutorial" --category it --engines github
uv run searxng search "funny cats" --category images --engines duckduckgo_images
# Or: searxng search "funny cats" --category images --engines duckduckgo_images
To create a standalone executable:
# Sync development dependencies (includes PyInstaller)
uv sync
# Build with PyInstaller (no code signing)
uv run pyinstaller searxng.spec
# Test the executable
./dist/searxng --help
./dist/searxng search "test" --engines duckduckgo
For distribution on macOS, you can optionally enable code signing if you have a valid Developer ID certificate:
# Set environment variables for code signing
export PYINSTALLER_CODESIGN_IDENTITY="Developer ID Application: Your Name"
export PYINSTALLER_ENTITLEMENTS_FILE="entitlements.plist" # optional
# Build with code signing
uv run pyinstaller searxng.spec
Note: The executable may have some engine loading issues. The Python version is recommended for full functionality.
SearXNG AI Kit includes an AI assistant feature that combines web search capabilities with powerful language models. The assistant can perform parallel searches and fetch content from multiple URLs to provide comprehensive research and answers.
# Ask a question using the default model
searxng ask "What are the latest developments in quantum computing?"
# Use a model from the registry
searxng ask "Research renewable energy trends" --model "opencode/big-pickle"
# Use a LiteLLM model string directly
searxng ask "Explain AI" --model "openai/gpt-4o-mini"
# Get JSON output for programmatic use
searxng ask "Compare Python vs JavaScript" --format json
# Read prompt from stdin for longer questions
echo "Analyze the current state of renewable energy adoption globally, including recent policy changes and technological breakthroughs" | searxng ask
# Interactive stdin mode
searxng ask
# (then type your question and press Ctrl+D)
# Pipe from file
searxng ask < my_research_question.txt
# Start an interactive chat session (uses default model)
searxng chat
# Use a model from the registry
searxng chat --model "opencode/glm-4.7"
# Use a LiteLLM m