How to Build Chemical Safety Tools with Copilot
Build chemical safety lookup tools with Copilot and ToolRouter.
ToolChemistry LookupCopilot makes GHS hazard data available in your IDE for building laboratory information management systems, chemical inventory applications, and safety compliance tools. The structured hazard classification data maps directly to safety warning displays and compliance check logic.
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 Chemistry Lookup tool:
- In Copilot Chat: "Get safety data for hydrochloric acid using chemistry-lookup"
- Copilot returns structured GHS classification and hazard statement data
- Ask: "Generate a TypeScript interface for the safety data response"
- Request: "Write a function that extracts all H-statements and P-statements from this data"
Example Prompt
Try this with Copilot using the Chemistry Lookup tool
Fetch safety data for five common lab solvents using chemistry-lookup and return as JSON with compound name, signal word, hazard statements, and key precautionary measures.
Tips
- Build a hazard category filter to surface the most critical warnings prominently in your UI
- Use GHS signal word (Danger vs Warning) as a quick severity indicator in chemical inventory lists
- Cache safety data with a long TTL — GHS classifications change infrequently