🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Structure Viewer – AI Context Builder, Code Search & MCP Tools icon
Actively maintained Tested with WP 7.1

Structure Viewer – AI Context Builder, Code Search & MCP Tools

Give AI the full picture of any plugin or theme: one-click AI context packs, code search, a built-in MCP server and secret redaction.

Active installs10+10+ tier
Downloads · 30d319▼ -51.4% vs prev. 30d
Rating5/53 reviews
Health score69/100Good
All-time downloads3.3KSince May 2025
Support resolved—No recent threads
RequiresWP 5.8PHP 7.4+
Downloads · 7d58▼ -23.7% week over week
Our verdict

Solid choice

Structure Viewer is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites, is rated 5/5 and was last updated 1 month ago, and scores 69/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (10+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

173451Aug 31Oct 14Nov 28
Yesterday8
Daily average (1y)8
Peak day69Oct 23, 2026
Last 12 months2.9K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Structure Viewer stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
AI >100 8,734 Best AI plugins →
code search >100 10,000 Best code search plugins →
developer-tools >100 6,127 Best developer-tools plugins →
file viewer #47 1,310 Best file viewer plugins →
mcp >100 1,107 Best mcp plugins →

Version adoption

Share of active sites per release.

  • 2.3100.0%

Rating breakdown

★★★★★★★★★★ 5 from 3 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Structure Viewer

From the official readme · v2.3.0

Description

Structure Viewer is the AI toolkit for WordPress code. Turn any installed plugin or theme into a single AI-ready context pack, search inside every file, let AI agents like Claude, Cursor and VS Code Copilot explore your site through MCP, and browse every file with syntax highlighting — all from your WordPress admin, with secrets redacted before anything leaves the server.

No FTP, no SSH, no copy-pasting one file at a time. Works with ChatGPT, Claude, Gemini, Cursor, Copilot, Windsurf and any other AI tool.

—

✨ AI Context Pack (new in 2.3)

The fastest way to give an AI your code.

  • One click, one document — project facts, a compact file tree and the full source of the files that matter, in a single paste-ready pack
  • Smart pick — automatically skips vendor libraries, minified assets, lock files, translations and binaries so your AI gets signal, not noise
  • Token budget — live token estimate with presets for 32K, 128K, 200K, 400K and 1M context windows; files beyond the budget are skipped automatically
  • Task templates — “Security audit”, “Code review & bugs”, “Write documentation”, “Add a feature”, “Write tests”, “Compatibility upgrade” — or write your own instructions
  • Three formats — Markdown, XML (the <documents> layout recommended for long-context models) or plain text
  • Copy or download — paste straight into a chat or attach the file
  • Secrets always redacted for AI output (configurable)
  • Add individual files from the file viewer with the + Add to Context Pack button

🤖 Built-in MCP Server for AI Agents (new in 2.3)

Structure Viewer is an MCP server — no MCP Adapter or any other plugin required, on any WordPress version from 5.8. Connect Claude Code, Claude Desktop, Cursor, VS Code (Copilot), Windsurf or any other MCP client and it can explore your plugins and themes on its own:

  • sv_list_items — list plugins, themes and mu-plugins
  • sv_get_item_summary — metadata, file counts and token estimate
  • sv_get_file_tree — the complete file tree
  • sv_read_file — read any source file (or a line range), secrets redacted
  • sv_search_code — grep across one or all plugins/themes
  • sv_build_context_pack — a ready-made context pack sized to the agent’s budget
  • Pro: sv_get_hooks_map and sv_check_integrity
  • Plus ready-made prompts (security audit, code review, documentation…) for clients that support MCP prompts

Two-minute setup: open AI Agents, click Create token, pick your client and copy the generated config (Claude Code command, Claude Desktop, Cursor, VS Code, Windsurf or cURL). A self-test runs a real MCP handshake against your site. For local development there is also a stdio server: wp structure-viewer mcp --user=admin.

Standards-based: MCP Streamable HTTP transport (protocol 2024-11-05 → 2025-11-25), JSON-RPC 2.0, Origin validation, per-user revocable tokens (or WordPress Application Passwords). Every tool is read-only, requires an administrator and can be switched off in one click. On WordPress 6.9+ the same tools are also registered with the core Abilities API.

🔍 Code Search (new in 2.3)

  • Search inside every file of a plugin, a theme, the mu-plugins folder — or across all plugins at once
  • Match case, whole word and regular expressions, extension filters, optional vendor/minified files
  • Results grouped by file with line numbers and context; click any line to open the file at that exact line
  • One-click quick searches: hooks, AJAX handlers, REST routes, shortcodes, SQL queries, remote requests, risky functions (eval, base64_decode, shell_exec…) and TODO/FIXME
  • Copy results for AI as Markdown

🗂️ File Explorer & Viewer

  • Interactive tree for every plugin, theme and must-use plugin (new in 2.3)
  • Live tree search, file type filters, file sizes and dates, recently viewed
  • Built-in syntax highlighting with line numbers for PHP, JS, CSS, JSON, HTML/XML, SQL, Markdown and YAML (new in 2.3)
  • Copy for AI — copies the file with its path in a fenced code block (new in 2.3)
  • Fullscreen mode, one-click download, redaction badge
  • Item sidebar with statistics, file breakdown and an estimated AI token count, plus shortcuts to build a context pack, search code, map hooks or verify integrity

📤 Export

TXT, JSON, XML, PDF and clipboard exports of any file tree — clean ASCII trees that fit nicely in AI prompts, tickets and documentation.

🔒 Secret Redaction

Masks API keys, tokens, passwords, AWS / Stripe / GitHub / Google / Slack / OpenAI / Anthropic / SendGrid / Mailchimp keys, JWTs, PEM private keys, wp-config credentials, credential constants, .env-style assignments and passwords in connection strings. Always on for AI output by default; optional for the file viewer and downloads.

💻 WP-CLI

wp structure-viewer pack plugin woocommerce --ext=php --max-tokens=150000 --output=wc.md
wp structure-viewer search plugin all "base64_decode\s*\(" --regex
wp structure-viewer export plugin <folder-name> --format=json
wp structure-viewer list plugins
wp structure-viewer mcp --user=admin (local stdio MCP server)

Pro: wp structure-viewer hooks plugin <slug> and wp structure-viewer integrity

—

🚀 Structure Viewer Pro

🪝 Hooks Map (new) — static analysis of every PHP file (nothing is executed): actions and filters hooked (with callback and priority), every do_action / apply_filters fired, AJAX handlers, REST routes, shortcodes, post types, taxonomies, blocks, cron events, admin pages, settings, WP-CLI commands, enqueued assets, classes and functions — each linked to its file and line. Export as Markdown or JSON, add it to Context Packs, or let AI agents call it.

🛡️ Integrity Check (new) — verify WordPress core and every WordPress.org plugin against the official checksums. Find modified, missing and suspicious (unexpected executable) files, and see a line-by-line diff against the original release. Ideal after a hack, before a site handover, or when someone “just edited the plugin”.

💾 Context Pack presets & compression (new) — save file selections, task prompts and options as reusable presets, strip comments and blank lines to save 20–40% tokens, and include the Hooks Map in any pack.

🔀 Comparator — colour-coded line-by-line diff between two plugin/theme ZIPs, an installed item and a ZIP, or two files. Handles large and minified files.

📦 FlatPack — extract only the PHP, CSS, JS, images or custom extensions from any ZIP into one flat, collision-safe download.

Upgrade from Structure Viewer → Pro Tools → Upgrade to Pro.

—

🔒 Security & Privacy

  • Strictly read-only — Structure Viewer never modifies, deletes or uploads files on your site
  • manage_options capability (administrators) required for every screen, AJAX call and AI ability
  • Nonce verification on every request, path traversal prevention with realpath() checks
  • AI agent tools can be disabled with one toggle; secrets are redacted for AI by default
  • No external requests at runtime. The only outbound requests are the ones you start yourself in the Pro Integrity Check (to downloads.wordpress.org, plugins.svn.wordpress.org and api.wordpress.org for checksums and original files)

⚡ Performance

  • Assets load only on the Structure Viewer screen — zero frontend impact
  • Lazy tree loading, cached dashboard stats, cached Hooks Map and checksum results
  • Code search has result and time limits so it never ties up your server

Installation

  1. Go to Plugins → Add New in your WordPress admin.
  2. Search for Structure Viewer.
  3. Click Install Now, then Activate.
  4. Navigate to Tools → Structure Viewer.

To connect AI agents (optional): open Structure Viewer → AI Agents, click Create token and copy the generated configuration into your AI client. Nothing else to install.

Changelog

Big AI release: one-click AI Context Packs, Code Search, a built-in MCP server for AI agents (Claude, Cursor, VS Code — no extra plugin), syntax highlighting, plus Hooks Map and Integrity Check in Pro.

2.3.0

  • New: AI Context Pack — package any plugin or theme into one AI-ready Markdown, XML or text document with project facts, file tree and full source. Smart file selection, live token estimate with model budgets, task templates, copy or download.
  • New: Built-in MCP server — Structure Viewer is now an MCP server itself (Streamable HTTP + wp structure-viewer mcp stdio), no other plugin required. Six read-only tools (eight with Pro), MCP prompts, per-user connection tokens, generated configs for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf and cURL, plus a live self-test. On WordPress 6.9+ the tools are also registered with the core Abilities API.
  • New: Code Search — search inside files of one or all plugins/themes with regex, match case, whole word, extension filters, context lines, security quick-searches and click-to-open at the matching line.
  • New: Built-in syntax highlighter with line numbers in the file viewer, plus “Copy for AI” and “Add to Context Pack” buttons.
  • New: Must-use plugins can be browsed, searched and packed.
  • New: WP-CLI commands pack and search (and Pro hooks and integrity).
  • New (Pro): Hooks Map — every action, filter, AJAX handler, REST route, shortcode, post type, taxonomy, block, cron event, admin page and WP-CLI command, with file and line. Markdown/JSON export.
  • New (Pro): Integrity Check — verify WordPress core and WordPress.org plugins against official checksums, with a diff against the original file.
  • New (Pro): Context Pack presets and token compression.
  • Improved: Secret redaction now also detects OpenAI/Anthropic, SendGrid and Mailchimp keys, credential constants, .env-style assignments and passwords in connection strings.
  • Improved: Completely redesigned interface — a clean, light design with sidebar navigation, a new dashboard (site stats, AI readiness, quick actions, Pro Tools hub), calmer alerts, light code blocks and a blue default accent. The dark mode option has been retired.
  • Improved: Explorer sidebar shows an estimated AI token count and “Use with AI” shortcuts.
  • Improved: excluded folders (node_modules, vendor, .git…) are now pruned while walking, which makes scans faster on large plugins.
  • Improved: WordPress 7.1 compatibility, including the Abilities API public exposure flag introduced in 7.1.
  • Updated: Freemius SDK to 2.13.5.

2.2.3

  • Improved: Dashboard redesign — a cleaner “Welcome to Structure Viewer” card and refreshed Quick Action and stat cards with consistent depth and hover motion in both dark and light mode.
  • Improved: Tree view polish — connector guide lines on nested folders, animated expand/collapse chevrons, clearer hover states and tighter alignment for easier scanning of large structures.
  • Improved: Comparator results — the Added / Removed / Modified / Unchanged stat boxes are now clickable and switch the file list shown below them, so you can jump straight to the change type you care about.
  • Improved: Comparator now scrolls back to the top automatically when you start a comparison, hides the mode selector and upload panels while a result is on screen, and offers a one-click “New Comparison” action to start over.
  • Improved: Comparator diff controls reworked for performance — removed the costly “Expand All” (which could try to expand thousands of files at once); a “Collapse All” button now appears only when you’ve expanded a file in the current tab.
  • Improved: Comparator “Reset All” button is now centre-aligned, and the redundant line-count readout was removed from the results toolbar.
  • Fixed: File vs File mode no longer accepts ZIP archives or image files — they are rejected on both the client and the server with a clear message (use ZIP vs ZIP mode for archives).
  • Improved: Replaced the dated Courier New monospace font throughout the UI with a modern system monospace stack for crisper file paths, tags and metadata.

2.2.2

  • New: Auto-redact secrets on export — opt-in toggle in Settings → Security Settings that masks API keys, tokens, passwords, AWS / Stripe / GitHub / Google / Slack keys, JWTs, PEM private keys, and wp-config credential constants in viewed and downloaded file content. Safer to share output with AI tools, tickets, or screenshares.
  • New: Redaction badge in the file viewer modal showing how many secrets were masked for the open file.
  • New: Live search now works in All Plugins / All Themes mode — type to filter the plugin or theme list by name. The placeholder updates to reflect the current mode so the behaviour is obvious.
  • New: Donate / support link on the Plugins list and in Settings → Support development for users who want to fund continued development.
  • Improved: Tab content no longer leaves an empty gradient strip below short tabs (Dashboard, Comparator / FlatPack tabs). The viewport background now lives on the body element so every tab feels consistent.
  • Improved: Search result cap raised from 200 to 500, and the response now signals when the cap was hit so future UI can surface a “narrow your search” hint.
  • Improved: Dashboard file-count cache key derived from the plugin version — every release now automatically invalidates the stale count instead of relying on a manually-bumped constant.
  • Improved: Updated plugin name and short description for clarity — Structure Viewer is a file explorer and AI context builder.

2.2.1

  • New: Quick dark/light mode toggle directly from the plugin header — no need to visit Settings
  • Improved: Search results UI redesigned for better readability and faster scanning
  • Improved: Tab navigation styling refined for a cleaner, more consistent look
  • Improved: Dashboard layout adjustments for tighter spacing and visual alignment

2.2.0

  • New: Pro Comparator — compare two plugin or theme versions with a color-coded line-by-line diff; supports ZIPs, installed plugins/themes, and individual files; works with large and minified files
  • New: Pro FlatPack — extract and filter files from any plugin or theme ZIP by type (PHP, CSS, JS, images, custom); download as a single flat ZIP with smart collision-safe naming
  • New: Dashboard redesign — stat tiles with combined plugin and theme file count; async largest-plugins table; recently viewed panel; WordPress environment strip
  • New: Explorer improvements — searchable item picker; live tree search with next/prev navigation; file type tag strip; lazy loading for all-items mode; AJAX refresh button (no page reload)
  • New: UI — dark/light mode with server-side class; accent color picker with 5 options (default: Emerald); branded logo
  • New: Copy format setting — choose JSON, Text, or XML as the clipboard copy format in Settings
  • New: Pro upsell placeholders — free users see feature descriptions and a direct upgrade button in the Comparator and FlatPack tabs
  • Improved: Comparator diff engine — patience algorithm for large files; correct deletion-before-addition ordering; minified file tokenization; similar-change pairing; raised limits (5 MB / 20,000 lines)
  • New: Accent color picker — customize the plugin with the color you want to see.
  • Improved: FlatPack workflow — extract-all-then-filter-live; reset on new file selection; filter pills built from actual ZIP contents
  • Improved: Settings — auto-save with debounce and toast; exclusion patterns UI
  • Fixed: WordPress admin notices — scoped text color to plugin container only; no longer overrides WP notice colors
  • Fixed: FlatPack — protection files no longer appear in extracted file list
  • Fixed: Export / clipboard — “undefined” output caused by buffer pollution resolved
  • Fixed: Bug Fixes — Several bug fixes and security improvements

2.1.1

  • Fixed: Copy Structure button not working in Safari.

Full changelog on WordPress.org →

Screenshots

Dashboard — site stats, AI readiness, quick actions and Pro tools
Dashboard — site stats, AI readiness, quick actions and Pro tools
AI Context Pack — smart file selection, task templates and token budget
AI Context Pack — smart file selection, task templates and token budget
AI Context Pack — the generated pack, ready to copy or download
AI Context Pack — the generated pack, ready to copy or download
Code Search — results with line numbers and context
Code Search — results with line numbers and context
File viewer — syntax highlighting, line numbers and "Copy for AI"
File viewer — syntax highlighting, line numbers and "Copy for AI"
AI Agents — built-in MCP server, connection token and generated client configuration
AI Agents — built-in MCP server, connection token and generated client configuration
Explorer — file tree, statistics and "Use with AI" shortcuts
Explorer — file tree, statistics and "Use with AI" shortcuts
Pro: Hooks Map — every hook, route and shortcode with file and line
Pro: Hooks Map — every hook, route and shortcode with file and line
Pro: Integrity Check — modified and suspicious files with diff against the original
Pro: Integrity Check — modified and suspicious files with diff against the original

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Structure Viewer alternatives

All AI plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Elementor Agent Ready Website Builder Elementor Agent Ready Website Builder The Elementor Website Builder has it all: drag and drop page builder, Atomic Editor, pixel… by Elementor 10M+ ★★★★★★★★★★ 4.5 (7.3K) 5 days ago 95
2 Jetpack – AI Agents & MCP, Security, Backup & Analytics Jetpack – AI Agents & MCP, Security, Backup & Analytics Connect ChatGPT, Claude, or another AI agent to your site. Plus backup, malware scan… by Automattic 3M+ ★★★★★★★★★★ 3.8 (2.4K) 4 weeks ago 91
3 All in One SEO – AI SEO Plugin to Boost SEO Rankings & Traffic (Schema, Local SEO, Sitemap & SEO Insights) All in One SEO AIOSEO is the WordPress SEO plugin. Boost SEO rankings with AI SEO tools, schema, meta… by Syed Balkhi 2M+ ★★★★★★★★★★ 4.7 (5.2K) 4 days ago 98
4 AI Agent by SiteGround AI Agent by SiteGround Manage all your WordPress sites from one AI chat. Create content, run your WooCommerce… by SiteGround 1M+ ★★★★★★★★★★ 1.7 (98) 6 days ago 67
5 Premium Addons for Elementor – AI-Ready Elementor Addons, Widgets & Templates Premium Addons for Elementor 90+ Elementor widgets & addons, 600+ templates, Mega Menu, WooCommerce, Display Conditions… by Leap13 600K+ ★★★★★★★★★★ 4.9 (1.7K) 4 days ago 97
6 Members – Membership & User Role Editor Plugin Members – Membership & User Role Editor Plugin The best WordPress membership and user role editor plugin. Edit roles, restrict content… by Blair Williams 300K+ ★★★★★★★★★★ 4.9 (1.3K) 4 days ago 97
7 Angie – Agentic AI Angie – Agentic AI Build anything your site needs. Manage it through an agentic AI conversation inside… by Elementor 200K+ ★★★★★★★★★★ 3.3 (20) 4 days ago 73
8 Disable Comments Disable Comments Disable, hide, bulk-delete & auto-reply to comments and WooCommerce reviews —… by rbplugins 100K+ ★★★★★★★★★★ 3.8 (25) 3 weeks ago 90
9 AI Engine – MCP Server & AI Chatbot for WordPress, with Claude, ChatGPT & Gemini AI Engine The AI chatbot, AI agent and MCP server for WordPress. Connect OpenAI, Claude, Gemini and… by Jordy Meow 90K+ ★★★★★★★★★★ 4.9 (887) 2 days ago 96
10 MCP Adapter MCP Adapter Expose WordPress abilities as Model Context Protocol (MCP) tools, resources, and prompts… by WordPress.org 80K+ ★★★★★★★★★★ 5 (3) 1 week ago 82

FAQ

Structure Viewer: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Structure Viewer free?

Yes. Structure Viewer is free to download and use from the official WordPress.org plugin directory.

Is Structure Viewer safe to use in 2026?

Structure Viewer is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites, is rated 5/5 and was last updated 1 month ago, and scores 69/100 on our health check.

How many websites use Structure Viewer?

Structure Viewer is active on 10+ WordPress websites and has been downloaded 3,303 times since it launched in May 2025. It was downloaded 319 times in the last 30 days.

Does Structure Viewer work with WordPress 7.1?

Yes. The developer has tested Structure Viewer up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.

What PHP version does Structure Viewer need?

Structure Viewer requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Structure Viewer last updated?

The latest version, 2.3.0, was released on October 23, 2026 (1 month ago).

Who makes Structure Viewer?

Structure Viewer is developed and maintained by Blincks.

What are the best alternatives to Structure Viewer?

The most popular alternatives to Structure Viewer are Elementor Agent Ready Websi… (10M+ installs), Jetpack (3M+ installs) and All in One SEO (2M+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open