A Claude Prompt for a Local Service Page (With a Worked Example)
A copy-paste Claude prompt that writes one local service page from your own facts, a filled-in example for a fictional plumber, the output, and how to check it.
SEOHQ · October 28, 2026
What prompt should you give Claude to write one local service page? One that hands Claude the facts (yours, not its), fixes the page structure, and says what to do when a fact is missing: flag the gap instead of filling it. Paste the prompt below, replace the brackets with your details, and edit what comes back.
This is the single-page version of the prompts in our guide to using Claude to write location pages, which covers batches and QC. Here: one page, from prompt to checks.
Gather the facts first
Claude writes fluent copy about any city but can’t know your jobs, your prices or where you really work. Pages come out generic when the only local input is the city name, so collect these from your own records first:
- What the service includes, in your words
- How a job runs from first call to finished work
- What moves the price, even if you don’t publish numbers
- Two or three details from jobs you’ve done in that area
- Nearby areas you actually serve
- Proof you can show: a license, warranty terms, or real reviews (with a link)
- Hours and how fast you respond
If you can’t fill in the local details, that tells you something: the page may not deserve to exist yet. We explain why in location pages vs doorway pages.
The prompt
You are an experienced copywriter for local service businesses. Write ONE web page
about [SERVICE] in [CITY], [STATE] for [BUSINESS_NAME].
FACTS YOU MAY USE (nothing else is allowed):
- Business: [BUSINESS_NAME], [BUSINESS_TYPE]. Phone: [PHONE]
- Service: [SERVICE]. What is included: [WHAT_IS_INCLUDED]
- How a job works, start to finish: [PROCESS_STEPS]
- What affects the price: [PRICING_FACTS] (or "none": then do not mention price)
- Local details from our own job records: [LOCAL_DETAILS]
- Nearby areas we really serve: [NEARBY_AREAS]
- Proof we can show: [PROOF] (license, warranty terms, real reviews, or "none")
- Hours and response time: [HOURS]
RULES
1. Use only the facts above. If a section needs a fact you were not given, write
[NEED: what is missing] instead of guessing.
2. Do not invent statistics, years in business, review counts, awards, licenses,
guarantees or prices.
3. Do not describe the city itself (weather, history, landmarks, neighborhoods)
unless it appears in the local details above.
4. Plain language. Never write "second to none", "wide range of services",
"don't hesitate" or "look no further".
5. Every section must give the reader something they can use. Cut anything that
only fills space.
6. Mention [CITY] where a person would, not in every heading.
STRUCTURE (Markdown)
- H1: [SERVICE] in [CITY], [STATE]
- Opening, 2-3 sentences: the reader's problem and what we do about it
- H2 What's included
- H2 How it works (numbered steps)
- H2 What affects the price (omit if no pricing facts)
- H2 about the local details (use them; omit if none)
- H2 Where we work (nearby areas only)
- H2 Common questions: 3 questions and answers. If an answer needs a fact you
don't have, write [NEED]. If it rests on general practice you can't confirm,
add [CHECK].
- Closing call to action with the phone number and hours
AFTER THE PAGE, output:
TITLE: 50-60 characters
META: 140-155 characters
NOTES: every [NEED] and [CHECK] flag, plus any fact you were tempted to add but
were not given
Page length: 350-500 words.
Three parts of this prompt do most of the work:
- Rule 1 and the
[NEED]flags. A missing fact becomes a visible gap instead of an invented sentence you might not catch. - Rule 3. Claude can describe a city fluently and still get details wrong, so city details stay out unless they’re yours.
- The
NOTESblock. It’s your edit list, including what Claude wanted to add and didn’t have.
A filled-in example (fictional business)
Copperline Plumbing is fictional, invented for this post. So are its phone number (numbers from 555-0100 to 555-0199 are set aside for fiction), warranty, process and job details. Replace every value with your own.
BUSINESS_NAME: Copperline Plumbing (fictional)
BUSINESS_TYPE: residential plumbing company based in Saint Paul
PHONE: (651) 555-0142
SERVICE: Water heater replacement
CITY: Saint Paul
STATE: MN
WHAT_IS_INCLUDED: Removal and disposal of the old tank; new tank or tankless unit
installed; new shutoff valve and flexible connectors; venting check; permit and
inspection arranged by us where the city requires one
PROCESS_STEPS: 1) Customer calls; we confirm size, fuel type and location of the
unit. 2) A technician looks at the unit, venting and access before quoting.
3) Written quote at the same visit. 4) Install after approval, usually the same
day. 5) We haul away the old unit.
PRICING_FACTS: No final prices by phone. Price depends on tank size, gas or
electric, whether venting must change, how easy the unit is to reach, and
whether a permit is needed.
LOCAL_DETAILS: Many of our Saint Paul calls are basement units reached by steep,
narrow stairs; we send two people. In houses built before 1950 we often find
vents that need updating.
NEARBY_AREAS: Roseville, Maplewood, West St. Paul
PROOF: One-year labor warranty on installations. The manufacturer's warranty on
the unit stays with the customer. No review count to cite yet.
HOURS: Monday to Saturday, 7am to 6pm. Call before noon for a same-day visit.
What Claude returned, lightly edited
Here is the page the prompt produced for those inputs, after our edits, shown as Markdown.
# Water Heater Replacement in Saint Paul, MN
When your water heater leaks or stops heating, you want a straight answer.
Copperline Plumbing replaces water heaters in Saint Paul homes: a technician
looks at your current unit first, you get a written quote at that visit, and
we install once you approve it.
## What's included
- Removal and disposal of your old tank
- A new tank or tankless unit, installed
- A new shutoff valve and flexible connectors
- A check of the venting
- The permit and inspection, arranged by us where the city requires one
- A one-year labor warranty on the installation (the manufacturer's warranty
on the unit stays with you)
## How it works
1. You call, and we confirm the unit's size, fuel type and where it sits in
the house.
2. A technician looks at the existing unit, its venting and the access before
quoting.
3. You get a written quote at the same visit.
4. Once you approve it, we install, usually the same day.
5. We haul the old unit away.
## What affects the price
We don't quote final prices over the phone, because the price depends on
things we have to see: the size of the tank, whether it's gas or electric,
whether the venting has to change, how easy the unit is to reach, and whether
a permit is needed.
## What we see in Saint Paul houses
Many of our Saint Paul calls are for basement units reached by steep, narrow
stairs. For those jobs we send two people. In houses built before 1950 we
often find vents that need updating.
## Where we work
We're based in Saint Paul and also work in Roseville, Maplewood and West
St. Paul.
## Common questions
**How long does a replacement take?**
A standard tank swap usually takes a few hours. Tankless units and
hard-to-reach basements take longer.
**Do I need a permit?**
Where the city requires one, we arrange the permit and the inspection as part
of the job.
**Can you switch me from a tank to a tankless unit?**
Yes, we install both. A tankless unit can need changes to the venting or the
gas supply, which the technician checks at the visit.
## Call Copperline Plumbing
Call (651) 555-0142, Monday to Saturday, 7am to 6pm. Call before noon and we
can usually visit the same day.
TITLE: Water Heater Replacement in Saint Paul, MN | Copperline
META: Leaking or not heating? Copperline Plumbing replaces water heaters in
Saint Paul, removes the old unit and quotes in writing. Call (651) 555-0142.
What we changed:
- Cut “and a firm date” from the opening. The page doesn’t promise one.
- Cut a promise in the local section (“we’ll tell you at the quote visit rather than after the old unit is out”). None of the inputs said that.
- Filled the
[NEED]flag for install time with the owner’s answer, and removed both[CHECK]flags after confirming the permit and tankless wording with them. - Trimmed the meta description. It came back at 159 characters against the 155 we asked for. Count characters yourself; don’t trust the model’s count.
Notice what’s absent: no review count, no “years of experience”, no price. We supplied none, so the prompt left them out and listed them in NOTES.
Check it before it goes live
- Trace every fact. Search the page for numbers, names and place names. Each should trace back to your inputs.
- Resolve every
[NEED]and[CHECK]. Answer it or delete the sentence. - Check the nearby areas on a map, and confirm you really serve each.
- Call the phone number and compare the hours with your own.
- Compare it with your other pages. If swapping the city name would make two pages identical, fix the inputs. See location pages vs doorway pages.
- Walk the section list in what to put on a location page.
Google’s guidance on AI-generated content says the same: “It is critical to manually factcheck and review all AI-generated content for accuracy and trustworthiness before publishing.”
Running the prompt through the API
To skip the chat window, save the filled-in prompt as service-page-prompt.txt and run it through the API:
import anthropic
client = anthropic.Anthropic() # reads ANTHROPIC_API_KEY
prompt = open("service-page-prompt.txt").read()
response = client.messages.create(
model="claude-opus-5-5",
max_tokens=16000,
messages=[{"role": "user", "content": prompt}],
)
for block in response.content:
if block.type == "text":
print(block.text)
Swap in any current Claude model ID. The loop prints only text blocks, because a reply can contain other block types. For many locations, use the loop and QC steps in our full guide and start with 20 to 50 pages.
If you’d rather use a spreadsheet than a script, our Location Page Generator for Google Sheets ($39) works on the same idea: it tells Claude to use only the facts in each row and to leave a bracketed placeholder where one is missing. It needs your own Anthropic API key, and a person still has to check every page.
One page first
Write one page, run the checks, and read it as a customer would. If you’d like the whole method in one place, The pSEO Playbook — Build Local SEO Pages at Scale is a 30-page PDF with an annotated page template, five copy-paste Claude prompts, a pre-publish checklist, and publishing steps for WordPress and Webflow. It costs $49. It teaches the method and doesn’t guarantee rankings; results depend on your market, your content and Google.
Download The pSEO Playbook — Build Local SEO Pages at Scale →
From SEOHQ
Guides and tools for local SEO
A 30-page PDF guide to local SEO pages, a Google Sheets page generator, two Claude-powered Node.js tools, and a prompt pack for content creators.
See the products on Gumroad