local-search
Skill by KempnerInstitute
Searches the web, arXiv, Crossref, PubMed, OpenAlex and Wikipedia, and fetches page text, for assistants served by a local model. It replaces the built-in WebSearch tool, which fails on local endpoints.
Install local-search
Built from the published package, never by AI.
git clone --depth 1 https://github.com/KempnerInstitute/hpc-agentic-recipes /tmp/hpc-agentic-recipes && mkdir -p ~/.claude/skills && cp -r /tmp/hpc-agentic-recipes/common/skills/local-search ~/.claude/skills/local-searchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/KempnerInstitute/hpc-agentic-recipes /tmp/hpc-agentic-recipes && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hpc-agentic-recipes/common/skills/local-search ~/.gemini/antigravity-cli/skills/local-searchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
local-search is an agent skill that gives an assistant search through a shell script, common/tools/search.sh, called via Bash. The source says the built-in WebSearch tool does not work against a local endpoint: vLLM rejects it with a 400 error, and SGLang drops it silently. The skill covers general web search, arXiv preprints with abstracts, Crossref DOI lookups, PubMed biomedical literature, OpenAlex papers with citation counts, Wikipedia background, and fetching the plain text of one page.
The skill is aimed at users running a local model who want the assistant to search online, look something up, or find papers. The source says no API key is needed. It suggests combining two or three modes for literature questions, since each source indexes different material, and asks the assistant to cite the URLs it used.
Written from the project's SKILL.md and checked against it.
What it can do
- search.sh webGeneral web search with a query and an optional result count.
- search.sh arxivSearches arXiv preprints and returns abstracts.
- search.sh crossrefSearches published papers by DOI through Crossref.
- search.sh pubmedSearches biomedical literature in PubMed.
- search.sh openalexSearches papers in OpenAlex, with citation counts.
- search.sh wikiLooks up background definitions on Wikipedia.
- search.sh fetchReturns the plain text of one page from a URL.
What you need
- A local model served through an endpoint such as vLLM or SGLang
- Bash tool access for the assistant
- The repository's common/tools/search.sh script, on PATH or called by path
Try asking
- Search arXiv for recent papers on retrieval-augmented generation.
- Look up the Wikipedia definition of federated learning.
- Fetch the text of this URL and summarize it with citations.
Good to know
- The built-in WebSearch tool does not work against a local endpoint, so this script is used instead.
- The source does not describe rate limits or result caps beyond the optional result count, which defaults to 5.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: common/skills/local-search/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to local-search
All alternatives →Box lets an AI assistant search, read, upload, download, move, rename, delete, restore and share Box content. It also manages comments and metadata. It suits people who work with files stored in Box.
Guides AI assistants in using n8n-mcp MCP tools to search nodes, validate configs, browse templates and manage n8n workflows. Aimed at people building n8n workflows through MCP.
Manages citations across the research and writing process. It covers searching Google Scholar and PubMed, converting DOIs, PMIDs and arXiv IDs to BibTeX, and validating bibliographies. It is for researchers building bibliographies for manuscripts or theses.
Exa Search is a skill that guides an AI assistant to use the Exa MCP server for neural search. It covers web pages, code, companies, and people, and is for users who need current information or research during development tasks.
Runs recent community and social trend research over the last 30 days. It suits teams who need to know what people are saying now about a topic or launch.
seo-flow adds the FLOW SEO framework to Claude SEO. It surfaces stage-specific AI prompts from the FLOW knowledge base across the Find, Leverage, Optimize and Win stages. It is for SEO practitioners who want evidence-led prompts.
Compare with box, n8n-mcp-tools-expert or citation-management
local-search: common questions
Why not use the built-in WebSearch tool with a local model?
The source says WebSearch runs on Anthropic infrastructure and does not work against a local endpoint. vLLM returns a 400 error and SGLang drops the tool without a search.
Does local-search need an API key?
No. The source says search.sh needs no API key.
Which search source should I use for research papers?
The source suggests starting with arxiv and openalex for research literature, and running two or three modes because each indexes different material.
How do I install local-search?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is local-search free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is local-search safe to use?
It scores 59 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to local-search?
Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.
