GeezerVison is showing hashnode.com — Use Hashnode from your agent Search HashnodeSearch posts, tags, users, and pages Hashnode for AgentsPublish from your agent, not the editorTell your agent what to publish. It reads the file, uploads the images, and saves the draft. Connect it with the MCP server, the agent skill, or the CLI. All three use the same API. MCP serverclaude mcp add … hashnode Agent skillnpx skills add Hashnode/gql-skill CLInpm install -g @hashnode/cli GraphQL API “Publish docs/launch.md to my blog as a draft, with cover.png as the cover.” - Read docs/launch.md
- Uploaded cover.png
- Created the draft "Launch notes"
What your agent can do- Publish postsPublish markdown with tags, a cover image, and a series, in one request.
- Edit published postsChange a title, subtitle, slug, or tags. Everything else stays as it is.
- Draft firstSave a draft, review it, then publish it when you are ready.
- Upload imagesUpload a local image and get a CDN URL for your cover or your post.
- Search and readSearch your posts, open one by slug, and list your drafts and series.
- Review team draftsSubmit a draft for review and see what is waiting on your team.
Set it upUse the MCP server if you chat with Claude or Cursor. Use the skill if your coding agent works from files in a repo. Use the CLI for scripts and cron jobs. - 1
Add the serverIn Claude Code, run this. In other clients, add a remote MCP server with the same URL. claude mcp add --transport http hashnode https://mcp.hashnode.com/mcp - 2
Sign inYour client opens Hashnode. Log in and approve access. There is no token to paste. - 3
Ask for what you needThe server has tools for posts, drafts, series, comments, and image uploads.
Try asking - Who am I on Hashnode?
- Which drafts do I have on my blog?
- Find my posts about GraphQL
- 1
Install the skillWorks with Claude Code, Cursor, GitHub Copilot, and other agents that support skills. npx skills add Hashnode/gql-skill - 2
Export your tokenexport HASHNODE_PAT=your-token - 3
Ask your agentThe skill loads when you mention your Hashnode blog or the API. It knows the Pro rules, page limits, and the image upload flow.
Try asking - Publish this post to my Hashnode blog
- Save this as a draft so I can review it first
- Upload cover.png and use it as the cover
- 1
Install and sign inNeeds Node.js 20 or later. hashnode login shows a code and opens your browser. Type the code there and allow access. In CI, set HASHNODE_PAT instead. npm install -g @hashnode/cli
hashnode login - 2
Find your publication idhashnode --host myblog.hashnode.dev publication get - 3
Create a postLong content comes from a file or stdin. Add --json to any command for JSON output. hashnode --publication-id <id> post create \
--title "Hello" \
--content-file post.md \
--tag javascript
Frequently asked questionsUse the MCP server if you chat with Claude or Cursor. Use the skill if your coding agent works from files in a repo. Use the CLI for scripts and cron jobs. Not on Pro yet?Every tool here needs Pro on the publication you write to. |