workday-docs-mcp

workday-docs-mcp

Enables AI coding agents to search, read, and cite official Workday developer documentation, grounding their answers in real docs instead of hallucinating. Particularly useful for building Workday Extend apps.

Category
Visit Server

README

workday-docs-mcp

An MCP server that grounds an AI coding agent in the Workday developer documentation — so it answers from the real docs and helps build Workday Extend apps correctly, instead of guessing.

Point your IDE agent (Claude Code, Cursor, etc.) at this server and it can search, read, and cite the official Workday docs on demand. With the included Extend builder skill, a developer with no Workday Extend experience can build apps that are grounded in the actual PMD components, functions, and APIs — not plausible-looking hallucinations.

It's a thin, cached layer over the documentation behind developer.workday.com. No login, no API keys, no Workday account required — it reads the public docs.


Why it exists

A general-purpose LLM has almost no Workday Extend in its training data, so it confidently writes invalid PMD (Workday's declarative page metadata) and invents endpoints that don't exist. This server replaces those guesses with retrieved, authoritative reference — and gives the agent the canonical doc link so a human can verify.

What it looks like in use

You: "I'm building a Workday Extend app and want a page that shows a list of expense reports in a table. How do I do that?"

Agent: (calls lookup_extend_reference → grounds on the real grid widget docs) "You'll use the grid widget bound to an inbound endpoint. Here's the PMD, with the real attributes (rows, columns, cellTemplate)… [cites developer.workday.com/wcp_docs/…]"

The agent reaches for the tools on its own (especially with the skill installed), grounds the answer, and links the source.

Tools

Tool Purpose
search_workday_docs Find docs by concept / widget / API / task → lightweight pointers (title, breadcrumb, doc_id, link).
get_workday_doc Fetch a full page as markdown by doc_id or a pasted wcp_docs/<id>.html link. Always returns the canonical link.
browse_workday_toc Walk the documentation hierarchy when keyword search misses.
lookup_extend_reference Build-focused. Given an intent ("sortable grid", "format a date"), returns the best Extend component / PMD-function / scripting reference page with its content inline + alternatives. Scope with kind.

All four tools declare an outputSchema (clients receive validated structuredContent, not just text) and annotations (readOnlyHint, idempotentHint, openWorldHint — none are destructive).

Typical flow: search → pick a doc_idget → answer & cite the html_url. When building an Extend app, reach for lookup_extend_reference first.

Requirements

  • Node 22+ — runs the TypeScript sources directly, no build step (verified on Node 25).
  • An MCP-capable client (Claude Code, Cursor, Claude Desktop, …).

Quick start

git clone https://github.com/philippesimard00/workday-docs-mcp.git
cd workday-docs-mcp
npm install
npm run build-index      # one-time, ~1 min: builds the Tier-2 full-text index (recommended)

Connect it to Claude Code (user scope = available in every project):

claude mcp add workday-docs --scope user -- node "$(pwd)/src/server.ts"
claude mcp list          # expect: workday-docs ✓ Connected

Or add it to any MCP client's config manually (use the absolute path to src/server.ts on your machine):

{
  "mcpServers": {
    "workday-docs": {
      "command": "node",
      "args": ["/absolute/path/to/workday-docs-mcp/src/server.ts"]
    }
  }
}

Skipping build-index still works — search just falls back to title-only matching. See Search modes.

The Extend builder skill

skills/workday-extend-builder/ is a Claude Code Skill that teaches the agent Workday Extend's mental model (declarative metadata + scripting, the real file types) and directs it to these tools — especially lookup_extend_referencebefore it writes any code. This is what makes the "no prior experience" case work. Install it (per developer):

ln -s "$(pwd)/skills/workday-extend-builder" ~/.claude/skills/workday-extend-builder

See skills/README.md for details and the per-team customization section.

Search modes

search_workday_docs and lookup_extend_reference run in one of two modes; the response's engine field tells you which:

  • title (zero setup): matches page titles + breadcrumbs only. Fine for "find the page about X"; weak on how-to phrasing.
  • fulltext (after npm run build-index): BM25 over page bodies. Built for app-building — intent queries like "sortable grid with pagination" land on the right component. The index (~1,250 docs) is fetched once and cached at ~/.cache/workday-docs-mcp/; the server uses it automatically on next start. Re-run build-index to refresh.

How it works

The Workday developer site is a JavaScript single-page app, so the docs aren't readable by a normal fetch of a page URL. The content is served as markdown behind it, via two endpoints:

What URL
Master table of contents https://developer.workday.com/doc/wcp_docs.yml
Page markdown https://developer.workday.com/doc/<DOC_ID>.md
Canonical human link https://developer.workday.com/wcp_docs/<DOC_ID>.html

The server loads the TOC (cached 6h), serves page markdown (cached on disk), and — for full-text mode — builds a local BM25 index over every page body. All knowledge of these URLs is isolated in one file (src/workday-docs-adapter.ts), and a startup health check fails loudly if Workday changes the doc structure.

Project layout

src/
  types.ts                  Shared types (TocNode, IndexEntry, SearchHit)
  workday-docs-adapter.ts   The seam — the only file that knows Workday's URLs (TOC, page fetch, caching, health check)
  search.ts                 Tier-1 ranking (title/breadcrumb) — fallback
  fulltext.ts               Tier-2 BM25 inverted index over page bodies (pure JS, no native deps)
  build-index.ts            One-time builder for the Tier-2 index
  server.ts                 MCP wiring: 4 tools + stdio transport + boot health check
  smoke.ts                  Live end-to-end check, no MCP transport
  test-client.ts            Drives the tools over the real MCP protocol (stdio)
evals/                      12-question evaluation suite (verified) + how to run it
skills/                     workday-extend-builder Claude Code skill + install guide

Development

npm run typecheck    # tsc, no emit
npm run smoke        # hits the live endpoints: loads TOC, searches, fetches a page
npm run test-client  # drives all tools over the real MCP protocol (stdio)

evals/workday_docs_eval.xml is a 12-question suite (answers verified against live data) for measuring how well an LLM can answer real Workday questions with only these tools — useful as a regression/quality benchmark. See evals/README.md.

Notes & limitations

  • Unofficial. This project is not affiliated with or endorsed by Workday. It reads publicly available documentation pages.
  • Undocumented endpoints. wcp_docs.yml and /doc/*.md aren't a published API — Workday could change them. They're isolated in src/workday-docs-adapter.ts, and assertSchemaIntact() fails loudly at startup if the structure changes. Great for a dev-productivity tool; treat as a maintenance liability for anything critical.
  • Docs, not data. The server reads the documentation. It does not access any Workday tenant, customer data, or authenticated API.
  • Search quality depends on the index — build it (npm run build-index) for app-building. A future semantic (embeddings) tier would slot into the same search layer without changing the tools.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured