Call 1lookup.dev from Cursor while you build
Cursor supports MCP servers, so its agent can call 1lookup.dev while you write code. Add https://mcp.1lookup.dev/mcp to Cursor's MCP server configuration and the agent can run a real lookup, read the response shape and write the integration code against it.
{
"mcpServers": {
"1lookup": {
"url": "https://mcp.1lookup.dev/mcp"
}
}
}Connect Cursor in 4 steps
That helps when you are wiring the REST API into a product. Instead of guessing field names, the agent runs the product with a safe example input and builds types and tests from the response it received. The server is one you add by URL, and usage is billed in credits like any other call.
- 1
Create a 1lookup.dev account and generate an API key in the dashboard.
- 2
Add a remote MCP server with the URL https://mcp.1lookup.dev/mcp to Cursor's MCP configuration.
- 3
Authorize with OAuth when Cursor starts the sign-in flow, or pass your API key as a Bearer token.
- 4
Ask the agent to list the 1lookup.dev tools, then run a test lookup.
What to build with Cursor
Generate types from a real response
Ask the agent to run Phone Validation on an example number and write a TypeScript type for the data object. The fields come from a live response, not from memory.
Add validation to a signup form
Have the agent call verify_email with a few test addresses, then write the server-side check that rejects undeliverable and disposable emails. Signup Check is the next step if you also want an IP-based verdict.
Pick the right product for a feature
Describe the feature, such as flagging risky logins, and let the agent call search_products. It returns candidates like IP Intelligence and Fraud Detection with their credit cost, so the choice is made before any code is written.
Cursor is a trademark of its owner. This guide describes how to connect using our MCP server and REST API. 1lookup.dev is not affiliated with or endorsed by Cursor.
Run your first lookup in two minutes
Create a key, pick a plan and call any product in the catalog. Plans start at $29 a month.