• Verified
  • Free plan

seo-graph

Listed under GitHub repos

seo-graph is an open source JavaScript library that builds schema.org JSON-LD graphs, with an Astro integration for SEO components, breadcrumbs and agent-ready endpoints. It is free under the MIT license.

Used for

  • json-ld graph building
  • astro seo integration
  • breadcrumb markup generation

What seo-graph does

seo-graph is a TypeScript monorepo by Joost de Valk that builds schema.org JSON-LD for JavaScript sites. The core package, @jdevalk/seo-graph-core, provides runtime-agnostic piece builders and a graph assembler, and depends only on schema-dts. The Astro package ships a Seo component, route factories for agent-ready endpoints, a breadcrumb helper and Zod content helpers. A third package, @jdevalk/emdash-plugin-seo, is an EmDash CMS plugin that lives in its own repository and depends on seo-graph-core.

Core contains no page-type enum; dispatch belongs to the caller, which keeps the API surface small and avoids baking a content model into a shared library. Builders take schema.org properties at the top level with full autocomplete from schema-dts. AGENTS.md documents builder signatures, recipes for blog, e-commerce, local business, docs and podcast sites, and schema.org practice, for humans and coding agents.

Key features

Runtime-agnostic piece builders
Core exposes builders for individual schema.org pieces that work in any JavaScript runtime, depending only on schema-dts.
JSON-LD graph assembler
Core includes an assembler that combines piece builders into a single schema.org JSON-LD graph for a page.
Astro Seo component
The Astro integration provides a Seo component that renders the built structured data markup.
Agent-ready route factories
Route factories in the Astro integration generate endpoints aimed at agents rather than human visitors.
Breadcrumb helper
The Astro package includes a breadcrumb helper that builds breadcrumb structured data for a route.
Zod content helpers
The Astro integration ships Zod content helpers for validating content used in structured data.
schema-dts typed builders
All builders accept schema.org properties at the top level with full autocomplete from Google's schema-dts types.
No page-type enum in core
Core exposes piece builders only; page-type dispatch stays in the caller, so no content model is baked into the library.
AGENTS.md for coding agents
Reference file covers builder signatures, site-type recipes and schema.org practice, written for humans and AI coding agents.
EmDash CMS plugin package
The @jdevalk/emdash-plugin-seo package is an EmDash CMS plugin in its own repository that depends on seo-graph-core.

How it works

  1. Install the core package with your JavaScript package manager; it pulls in schema-dts for types.
  2. Call the piece builders for the schema.org types each page needs.
  3. Assemble the pieces into one JSON-LD graph in your own code.
  4. On Astro, add the integration and render the Seo component in layouts.
  5. Use the route factories to generate agent-ready endpoints from your content.

Plans and pricing

The repository is MIT licensed and free to use; no paid plans appear on the page.

Integrations and platforms

Works with

  • Astro
  • EmDash CMS
  • schema-dts

Available as

  • Web

Repository facts

  • Repositoryjdevalk/seo-graph
  • LanguageTypeScript
  • Stars50
  • Forks11
  • LicenceMIT
  • Created2026-04-09
  • Last commit2026-09-21
  • Open issues10
  • agent-ready
  • astro
  • astro-integration
  • indexnow
  • json-ld
  • llms-txt
  • schema-org
  • seo
  • sitemap
  • structured-data

Services and details

  • Does SEO work itself

    Yes
  • Free plan or free tools

    Yes

No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, API or MCP server, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.

Compare with other SEO tools:

About the company

Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.