Paul Graham API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Paul Graham. No Paul Graham API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/paulgraham.md and add Bowmark's Paul Graham MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-paulgraham https://api.bowmark.ai/mcp/site/paulgrahamPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-paulgraham": {
"url": "https://api.bowmark.ai/mcp/site/paulgraham"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-paulgraham","type":"http","url":"https://api.bowmark.ai/mcp/site/paulgraham"}'Run this in a terminal.
codex mcp add bowmark-paulgraham --url https://api.bowmark.ai/mcp/site/paulgrahamIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/paulgrahamIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/paulgrahamAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/paulgrahamFunctions
Open a function to see its parameters and run it with your own API key.
getEssayReads one Paul Graham essay from paulgraham.com/<slug>.html: title, the month line it opens with, and the full text including notes.POST /v1/sites/paulgraham/getEssay
Parameters
Slug, slug.html or a paulgraham.com url.
curl -X POST https://api.bowmark.ai/v1/sites/paulgraham/getEssay \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"essay":"greatwork"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.paulgraham.getEssay({ essay: "greatwork" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.paulgraham.getEssay({"essay": "greatwork"}))Responsereturns PaulGrahamEssayinterface PaulGrahamEssay { slug: string; title: string; url: string; date: string | null; // month line the essay opens with text: string; // full text, paragraphs split by a blank line, notes included wordCount: number; }listEssaysLists every essay on paulgraham.com/articles.html in the site's newest-first order, with the slug getEssay takes.POST /v1/sites/paulgraham/listEssays
Parameters
Default: every essay (~230).
curl -X POST https://api.bowmark.ai/v1/sites/paulgraham/listEssays \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"limit":5}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.paulgraham.listEssays({ limit: 5 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.paulgraham.listEssays({"limit": 5}))Responsereturns PaulGrahamEssayListing[]interface PaulGrahamEssayListing { slug: string; title: string; url: string; position: number; // 1 = newest, in the site's own order }searchEssaysFinds essays whose title contains every word of the query (the site has no search of its own), newest first.POST /v1/sites/paulgraham/searchEssays
Parameters
Words that must all appear in the title.
curl -X POST https://api.bowmark.ai/v1/sites/paulgraham/searchEssays \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"startup"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.paulgraham.searchEssays({ query: "startup" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.paulgraham.searchEssays({"query": "startup"}))Responsereturns PaulGrahamEssayListing[]interface PaulGrahamEssayListing { slug: string; title: string; url: string; position: number; // 1 = newest, in the site's own order }