# MCP server and IP lookup API
> How to call the public MCP server and the JSON API. No API key.
Tools: my_ip, lookup_ip, lookup_asn, dns_resolve, blacklist_check, cgnat_check, vpn_recommendation. vpn_recommendation always includes affiliate: true and a disclosure. Rankings ignore commission.

Discovery: [OpenAPI](https://ipinfo.fyi/openapi.json), [API catalog](https://ipinfo.fyi/.well-known/api-catalog), [AI catalog](https://ipinfo.fyi/.well-known/ai-catalog.json), [server card](https://ipinfo.fyi/mcp/server-card), [llms.txt](https://ipinfo.fyi/llms.txt).

Setup for Claude Desktop, Cursor, and ChatGPT, plus curl, Python, and JavaScript, is on the HTML page at https://ipinfo.fyi/docs. Any HTML page is also available as Markdown: add .md or send Accept: text/markdown.
## Questions

### Where is the MCP server?

POST JSON-RPC to https://ipinfo.fyi/mcp. The transport is stateless streamable HTTP. The server card is https://ipinfo.fyi/mcp/server-card. There is no API key. my_ip is the caller of the server, not the end user, unless the browser is the client.
