Search Shim: a drop-in search-and-fetch tool over DeepSeek's $0.75 API, with fallback
An open-source MCP server and hosted router that defaults agent web search to DeepSeek's cheap API. Indie agent builders pay.
Competitive · DeepSeek Search API, $0.75 per 1,000
Written for: Solo builder
Next step
Build the MCP server this week with DeepSeek plus one fallback provider, publish a 200-query comparison of cost and hit rate, and post it in the Hacker News DeepSeek search thread and on r/LocalLLaMA.
Why now
With tokens this cheap, search fees are a large part of what a research agent costs, and billing only on successful calls makes per-task cost predictable. China's planned export controls and model-origin worries mean many users will want a switch, not a lock-in. A shim that caches, logs cost per task, routes sensitive queries to a non-Chinese provider and falls back when a site blocks fetchers is useful right away.
What became possible
DeepSeek opened its internal search engine as Search and Fetch APIs at $0.75 per 1,000 successful calls. Alongside it shipped V4.1-Flash-1017, an open-weight model with shorter outputs and lower per-task cost. API users in Claude Code and Codex get free access for now.
Three ways in
- search-shim MCP server
One search tool and one fetch tool with pluggable providers (DeepSeek first), a local cache and a cost line per task.
- Customer
- Developers building research or monitoring agents
- Model
- Open source, with a paid hosted version
- Origin-policy router
Hosted endpoint with rules like 'never send queries containing these terms or domains to a China-based provider'. Automatic fallback when a fetch fails or a site blocks agents.
- Customer
- Small SaaS teams adding web grounding to their product
- Model
- Usage markup over provider cost plus $19/month base
- Nine-dollar watch
A showcase app on the shim: daily competitor price and page-change monitoring for small e-commerce shops, possible because search now costs fractions of a cent.
- Customer
- Shopify and Etsy sellers
- Model
- $9/month self-serve
Competition
The Nine-dollar watch idea runs into existing Shopify apps that already cost $2 to $19 a month, such as PricePing, Competitor Price Tracker Pro and Pricify, plus PageCrawl. Cheaper search doesn't help much here, because price monitoring mostly means fetching known competitor URLs, not searching. It is better used as a demo of the shim than as a product.
Full competition notes (11 competitors)
The basic search-shim is already a commodity. At least three open-source MCP servers wrapped DeepSeek's Search and Fetch APIs within about a day of launch, and LiteLLM already offers a unified search gateway across about 15 providers. Adding DeepSeek there would cover most developers who want one search tool with interchangeable providers and fallback. So a plain open-source wrapper with a cache and cost tracking is not a business by itself. It works mainly as a way to get noticed. I found no product focused on the origin-policy router. That would be a service that routes or blocks search queries by where the provider is based, using rules like keeping queries with certain terms, domains or customer data away from a China-based provider. It would keep an audit log and fall back automatically when a fetch is blocked. That compliance and data-residency angle, sold to small SaaS teams who want DeepSeek's prices without taking on the legal risk of its China data storage, is the most defensible part of the idea. Timing works against it in two ways. DeepSeek's free period for calls made through Claude Code, Codex and its Harness tool ends on October 31, 2026, and the 5 requests per second per-account limit means a hosted router has to manage many accounts or keys carefully. Incumbents like LiteLLM, Portkey, or the search vendors themselves could also add policy rules quickly. The Nine-dollar watch idea runs into existing Shopify apps that already cost $2 to $19 a month, such as PricePing, Competitor Price Tracker Pro and Pricify, plus PageCrawl. Cheaper search doesn't help much here, because price monitoring mostly means fetching known competitor URLs, not searching. It is better used as a demo of the shim than as a product.
- habitssss/deepseek-web-mcp
MIT-licensed community MCP server that calls DeepSeek's official /v1/tools/search and /v1/tools/fetch endpoints and returns Markdown. This is essentially the core of search-shim with DeepSeek only.
- zengzoxiong/deepseek-search-mcp
Another wrapper for DeepSeek's Search and Fetch APIs, with freshness filtering and structured metadata. It shows how quickly the single-provider wrapper became a commodity.
- zouyuanqing/deepseek-web-search-mcp
Chinese-language MCP server that combines DeepSeek native search with other search providers, adds a SearXNG fallback and optional OpenRouter reranking. Closest to the pluggable-providers-with-fallback design.
- LiteLLM search gateway
Open-source unified search() SDK and proxy across about 15 providers (Tavily, Exa, Brave, Perplexity, Firecrawl, SearXNG, Serper and others), configured through search_tools in config.yaml. Many teams already run LiteLLM, so adding a DeepSeek provider there would cover most of the router idea.
- Multi-Search MCP Server (guptabhishek)
Priority-based fallback across Tavily, Google, DuckDuckGo and Brave, aimed at making the most of free quotas.
- web-search-plus-mcp
Multi-provider MCP server covering Exa, Tavily, Brave, Firecrawl, Parallel, Linkup and SearXNG.
- Universal Web Retrieval (uwr)
MCP server that switches from AnySearch to Tavily to DDGS when it hits rate limits or outages.
- mcp-nexus
Tavily and Brave gateway with key rotation and an admin UI. It is a hosted-router-style project.
- PricePing
Shopify app for daily competitor price checks with email or Slack alerts. Free for 3 URLs, $19/month for 25. It directly overlaps the Nine-dollar watch idea.
- Competitor Price Tracker Pro
Shopify competitor price alerts from $1.99/month. It is cheaper than a $9 offering.
- PageCrawl
General page-change monitor with Shopify competitor templates for prices, new products and collections. Free to start.
Checked 2026-10-18
Risks
- The current pricing and free access may be promotional and could change
- Sending queries to a China-based provider is a hard no for some users, and export rules are moving
- Websites are closing their doors to agents, which hurts fetch success rates
- DeepSeek could ship its own MCP server, which leaves only the routing and policy layer, with thin margins
Strong team fit and buildability; open space is the weak point (5).
tech 7 · pull 6 · space 5 · fit 9 · build 9
Exposed
Companies that could benefit or be threatened. News and context, not investment advice.
Momentum of its main topic
Sources
- Deepseek V4.1 Flash 1017 beats larger rivals in agentic tasks while once again massively cutting per-task costsThe Decoder
- DeepSeek search and fetch – $0.75 per 1000 successful requestsHacker News
- DeepSeek releases AI model update, opens search APIs to all usersInvesting.com
- DeepSeek-v4.1-Flash-1017Hacker News
- China plans to tighten export controls on open-weight models and 23 key AI technologiesThe Decoder
- Websites are closing their doors to AI agentsThe Verge AI
Status history
- 2026-10-18 Flagged as buildable