Some bulk edits can’t be done with find and replace: writing an excerpt for every post, shortening titles, rewriting meta descriptions so they match the content. Each post needs its own text. Claude can write that text, and with WordPress connected through MCP it can also read the posts and save the results. With Import Export by RockStarLab, Claude reads the posts with an export preview, writes the new values into a CSV file, uploads it and runs a normal import that updates the posts by ID. You see every new value before anything changes.
Free: every action used here is in the free plugin. The test below used Import Export by RockStarLab 2.2.13, WordPress 7.1 and MCP Adapter 0.7.1.
Short Answer
Connect Claude to the site through MCP Adapter. Ask Claude to read the posts first and show you the new values without changing anything. When you approve them, Claude writes a CSV with ID, title and the changed field, uploads it with rsl-ie/upload-create, upload-chunk and upload-complete, checks it with rsl-ie/import-validate and starts the import with rsl-ie/import-start, matching posts by ID and skipping rows that don’t match. The import shows up in the Jobs Log like any other.
Before You Start
- Claude connected to the site: see Claude Code or Claude Desktop.
- An administrator account for the connection.
- A backup, so you can return to the old texts at any time.
Step 1: Ask for a Preview, Not a Change
Our test site had three posts in the categories Brewing Guides, Coffee Origins and Roasting Notes without excerpts. The first request only reads:
With Import Export by RockStarLab, find published posts in the categories brewing-guides, coffee-origins and roasting-notes that have no excerpt. Read their content and write an excerpt of up to 160 characters for each one, based only on what the post says. Show me a table with ID, title and the new excerpt. Do not change anything yet.
Claude called rsl-ie/export-preview for posts with a tax_query on the three categories and the fields ID, title, excerpt and content. All three had an empty excerpt. Claude returned the table:
| ID | Title | New excerpt |
|---|---|---|
| 127873 | Kenya AA Roast Profile | A washed Kenya AA from Nyeri, roasted light-medium: our roast curve, development time and the blackcurrant and grapefruit notes it gives. |
| 127872 | How to Dial In a V60 for Light Roasts | A finer grind, 96 °C water and a two-stage pour: a V60 recipe for light roasts, with what to change when the cup is sour or bitter. |
| 127871 | Ethiopia Guji Natural: Brewing Notes | A natural-process coffee from Guji, Ethiopia, and the pour-over recipe we use for it: 15 g to 250 g, medium-fine, blueberry and dark chocolate. |
This is the point to read the texts. Ask for changes in the same chat (“make the second one shorter”, “don’t mention grams”) until they are right. Nothing on the site has changed so far.
Step 2: Approve and Import
The second request lets Claude save the excerpts, and says how:
Save these excerpts with Import Export by RockStarLab. Write a CSV with the columns ID, post_title and post_excerpt, upload it, and import it as Blog Posts: match existing posts by ID, update them, and skip rows without a match. Do not create posts and do not change other fields. Tell me the result of the import job.
Claude made these calls:
rsl-ie/upload-create,rsl-ie/upload-chunkandrsl-ie/upload-completeto upload the 573-byte CSV. The response listed the three columns and a preview of the rows.rsl-ie/import-prepare, which suggested mapping each column to the field with the same name.rsl-ie/import-validatewith the mapping and the optionsduplicate_check: ID, update for matches and skip for the rest. It answeredvalid: truewith 3 items.rsl-ie/import-start, which queued job 66942, andrsl-ie/job-getuntil the job reportedcompleted: 3 processed, 3 successful, 0 failed.
The job appears in Import Export by RockStarLab > Jobs Log, where you can open its details and log:

In the block editor, each post showed its new excerpt in the post summary:

The title column was imported with the same values; the content, categories and publish dates didn’t change.
Why a CSV Instead of Editing Posts One by One
Through MCP Adapter, WordPress itself gives Claude only read-only abilities for site, user and environment information. Reading the posts, the upload and the import with its checks all come from Import Export by RockStarLab, and that is what makes the edit reviewable:
- One reviewable change. The file holds exactly what will be written, and the import touches only its columns.
- Safe matching. Matching by ID with Skip for rows that don’t match means a wrong ID can’t create a new post.
- A record. The Jobs Log keeps the job, its log and the file, so you can see later what was changed and when.
- Scale. The same calls work for 3 posts or 3,000; the import runs in the background in batches.
Other Bulk Edits to Ask For
- “Rewrite the Yoast meta descriptions of posts in the News category that are longer than 160 characters.” The column is
_yoast_wpseo_metadesc. - “Set every post in the Archive category that is older than 2020 to draft, and show me the list first.” The column is
post_status. - “Fix the capitalization of all post titles in the Guides category to sentence case, and show me the list first.”
For edits that follow one rule, such as replacing a phrase or a URL everywhere, you don’t need Claude to write each value; see bulk find and replace with a preview.
Things to Know
- Tell Claude which fields it may change and to match by ID. Without that, an import may use other defaults, such as matching by slug or creating missing posts.
- Claude writes the texts from the content it reads. Check facts, numbers and names in the preview table, as you would with any draft.
- Long texts in many posts make large previews. For hundreds of posts, ask Claude to work in groups of 20 to 50 and show each group before importing.
- Claude asks for permission before each tool call unless you allowed the WordPress tools for the conversation. Keep that on for imports.
FAQ
Can Claude bulk edit WordPress posts?
Yes. Connected through MCP Adapter, Claude can read posts with the plugin’s export preview, write new values into a CSV and import it to update the posts by ID.
Will Claude change my posts without asking?
Ask for a preview first and for the import only after you approve the values. Claude also asks for permission before each tool call unless you turned that off.
Which fields can Claude change this way?
Any field the post import accepts: title, excerpt, content, status, date, categories, tags, custom fields and SEO fields of Yoast SEO or Rank Math.
Can I undo a bulk edit made by Claude?
Not from the plugin. Restore a backup, or export the affected columns before the change and import that file again.
Related Guides
- How to Connect Claude Code to WordPress via MCP
- How to Connect Claude Desktop to WordPress with MCP
- How to Bulk Update Existing WordPress Posts without Creating Duplicates
- Bulk Find and Replace in WordPress Posts (With a Preview First)
Before letting an agent import, back up the site, or ask your AI agent to start the backup.
Get the free plugin on WordPress.org.

Comments 0
Have a question or a tip to share? Leave it below.