Agents & API

For agents & developers

How to read raehyeon.com from an AI agent or a script: MCP server, JSON API, natural-language search, and Markdown.

What this is

Everything published on this portfolio is also available in machine-readable form. All of it is read-only and public: no account, no API key, no sign-up. Each route below returns the same published content as the web pages, so cite the canonical page URL included in every result.

MCP server

A Model Context Protocol server runs at https://raehyeon.com/mcp over Streamable HTTP. It is stateless and needs no authentication. Tools: search_site, list_projects, list_essays, read_page, get_site_overview, get_contact. Every published page is also listed as a Markdown resource.

{
  "mcpServers": {
    "raehyeon": { "type": "http", "url": "https://raehyeon.com/mcp" }
  }
}

JSON API

A small REST API lives under https://raehyeon.com/api/v1. Its OpenAPI 3.1 description is at https://raehyeon.com/openapi.json.

  • GET /api/v1/search?q= searches published pages. Optional: language (en or ko), type, limit.
  • GET /api/v1/pages lists pages. Optional: language, type, limit (1–100, default 20), cursor.
  • GET /api/v1/page?path= returns one page with its full Markdown.
curl "https://raehyeon.com/api/v1/search?q=parentlyze&language=en"
curl "https://raehyeon.com/api/v1/pages?type=project&limit=20"
curl "https://raehyeon.com/api/v1/page?path=/en/projects-log/parentlyze"

Ask in natural language

https://raehyeon.com/ask implements the NLWeb protocol (v0.55). Send a question in query.text and get the matching pages back as schema.org items. Set prefer.streaming to true for Server-Sent Events. It is keyword retrieval over the published pages; it does not generate answers.

curl -X POST https://raehyeon.com/ask \
  -H "Content-Type: application/json" \
  -d '{"query":{"text":"What did he build at Parentlyze?"},"prefer":{"streaming":false}}'

Markdown

Every page has a Markdown twin. Append .md to the URL, send Accept: text/markdown, or add ?mode=agent. /llms.txt is the site overview and /llms-full.txt is the full text.

In the browser

Pages register the same read-only tools through WebMCP (document.modelContext) for browsers that support it.

Client, CLI, and agent kit

A public repository holds a zero-dependency JavaScript client, a command-line tool, an AGENTS.md, the agent skill, and the plugin and MCP Registry manifests: https://github.com/raehy19/raehyeon-site-client. The MCP server is listed in the official MCP Registry as com.raehyeon/site.

npx github:raehy19/raehyeon-site-client search "payments platform"
npx github:raehy19/raehyeon-site-client read /en/projects-log/parentlyze
npx skills add raehy19/raehyeon-site-client

Errors

API errors are JSON with an HTTP status: {"error": {"code", "message", "hint"}}. Codes: invalid_parameter (400), not_found (404), method_not_allowed (405). The MCP server returns JSON-RPC errors, and tool failures come back as a result with isError set.

Limits and versioning

There are no keys or per-client quotas. Responses are cacheable, so please cache them; Vercel may throttle abusive traffic at the platform level. The API is versioned in the path. Changes to /api/v1 are additive only. A breaking change would ship as /api/v2, with v1 kept running for at least 90 days and marked with Deprecation and Sunset headers.

Discovery files

For clients that look things up automatically:

What it does not do

Nothing here writes, sends a message, or reaches the products described in the case studies. Private projects stay masked exactly as they are on the web pages. To get in touch, use the contact page.