<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Scaff Search]]></title><description><![CDATA[Scaff Search]]></description><link>https://scaffsearch.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:01:50 GMT</lastBuildDate><atom:link href="https://scaffsearch.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How to Add Web Search to Your AI Agent with One HTTP Call]]></title><description><![CDATA[AI agents need web search. Most search APIs charge per query and require API keys. Scaff Search is different: it's a free meta-search engine with a JSON…]]></description><link>https://scaffsearch.hashnode.dev/how-to-add-web-search-to-your-ai-agent-with-one-http-call</link><guid isPermaLink="true">https://scaffsearch.hashnode.dev/how-to-add-web-search-to-your-ai-agent-with-one-http-call</guid><category><![CDATA[AI]]></category><category><![CDATA[mcp]]></category><category><![CDATA[Python]]></category><category><![CDATA[api]]></category><dc:creator><![CDATA[scaff-search]]></dc:creator><pubDate>Mon, 30 Nov 2026 15:33:36 GMT</pubDate><content:encoded><![CDATA[<p>AI agents need web search. Most search APIs charge per query and require API keys. Scaff Search is different: it's a free meta-search engine with a JSON API and a remote MCP server. No signup, no API key, no billing.</p>
<h2>The API</h2>
<p>One GET request returns structured JSON:</p>
<pre><code class="language-bash">curl "https://search.scaff.dev/api/search?q=best+rust+web+frameworks+2026"
</code></pre>
<p>Response:</p>
<pre><code class="language-json">{
  "query": "best rust web frameworks 2026",
  "count": 10,
  "results": [
    {
      "title": "Top Rust Web Frameworks",
      "url": "https://example.com/rust-frameworks",
      "snippet": "A comparison of Actix, Axum, Rocket..."
    }
  ],
  "duration": 0.84
}
</code></pre>
<p>Parameters: <code>q</code> (query, required), <code>num</code> (1-20, default 10), <code>page</code> (1-10), <code>lang</code> (language code), <code>safe</code> (0 or 1).</p>
<h2>Python Example</h2>
<pre><code class="language-python">import requests

def search(query, num=5):
    r = requests.get(
        "https://search.scaff.dev/api/search",
        params={"q": query, "num": num},
        timeout=20
    )
    r.raise_for_status()
    return r.json()["results"]

for hit in search("async python frameworks"):
    print(f"{hit['title']}: {hit['url']}")
</code></pre>
<h2>MCP Integration</h2>
<p>If your agent supports the Model Context Protocol, point it at:</p>
<pre><code>https://search.scaff.dev/mcp
</code></pre>
<p>The server exposes a <code>web_search</code> tool. In Claude Desktop's config:</p>
<pre><code class="language-json">{
  "mcpServers": {
    "scaff-search": {
      "type": "url",
      "url": "https://search.scaff.dev/mcp"
    }
  }
}
</code></pre>
<p>Works with any MCP-compatible client: Claude Desktop, Cursor, Windsurf, Claude Code, or your own agent.</p>
<h2>JavaScript / TypeScript</h2>
<pre><code class="language-javascript">const res = await fetch(
  "https://search.scaff.dev/api/search?" +
  new URLSearchParams({ q: "node.js ORMs compared", num: "5" })
);
const { results } = await res.json();
results.forEach(r =&gt; console.log(r.title, r.url));
</code></pre>
<p>CORS is enabled (<code>Access-Control-Allow-Origin: *</code>), so browser apps can call the API directly.</p>
<h2>What Makes It Different</h2>
<ul>
<li><strong>Free</strong> - no API key, no signup, no rate-limit walls</li>
<li><strong>Meta-search</strong> - aggregates results from multiple sources, de-duplicates by URL</li>
<li><strong>MCP-native</strong> - remote MCP server works out of the box</li>
<li><strong>Transparent</strong> - requests are logged for research (credentials redacted). Full disclosure at <a href="https://search.scaff.dev/privacy">search.scaff.dev/privacy</a></li>
</ul>
<h2>Links</h2>
<ul>
<li>Search: <a href="https://search.scaff.dev">search.scaff.dev</a></li>
<li>API docs: <a href="https://search.scaff.dev/docs">search.scaff.dev/docs</a></li>
<li>MCP + agent guide: <a href="https://search.scaff.dev/docs/agents">search.scaff.dev/docs/agents</a></li>
<li>Source: <a href="https://github.com/scaff-search/scaff-search">github.com/scaff-search/scaff-search</a></li>
</ul>
]]></content:encoded></item></channel></rss>