How to Find Restaurants Nearby with Copilot

Find restaurants nearby with Copilot and ToolRouter. Location data for apps and tools.

Tool
Places Search icon
Places Search

Copilot pulls restaurant data from within your IDE for building location features, generating test fixtures, or populating local business databases. Query nearby restaurants, extract structured data with ratings and hours, and use it directly in map components, recommendation engines, or travel apps.

Connect ToolRouter to Copilot

1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the Places Search tool:

  1. In Copilot Chat: "Use places-search to find restaurants near lat 51.5074, lng -0.1278"
  2. Copilot returns structured restaurant data
  3. Ask: "Return as JSON with name, rating, address, phone, and hours"
  4. Drop the data into your map component or recommendation feature

Example Prompt

Try this with Copilot using the Places Search tool
Use places-search to find restaurants near the city centre of Manchester, UK. Return structured JSON with name, rating, cuisine, address, and opening hours for each result.

Tips

  • Use coordinates rather than text addresses for more precise radius queries
  • Ask for a consistent JSON schema so results integrate cleanly with your data layer
  • Test your location features with real business data rather than synthetic fixtures