DEV Community

Jan Herklotz
Jan Herklotz

Posted on AI-assisted

Building MCP Servers for Product Search and Availability

I recently built a few MCP servers that let AI assistants search listings, find products, and check prices and availability.

The idea was simple: instead of opening several websites and searching each one manually, I wanted to ask an assistant to find what I was looking for.

So far, I’ve built servers for:

What I learned

MCP gives each server a consistent way to expose tools to an assistant. The more interesting work is figuring out how to get useful data from each site and return it in a form the assistant can work with.

Every site is different. Product pages expose options and variants differently, availability depends on the storefront or location, and search results don’t always match the query as closely as you’d expect.

There’s also a difference between “unavailable” and “I couldn’t check.” If a request fails or data is missing, the assistant needs to know rather than treating it as an out-of-stock result.

What’s next

I’m interested in making these servers easier to use and improving coverage where product pages or storefronts behave differently.

They’re all open source, so feel free to try them out, report issues, or contribute. I’d also be interested to hear what other stores or services would be useful to connect through MCP.

Top comments (0)