How to Extract Contact Info with Copilot
Extract directory contacts in your IDE with Copilot and ToolRouter. Lead data extraction without switching tools.
ToolWeb ScraperCopilot extracts contact data from directories right in your IDE, which is useful when building CRM integrations, lead import features, or sales automation tools. Pull contact data and immediately use it in your application code, tests, or data seeding scripts without browser-based manual collection.
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
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Web Scraper tool:
- Ask Copilot: "Scrape contact info from example-directory.com/businesses"
- Review the extracted contact records in your editor
- Ask: "Generate a JSON schema for this contact data"
- Use the schema and data in your lead management application
Example Prompt
Try this with Copilot using the Web Scraper tool
Extract contact data from example-directory.com/agencies and generate a JSON schema matching the extracted structure.
Tips
- Ideal for building lead management tools with real directory data
- Copilot can generate database migration scripts from contact schemas
- Use extracted data to populate development and staging environments