# Build a Local SEO Dashboard for One or More Websites

Give your SEO numbers a home you can bookmark. Use an AI coding agent and Google Search Console exports to build a dashboard that runs on your computer, with a site switcher, trends, and the metrics you care about.

## What you need

- Access to Google Search Console for each website you want to track
- An AI coding agent that can create files and run commands on your computer, plus Python for the Streamlit app
- Optional access to Google Analytics 4 (GA4) if you want to track leads or sales from organic search

## Steps

### 1. Pick the numbers you want to see each week

Start with clicks from Google Search, impressions (how often your site appeared), and click-through rate (clicks divided by impressions). Add a daily clicks chart and a table of top pages. If you track leads or purchases in GA4, add the specific key event you care about and show it alongside Organic Search sessions. Search Console clicks and GA4 sessions measure different things, so read them side by side.

### 2. Export the same dates for each website

In Search Console, open Performance → Search results. Set the search type to Web and the granularity to Daily. Choose 56 complete days ending on a date with complete data for every site, then export as CSV. Unzip each export into its own folder, such as data/northside or data/cedar. Use the daily chart data for the totals and the Pages and Queries tables for the top rows over the export window. Record the property, filters, and date range with each export so you can repeat the same setup next week.

### 3. Ask your agent to build and run it locally

Open a new project folder in your coding agent, put the exports in its data folder, and paste the prompt below. The prompt asks the agent to build a small browser app using Streamlit and launch it on your computer. Once it is running, bookmark http://127.0.0.1:8501. The bookmark works while the app is running. Keep the launch command the agent gives you so you can reopen it later.

### 4. Make the dashboard yours

Give each site a name you recognize and choose which numbers appear first. A service business might put quote requests near the top. A publisher might start with clicks and top articles. Add another website by creating a data folder and adding one entry to the site settings. Use All sites to compare one row per website over the same dates, then select a site to see its trend and top pages. If a Domain property and a URL-prefix property cover the same pages, choose one for that website.

### 5. Check the totals and settle into a refresh routine

Pick one site and compare its clicks and impressions against the Search Console chart for the same dates and filters. To refresh, export a new set of 56 complete days and replace the previous files for that site, then reload the dashboard. The date through which data is available should move forward. When manual exports become tedious, ask your agent to add a read-only Search Console API refresh, keep credentials outside tracked files, and retain each site's last successful data if a refresh fails.

## What the All sites view looks like

Fictional example for two websites. Each row compares the latest 28 complete days with the preceding 28 days. If you manage one site, start with its trend and top pages.

| Website | Google clicks | Previous clicks | Change | What to look at next |
| --- | --- | --- | --- | --- |
| Northside Plumbing | 420 | 375 | +12% | Check which service pages gained clicks. |
| Cedar Home Shop | 220 | 260 | −15% | Check whether the drop is concentrated on a few category pages. |

## Prompt for your agent

Build and run a local SEO dashboard in this folder with Python and Streamlit. Use my unzipped Google Search Console CSV exports under data/, one folder per website. Inspect the actual headers and use the daily chart CSV for totals and trends. Keep site labels, property IDs, data paths, export settings, and metric order in one editable config file. Give me a site switcher and an All sites table with one row per site. Compare the latest 28 complete days with the previous 28 using a shared end date across sites. Sum clicks and impressions and calculate click-through rate from those totals. Show each site's data-through date, flag an unavailable export or comparison, and leave percent change blank if its baseline is zero or missing. In each site view, show a clicks chart and any available Pages and Queries tables labeled with their full export date range. Replace snapshots on refresh to avoid counting overlapping dates twice. Keep exports out of version control. Bind the app to 127.0.0.1 on port 8501, run it, and give me the browser address, the restart command, and the steps to add or refresh a site. Verify the cards against the input CSVs for one site before handing it over.

## Tools for this job

- [Google Search Console](https://seotoolsforagents.com/mcp-servers/google-search-console.md) — Find the queries and pages driving Google Search clicks and impressions, and check specific URLs with URL Inspection.
- [Google Analytics](https://seotoolsforagents.com/mcp-servers/google-analytics.md) — Use GA4 reports to compare landing pages and traffic channels by sessions and key events.

## Sources

- [Export a Search Console report](https://support.google.com/webmasters/answer/12919797)
- [Search Console performance report](https://support.google.com/webmasters/answer/7576553)
- [Using Search Console and Google Analytics data for SEO](https://developers.google.com/search/docs/monitor-debug/google-analytics-search-console)
- [Run a Streamlit app locally](https://docs.streamlit.io/develop/concepts/architecture/run-your-app)
- [Search Console API read-only scope and query reference](https://developers.google.com/webmaster-tools/v1/searchanalytics/query)

## Where to go next

- [Use the weekly SEO reporting template](https://seotoolsforagents.com/workflows/write-a-weekly-seo-report.md)
- [Set up a Google Search Console property](https://seotoolsforagents.com/workflows/set-up-search-console-property.md)
- [Investigate an organic traffic drop](https://seotoolsforagents.com/playbooks/traffic-drop.md)
