opencode-searchOpenCode plugin that provides web search tools using DuckDuckGo, Google, Wikipedia, Bluesky, Standard.site, and MDN Web Docs.
14
261
57 in 7 days
37.6
Multi-signal model
4 months ago
2026-04-12
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-search@0.0.9"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-search@0.0.9"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-searchopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
An OpenCode plugin that gives your agent access to DuckDuckGo, Google, Wikipedia, Bluesky, standard.site, and MDN Web Docs.
Quick Start
Add to your opencode.json:
{
"plugin": ["opencode-search"]
}
Restart OpenCode. The plugin will be installed automatically.
Tools
ddg-search
Search the web using DuckDuckGo. Returns structured results with title, URL, and snippet.
| Parameter | Type | Required |
|---|---|---|
query |
string | yes |
Uses DuckDuckGo's HTML endpoint with POST form parameters to avoid CAPTCHAs. Results are parsed from the HTML response into structured title/URL/abstract triples.
ggl-search
Search the web using Google. Returns structured results with title, URL, and snippet.
| Parameter | Type | Required |
|---|---|---|
query |
string | yes |
Uses Google's HTML search with cookie replay to avoid blocks, derived from googler. Google aggressively blocks non-JS clients, so this tool may return empty results depending on your network environment.
bsky-search
Search Bluesky posts via the AT Protocol. Returns posts with author handle, text, and engagement counts (likes, reposts, replies).
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | yes | |
limit |
number | no | Number of results to return |
sort |
string | no | Sort order: top or latest |
standard-search
Search standard.site document records on the AT Protocol. Returns blog posts and articles published to the ATmosphere with title, URL, date, and snippet.
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | yes | |
limit |
number | no | Number of results to return |
offset |
number | no | Number of results to skip |
standard.site is a publishing platform built on the AT Protocol where content is stored in a user's personal data repository. Unlike traditional websites that require crawlers and indexing pipelines to be discoverable, content published on standard.site is structured, portable, and directly queryable through the AT Protocol.
wiki-search
Search Wikipedia articles using the MediaWiki REST API. Returns structured results with title, description, excerpt, and a direct link to the article. No API key required.
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | yes | |
limit |
number | no | Number of results (1-100) |
mdn-search
Search MDN Web Docs. Returns documentation pages for web technologies with title, URL, and summary. No API key required.
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | yes | |
limit |
number | no | Number of results to return |
page |
number | no | Page number for pagination |
License
MIT