A Model Context Protocol (MCP) server that connects AI assistants to the Hashnode API, enabling seamless content creation, management, and retrieval through AI interactions. Create, update, and search Hashnode articles directly through Claude or other AI assistants.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"hashnode-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server for interacting with the Hashnode API. This server provides tools for accessing and searching Hashnode content programmatically.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in writing
A markdown editor — and the bridge to your LLM. Local-first, MIT, ~15 MB. Bundled MCP server lets Claude Code / Codex / Cursor drive your vault directly. 14 AI providers BYOK.
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
Define task-specific AI sub-agents in Markdown for any MCP-compatible tool.
一键同步文章到多个内容平台,支持今日头条、WordPress、知乎、简书、掘金、CSDN、typecho各大平台,一次发布,多平台同步发布。解放个人生产力
MCP Security Weekly
Get CVE alerts and security updates for Hashnode Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server for interacting with the Hashnode API. This server provides tools for accessing and searching Hashnode content programmatically.



Clone the repository:
git clone https://github.com/sbmagar13/hashnode-mcp-server.git
cd hashnode-mcp-server
Create a virtual environment and activate it:
python -m venv .venv
source .venv/bin/activate # On Windows, use: .venv\Scripts\activate
Install the dependencies:
pip install -r requirements.txt
Create a .env file in the root directory with your Hashnode API credentials:
HASHNODE_PERSONAL_ACCESS_TOKEN=your_personal_access_token
HASHNODE_API_URL=https://gql.hashnode.com
You have two options for running the server:
python run_server.py
Or directly using the root file:
python mcp_server.py
The server will start and listen for connections from AI assistants. By default, it runs on localhost:8000 using the Server-Sent Events (SSE) transport protocol.
When properly configured in Claude Desktop or Cline VSCode extension, the MCP integration will automatically start and manage the server process for you.
When configuring your MCP server in Claude Desktop or Cline VSCode extension, you should use the root mcp_server.py file directly rather than the files in the hashnode_mcp directory. The hashnode_mcp directory is primarily for packaging purposes.
The server provides the following tools:
test_api_connection(): Test the connection to the Hashnode APIcreate_article(title, body_markdown, tags="", published=False): Create and publish a new article on Hashnodeupdate_article(article_id, title=None, body_markdown=None, tags=None, published=None): Update an existing article on Hashnodeget_latest_articles(hostname, limit=10): Get the latest articles from a Hashnode publication by hostnamesearch_articles(query, page=1): Search for articles on Hashnodeget_article_details(article_id): Get detailed information about a specific articleget_user_info(username): Get information about a Hashnode userOnce the server is running, you can use it with AI assistants that support the Model Context Protocol (MCP), such as Claude. The assistant will be able to use the tools provided by the server to interact with the Hashnode API.
The tools can be used to:
Navigate to the Cline MCP settings file:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings\cline_mcp_settings.jsonUnfortunately, Claude Desktop is not available for Linux as of now (You can use Cline extension instead)Add your Hashnode MCP se