Fill Safari Forms with AI on Mac

Let your AI fill multiple Safari form fields in one shot on your Mac. Map CSS selectors to values, locally and privately with LMCP — no API keys, no cloud.

L
LMCP··5 min read
Try it — copy this prompt into your AI

Open a form in Safari and tell your assistant: 'Fill this form — put John Doe in #name, [email protected] in #email, and Acme Inc in #company.' The AI will call safari_fill_form and populate every field at once.

What safari_fill_form does

The safari_fill_form tool lets your AI assistant fill several fields in a Safari web form in a single step. Instead of typing into each box one at a time, you pass a JSON object that maps a CSS selector to the value you want in that field, and LMCP enters them all at once in the page that is currently open in Safari. It is part of LMCP, a free, native macOS MCP server with 230+ tools that connect AI assistants to your real Mac apps.

A natural-language example you can type to your assistant: "Fill out the contact form on this Safari page — put my name in #name, [email protected] in #email, and 'Following up on our call' in the textarea#message." The AI translates that into a single safari_fill_form call and the form is populated instantly, ready for you to review and submit.

Which AI assistants can use safari_fill_form?

safari_fill_form works with every major MCP-capable assistant:

  • Desktop clients — Claude Desktop, Cursor, VS Code (GitHub Copilot), Windsurf and Zed auto-configure through local stdio when LMCP is installed.
  • Web AIs — ChatGPT, Claude.ai (web), Grok and Perplexity connect through the LMCP Cloud Relay connector, so a browser-based assistant can still drive Safari on your Mac.

The same tool is exposed to all of them, so the workflow is identical no matter which assistant you prefer.

Can my AI automate safari_fill_form and chain it with other apps?

This tool shines when chained with the rest of LMCP's Safari toolkit. A typical flow: the AI opens a URL, reads the page to discover the field selectors, calls safari_fill_form to populate everything, then clicks the submit button. Because it is read-oriented and works on the live page, you stay in control — the AI fills, you confirm. You can also combine it with Contacts or Mail tools so the assistant pulls a real email or address from your data and drops it straight into the form.

Does safari_fill_form work with my real Mac data?

The AI works against the actual page open in your Safari and your real Mac data. It can pull your name from Contacts, a reference number from a recent email, or details from a Note, and place them into the right fields. Nothing is invented or copy-pasted from a generic template — the values come from your own apps, so the form is filled with accurate, personal information.

How much time does safari_fill_form save?

Repetitive web forms — job applications, expense portals, signup flows, support tickets — eat minutes every day. With safari_fill_form, a ten-field form drops from a couple of minutes of tabbing and typing to a single instruction. Multiply that across the dozens of forms a busy week throws at you and the time saved adds up fast, all without leaving the conversation with your assistant.

Is safari_fill_form private and GDPR-compliant?

Everything runs locally on your Mac. The page content, the field values and your app data never leave the machine — there is no cloud copy, no server storage and no API keys to hand over. LMCP talks directly to Safari on your device. This makes it GDPR-compliant by architecture: data you never transmit is data nobody else can hold. Download LMCP to get started.

Ready to try it?

Works with Claude, Cursor, VS Code, ChatGPT and any MCP client

Download for Mac
FreemacOS 12+ · Apple Silicon & Intel

✦ llms.txt