<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Recall Kitchen</title>
    <description>The latest articles on DEV Community by Recall Kitchen (@recallkitchen).</description>
    <link>https://dev.to/recallkitchen</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4211568%2Ffa399d00-21b2-4434-a177-cf780bec16cd.png</url>
      <title>DEV Community: Recall Kitchen</title>
      <link>https://dev.to/recallkitchen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/recallkitchen"/>
    <language>en</language>
    <item>
      <title>Building a recall lookup? Fetch the full notice before summarizing</title>
      <dc:creator>Recall Kitchen</dc:creator>
      <pubDate>Fri, 13 Nov 2026 14:54:57 +0000</pubDate>
      <link>https://dev.to/recallkitchen/building-a-recall-lookup-fetch-the-full-notice-before-summarizing-7ok</link>
      <guid>https://dev.to/recallkitchen/building-a-recall-lookup-fetch-the-full-notice-before-summarizing-7ok</guid>
      <description>&lt;p&gt;We built Recall Kitchen. One integration detail worth handling: search results contain truncated descriptions. Don't turn that snippet into instructions for someone with a potentially recalled product.&lt;/p&gt;

&lt;p&gt;Start with &lt;code&gt;search_product_recalls&lt;/code&gt; using a product name. Take the returned &lt;code&gt;id&lt;/code&gt; and call &lt;code&gt;get_product_recall&lt;/code&gt; with &lt;code&gt;recall_id&lt;/code&gt; to retrieve the full description. Then confirm the details against the official notice before presenting any action to the user. A missing search result is not proof a product is unaffected; results can be incomplete or mismatched.&lt;/p&gt;

&lt;p&gt;To try it, a few anonymous MCP searches per IP are free: currently 5/hour and 15/day. For continued testing, sign in to Recall Kitchen, accept the Terms, and create an API key under Integrations. Signup keys allow 60 tool calls/hour and 400/day; account usage is shared across keys.&lt;/p&gt;

&lt;h3&gt;
  
  
  x402 alternative
&lt;/h3&gt;

&lt;p&gt;An x402-capable client can pay $0.025 USDC on Base per anonymous search call after the free IP quota, without creating an account. Photo search (beta) requires an API key or x402 and is not included in that free anonymous quota. Account tools require an API key; x402 does not unlock them.&lt;/p&gt;

&lt;p&gt;Try a lookup and tell us which step was confusing:&lt;br&gt;
&lt;a href="https://recallkitchen.com/docs?utm_source=devto&amp;amp;utm_campaign=nov7_signup_push" rel="noopener noreferrer"&gt;https://recallkitchen.com/docs?utm_source=devto&amp;amp;utm_campaign=nov7_signup_push&lt;/a&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>mcp</category>
      <category>programming</category>
    </item>
    <item>
      <title>How to pay for Recall Kitchen MCP tools with x402</title>
      <dc:creator>Recall Kitchen</dc:creator>
      <pubDate>Fri, 30 Oct 2026 23:09:24 +0000</pubDate>
      <link>https://dev.to/recallkitchen/how-to-pay-for-recall-kitchen-mcp-tools-with-x402-23fc</link>
      <guid>https://dev.to/recallkitchen/how-to-pay-for-recall-kitchen-mcp-tools-with-x402-23fc</guid>
      <description>&lt;p&gt;Recall Kitchen's MCP server lets AI agents look up government-published product, food, vehicle and drug recalls. Most lookups are free; past the free quota (and for photo search) an agent can pay per call with x402 in USDC on Base. Here's exactly how.&lt;/p&gt;

&lt;p&gt;(Disclosure: I build Recall Kitchen.)&lt;/p&gt;

&lt;p&gt;Docs: &lt;a href="https://recallkitchen.com/docs?utm_source=devto&amp;amp;utm_campaign=x402_howto" rel="noopener noreferrer"&gt;https://recallkitchen.com/docs?utm_source=devto&amp;amp;utm_campaign=x402_howto&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Paying per call with x402 (no account)
&lt;/h2&gt;

&lt;p&gt;You don't need an account to keep using the server. A few anonymous searches per IP are free (5 an hour, 15 a day), and photo search is never in that free quota. After the quota, an x402-capable client can pay per call: $0.025 in USDC on Base. When a call needs payment, the server returns a normal JSON-RPC result whose content is an x402 "Payment Required" challenge (HTTP 200, &lt;code&gt;isError: true&lt;/code&gt;), not a bare HTTP 402. Your client pays it and retries. The price and pay-to address are published at &lt;a href="https://app.recallkitchen.com/.well-known/x402?utm_source=devto&amp;amp;utm_campaign=x402_howto" rel="noopener noreferrer"&gt;&lt;code&gt;https://app.recallkitchen.com/.well-known/x402&lt;/code&gt;&lt;/a&gt;. x402 covers search and photo search only. Account tools like watches and inventory need a free API key instead. The full rules are in the &lt;a href="https://recallkitchen.com/docs?utm_source=devto&amp;amp;utm_campaign=x402_howto" rel="noopener noreferrer"&gt;docs&lt;/a&gt; and the &lt;a href="https://recallkitchen.com/api-terms?utm_source=devto&amp;amp;utm_campaign=x402_howto#x402" rel="noopener noreferrer"&gt;API Terms&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Endpoint
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;MCP (streamable HTTP): &lt;code&gt;POST https://app.recallkitchen.com/mcp&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Discovery: &lt;a href="https://app.recallkitchen.com/.well-known/x402?utm_source=devto&amp;amp;utm_campaign=x402_howto" rel="noopener noreferrer"&gt;&lt;code&gt;https://app.recallkitchen.com/.well-known/x402&lt;/code&gt;&lt;/a&gt; (also referenced from OpenAPI / docs)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Which tools need payment
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Free anonymous quota&lt;/th&gt;
&lt;th&gt;x402 / API key&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;search_product_recalls&lt;/code&gt; (and other non-photo search tools)&lt;/td&gt;
&lt;td&gt;Yes â€” a few calls per IP (docs/API terms: 5/hour, 15/day)&lt;/td&gt;
&lt;td&gt;After the IP quota, pay with x402 &lt;strong&gt;or&lt;/strong&gt; send an API key&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;search_product_recalls_from_image&lt;/code&gt; (photo, beta)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;No&lt;/strong&gt; â€” never in the free anonymous quota&lt;/td&gt;
&lt;td&gt;Always needs an API key &lt;strong&gt;or&lt;/strong&gt; x402&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Account tools (watches, inventory, notifications, key management) do &lt;strong&gt;not&lt;/strong&gt; accept x402; use a free API key from &lt;code&gt;signup&lt;/code&gt; / Integrations.&lt;/p&gt;

&lt;h2&gt;
  
  
  What an unpaid call returns
&lt;/h2&gt;

&lt;p&gt;For MCP tool calls that require payment, the server answers &lt;strong&gt;HTTP 200&lt;/strong&gt; with a JSON-RPC &lt;code&gt;tools/call&lt;/code&gt; result whose content is an x402 &lt;strong&gt;Payment Required&lt;/strong&gt; payload (&lt;code&gt;isError: true&lt;/code&gt;). That HTTP 200 + JSON-RPC payment challenge is correct for this MCP integration â€” clients should not expect a bare HTTP 402 on the MCP POST for tool payment.&lt;/p&gt;

&lt;p&gt;Live example (image search, unpaid), truncated:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"jsonrpc"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"result"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"isError"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"structuredContent"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"error"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Payment Required"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"x402Version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"accepts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"scheme"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"exact"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"network"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"eip155:8453"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"asset"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"amount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"25000"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"payTo"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0x8E2d8e2850Baf623A8A886DE7c80CDfB83a5cfa3"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"maxTimeoutSeconds"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"extra"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"USD Coin"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;}],&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"resource"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"mcp://tool/search_product_recalls_from_image"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"description"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Photo (beta): identify products in an image URL, data URI, or MCP image content"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"mimeType"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"application/json"&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;amount&lt;/code&gt; is USDC &lt;strong&gt;atomic units&lt;/strong&gt; (6 decimals): &lt;code&gt;"25000"&lt;/code&gt; = &lt;strong&gt;$0.025&lt;/strong&gt;. The well-known document publishes the same price as decimal &lt;code&gt;"0.025"&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Network, asset, and pay-to wallet
&lt;/h2&gt;

&lt;p&gt;From &lt;code&gt;/.well-known/x402&lt;/code&gt; and the live challenge (they match):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Network&lt;/td&gt;
&lt;td&gt;Base mainnet â€” &lt;code&gt;eip155:8453&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Asset&lt;/td&gt;
&lt;td&gt;USDC on Base â€” &lt;code&gt;0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Currency&lt;/td&gt;
&lt;td&gt;USDC&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Price&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;$0.025 per call&lt;/strong&gt; (unless a live challenge states otherwise)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pay to&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0x8E2d8e2850Baf623A8A886DE7c80CDfB83a5cfa3&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scheme&lt;/td&gt;
&lt;td&gt;&lt;code&gt;exact&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;x402 version&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Do not invent other prices; always prefer the live &lt;code&gt;accepts[]&lt;/code&gt; on the challenge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steps for a client with an x402 wallet
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Connect to &lt;code&gt;https://app.recallkitchen.com/mcp&lt;/code&gt; (streamable HTTP / JSON-RPC). Prefer a free API key (&lt;code&gt;X-API-Key: rk_...&lt;/code&gt; for Grok, or &lt;code&gt;Authorization: Bearer rk_...&lt;/code&gt; for Claude/Cursor) when you have one â€” that skips x402 for search tools.&lt;/li&gt;
&lt;li&gt;Call the tool (&lt;code&gt;search_product_recalls&lt;/code&gt; after the free IP quota, or &lt;code&gt;search_product_recalls_from_image&lt;/code&gt; any time without a key).&lt;/li&gt;
&lt;li&gt;Read the JSON-RPC result. If it is a Payment Required challenge, take &lt;code&gt;accepts[0]&lt;/code&gt; (network, asset, amount, payTo).&lt;/li&gt;
&lt;li&gt;With a Base USDC wallet / x402 client (&lt;a href="https://github.com/adamdecaf/rk-mcp" rel="noopener noreferrer"&gt;rk-mcp&lt;/a&gt; Go client uses &lt;code&gt;X402_EVM_PRIVATE_KEY&lt;/code&gt; and registers scheme &lt;code&gt;eip155:8453&lt;/code&gt;), sign and settle the &lt;strong&gt;exact&lt;/strong&gt; USDC payment to &lt;code&gt;payTo&lt;/code&gt; for &lt;code&gt;amount&lt;/code&gt; atomic units on Base.&lt;/li&gt;
&lt;li&gt;Retry the same tool call with the x402 payment proof attached the way your x402+MCP client library expects (rk-mcp wraps the session with auto-payment via the x402 MCP helper).&lt;/li&gt;
&lt;li&gt;On success you get the normal tool result. Crypto micropayments are final (see &lt;a href="https://recallkitchen.com/api-terms?utm_source=devto&amp;amp;utm_campaign=x402_howto#x402" rel="noopener noreferrer"&gt;API Terms&lt;/a&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  rk-mcp Go client (reference)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;X402_EVM_PRIVATE_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;0x...   &lt;span class="c"&gt;# Base wallet funded with USDC (+ gas)&lt;/span&gt;
&lt;span class="nb"&gt;cd &lt;/span&gt;examples/go
go run ./search_product_recalls &lt;span class="nt"&gt;-query&lt;/span&gt; spinach &lt;span class="nt"&gt;-location&lt;/span&gt; Iowa
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or set &lt;code&gt;RK_API_KEY&lt;/code&gt; / &lt;code&gt;RECALL_KITCHEN_API_KEY&lt;/code&gt; instead of paying per call.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Live: &lt;a href="https://app.recallkitchen.com/.well-known/x402?utm_source=devto&amp;amp;utm_campaign=x402_howto" rel="noopener noreferrer"&gt;&lt;code&gt;GET https://app.recallkitchen.com/.well-known/x402&lt;/code&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Live: unpaid &lt;code&gt;tools/call&lt;/code&gt; â†’ &lt;code&gt;search_product_recalls_from_image&lt;/code&gt; on &lt;code&gt;/mcp&lt;/code&gt; (HTTP 200 + Payment Required JSON-RPC)&lt;/li&gt;
&lt;li&gt;Docs: &lt;a href="https://recallkitchen.com/docs?utm_source=devto&amp;amp;utm_campaign=x402_howto#mcp-payments" rel="noopener noreferrer"&gt;https://recallkitchen.com/docs/#mcp-payments&lt;/a&gt; and &lt;a href="https://recallkitchen.com/docs?utm_source=devto&amp;amp;utm_campaign=x402_howto#x402-payments" rel="noopener noreferrer"&gt;#x402-payments&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;API Terms: &lt;a href="https://recallkitchen.com/api-terms?utm_source=devto&amp;amp;utm_campaign=x402_howto#x402" rel="noopener noreferrer"&gt;https://recallkitchen.com/api-terms#x402&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Client: &lt;a href="https://github.com/adamdecaf/rk-mcp" rel="noopener noreferrer"&gt;https://github.com/adamdecaf/rk-mcp&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>api</category>
      <category>x402</category>
    </item>
    <item>
      <title>Giving your AI assistant a "is this recalled?" tool with MCP</title>
      <dc:creator>Recall Kitchen</dc:creator>
      <pubDate>Tue, 27 Oct 2026 18:38:16 +0000</pubDate>
      <link>https://dev.to/recallkitchen/giving-your-ai-assistant-a-is-this-recalled-tool-with-mcp-8hl</link>
      <guid>https://dev.to/recallkitchen/giving-your-ai-assistant-a-is-this-recalled-tool-with-mcp-8hl</guid>
      <description>&lt;p&gt;Most AI assistants will happily guess whether a product was recalled. That's the wrong answer for a question where the real source is a government agency notice. A better pattern is to give the assistant a tool that searches the agency notices and returns the notice link, so the model quotes the agency instead of improvising.&lt;/p&gt;

&lt;p&gt;This post walks through wiring that up with the Model Context Protocol (MCP), using Recall Kitchen's hosted MCP server as the example. (Disclosure: I build Recall Kitchen.) The same pattern works for any MCP server that wraps a public data source.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Add the server
&lt;/h2&gt;

&lt;p&gt;Recall Kitchen runs as a remote MCP server over Streamable HTTP, so there's nothing to install. In a client that takes a JSON config (Cursor, Claude Desktop, and others), add:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"recall-kitchen"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://app.recallkitchen.com/mcp"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Search works anonymously within a small free quota. If you want more, the &lt;code&gt;signup&lt;/code&gt; tool creates a free account and API key from an email.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Pick the right tool for the question
&lt;/h2&gt;

&lt;p&gt;The server exposes a few search tools, and picking the right one matters more than the prompt:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;search_product_recalls&lt;/code&gt; does keyword search with websearch syntax: unquoted words are AND, &lt;code&gt;OR&lt;/code&gt; is or, &lt;code&gt;-term&lt;/code&gt; excludes, and quoted phrases match as a unit. You can filter by &lt;code&gt;source&lt;/code&gt; (cpsc, fdafoodsafety, usda, nhtsa, canada, and others) and by date.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;search_product_recalls_by_upc&lt;/code&gt; takes a UPC/EAN, or a barcode image.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;search_product_recalls_from_image&lt;/code&gt; (beta) tries to identify products in a photo and match them.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;get_product_recall&lt;/code&gt; returns the full notice for one result.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Ask a real question
&lt;/h2&gt;

&lt;p&gt;Prompt: "Has there been a CPSC recall on Babyjoy high chairs?"&lt;/p&gt;

&lt;p&gt;The assistant calls:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Babyjoy high chair"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"cpsc"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"limit"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;and gets back a trimmed result like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"cpsc"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Costway Recalls Babyjoy High Chairs Due to Entrapment and Suffocation Hazards ..."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://www.cpsc.gov/Recalls/2025/Costway-Recalls-Babyjoy-High-Chairs-Due-to-Entrapment-and-Suffocation-Hazards-Ban-on-Inclined-Sleepers-and-Violation-of-Federal-Regulations-for-High-Chairs"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"publishedOn"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2025-02-27"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"extracted"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"products"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"productName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Babyjoy High Chairs"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"modelNumbers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"BB5656PI"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"BB5656BE"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"BB5656GR"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}]&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The useful part is the &lt;code&gt;url&lt;/code&gt;: the assistant can answer with the agency's own notice and tell the person to compare their model number against it, rather than paraphrasing a hazard from memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Prompting tips that made answers better
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Tell the model to always include the agency link and to quote the remedy from the notice instead of summarizing it.&lt;/li&gt;
&lt;li&gt;Tell it that "no results" means "no match found here", not "this product is fine". Search can miss things, and the agency notice is what counts.&lt;/li&gt;
&lt;li&gt;Prefer a model number or UPC over a product name when the person has one; names are ambiguous.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;-term&lt;/code&gt; to cut noise, for example &lt;code&gt;stroller -wagon&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Paying per call with x402 (no account)
&lt;/h2&gt;

&lt;p&gt;You don't need an account to keep using the server. A few anonymous searches per IP are free (5 an hour, 15 a day), and photo search is never in that free quota. After the quota, an x402-capable client can pay per call: $0.025 in USDC on Base. When a call needs payment, the server returns a normal JSON-RPC result whose content is an x402 "Payment Required" challenge (HTTP 200, &lt;code&gt;isError: true&lt;/code&gt;), not a bare HTTP 402. Your client pays it and retries. The price and pay-to address are published at &lt;code&gt;https://app.recallkitchen.com/.well-known/x402&lt;/code&gt;. x402 covers search and photo search only. Account tools like watches and inventory need a free API key instead. The full rules are in the &lt;a href="https://recallkitchen.com/docs" rel="noopener noreferrer"&gt;docs&lt;/a&gt; and the &lt;a href="https://recallkitchen.com/api-terms" rel="noopener noreferrer"&gt;API Terms&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Where this is useful
&lt;/h2&gt;

&lt;p&gt;Resale and marketplace tools checking used baby gear before listing, parenting apps, and kitchen inventory tools are the obvious ones. The pattern also generalizes: any time the true answer lives in a public record, give the model a tool that returns the record and the link.&lt;/p&gt;

&lt;p&gt;Docs and the full tool list: &lt;a href="https://recallkitchen.com/docs?utm_source=devto&amp;amp;utm_campaign=mcp-recall-tutorial" rel="noopener noreferrer"&gt;https://recallkitchen.com/docs?utm_source=devto&amp;amp;utm_campaign=mcp-recall-tutorial&lt;/a&gt;&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>api</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
