본문으로 건너뛰기
Skillpedia
웹 스크레이핑260k · #561

searxng-search

하는 일

이 스킬은 AI가 여러 엔진에서 결과를 모으는 검색 도구 SearXNG로 웹을 검색하게 합니다. 유료 키 없이 무료이고 개인정보 보호에 좋은 검색을 원하는 사람을 위한 것입니다.

사용하는 경우

  • ✓웹을 검색하고 싶고 SearXNG 주소가 설정되어 있을 때.
  • ✓기본 웹 검색이 설정되지 않아 무료 대안을 원할 때.
  • ✓하나의 질의로 여러 엔진을 동시에 검색하고 싶을 때.

스킬 링크

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/searxng-search/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/searxng-search/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“히트펌프 설치 비용에 관한 최근 기사를 검색해서 가장 좋은 다섯 개를 나열해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 SearXNG 주소로 curl을 써서 검색 요청을 보내고, JSON 형식으로 결과를 읽습니다. 주소가 없거나 응답하지 않으면 AI는 다른 검색 도구를 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

SearXNG Search

Free meta-search using SearXNG — a privacy-respecting, self-hosted search aggregator that queries 70+ search engines simultaneously.

No API key required when using a public instance. Can also be self-hosted for full control. Automatically appears as a fallback when the main web search toolset (FIRECRAWL_API_KEY) is not configured.

Configuration

SearXNG requires a SEARXNG_URL environment variable pointing to your SearXNG instance:

# Public instances (no setup required)
SEARXNG_URL=https://searxng.example.com

# Self-hosted SearXNG
SEARXNG_URL=http://localhost:8888

If no instance is configured, this skill is unavailable and the agent falls back to other search options.

Detection Flow

Check what is actually available before choosing an approach:

# Check if SEARXNG_URL is set and the instance is reachable
curl -s --max-time 5 "${SEARXNG_URL}/search?q=test&format=json" | head -c 200

Decision tree:

  1. If SEARXNG_URL is set and the instance responds, use SearXNG
  2. If SEARXNG_URL is unset or unreachable, fall back to other available search tools
  3. If the user wants SearXNG specifically, help them set up an instance or find a public one

Method 1: CLI via curl (Preferred)

Use curl via terminal to call the SearXNG JSON API. This avoids assuming any particular Python package is installed.

# Text search (JSON output)
curl -s --max-time 10 \
  "${SEARXNG_URL}/search?q=python+async+programming&format=json&engines=google,bing&limit=10"

# With Safesearch off
curl -s --max-time 10 \
  "${SEARXNG_URL}/search?q=example&format=json&safesearch=0"

# Specific categories (general, news, science, etc.)
curl -s --max-time 10 \
  "${SEARXNG_URL}/search?q=AI+news&format=json&categories=news"

Common CLI Flags

Flag Description Example
q Query string (URL-encoded) q=python+async
format Output format: json, csv, rss format=json
engines Comma-separated engine names engines=google,bing,ddg
limit Max results per engine (default 10) limit=5
categories Filter by category categories=news,science
safesearch 0=none, 1=moderate, 2=strict safesearch=0
time_range Filter: day, week, month, year time_range=week

Parsing JSON Results

# Extract titles and URLs from JSON
curl -s --max-time 10 "${SEARXNG_URL}/search?q=fastapi&format=json&limit=5" \
  | python3 -c "
import json, sys
data = json.load(sys.stdin)
for r in data.get('results', []):
    print(r.get('title',''))
    print(r.get('url',''))
    print(r.get('content','')[:200])
    print()
"

Returns per result: title, url, content (snippet), engine, parsed_url, img_src, thumbnail, author, published_date

Method 2: Python API via requests

Use the SearXNG REST API directly from Python with the requests library:

import os, requests, urllib.parse

base_url = os.environ.get("SEARXNG_URL", "")
if not base_url:
    raise RuntimeError("SEARXNG_URL is not set")

query = "fastapi deployment guide"
params = {
    "q": query,
    "format": "json",
    "limit": 5,
    "engines": "google,bing",
}

resp = requests.get(f"{base_url}/search", params=params, timeout=10)
resp.raise_for_status()
data = resp.json()

for r in data.get("results", []):
    print(r["title"])
    print(r["url"])
    print(r.get("content", "")[:200])
    print()

Self-Hosting SearXNG

To run your own SearXNG instance:

# Using Docker
docker run -d -p 8888:8080 \
  -v $(pwd)/searxng:/etc/searxng \
  searxng/searxng:latest

# Then set
SEARXNG_URL=http://localhost:8888

Or install via pip:

pip install searxng
# Edit /etc/searxng/settings.yml
searxng-run

Public SearXNG instances are available at:

  • https://searxng.example.com (replace with any public instance)

Workflow: Search then Extract

SearXNG returns titles, URLs, and snippets — not full page content. To get full page content, search first and then extract the most relevant URL with web_extract, browser tools, or curl.

# Search for relevant pages
curl -s "${SEARXNG_URL}/search?q=fastapi+deployment&format=json&limit=3"
# Output: list of results with titles and URLs

# Then extract the best URL with web_extract

Limitations

  • Instance availability: If the SearXNG instance is down or unreachable, search fails. Always check `SEARXN
자주 묻는 질문

API 키가 필요한가요?

아니요. 스킬에 따르면 공개 SearXNG 인스턴스는 키가 필요 없지만 주소는 설정해야 합니다.

SearXNG가 다운되면 어떻게 하나요?

스킬은 인스턴스가 응답하지 않으면 AI가 다른 검색 도구로 대체해야 한다고 말합니다.

직접 SearXNG 서버를 운영할 수 있나요?

네. 스킬은 완전한 제어를 위해 SearXNG를 자체 호스팅할 수 있다고 말합니다.

상세 정보

작성자의 원본 설명

Free keyless meta-search aggregating 70+ engines.

repo: NousResearch/hermes-agent

인기도

GitHub 스타
260k
순위
#561
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬