Hashnode MCP Server

A Model Context Protocol (MCP) server for interacting with the Hashnode API. This server provides tools for accessing and searching Hashnode content

Local serverstdioPython

What is the Hashnode MCP Server?

A Model Context Protocol (MCP) server for interacting with the Hashnode API. This server provides tools for accessing and searching Hashnode content

The short version

  • Creating and publishing new articles
  • Updating existing articles
  • Searching for articles by keywords
  • Retrieving article details
  • Getting user information
  • Fetching the latest articles from a publication

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
test_api_connection): Test the connection to the Hashnode API
create_articletitle, body_markdown, tags="", published=False): Create and publish a new article on Hashnode
update_articlearticle_id, title=None, body_markdown=None, tags=None, published=None): Update an existing article on Hashnode
get_latest_articleshostname, limit=10): Get the latest articles from a Hashnode publication by hostname
search_articlesquery, page=1): Search for articles on Hashnode
get_article_detailsarticle_id): Get detailed information about a specific article
get_user_infousername): Get information about a Hashnode user

How to install the Hashnode MCP Server

{
  "mcpServers": {
    "hashnode": {
      "command": "/path/to/your/venv/bin/python",
      "args": [
        "/path/to/your/hashnode-mcp-server/mcp_server.py"
      ],
      "env": {
        "HASHNODE_PERSONAL_ACCESS_TOKEN": "YOUR_HASHNODE_PERSONAL_ACCESS_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
HASHNODE_PERSONAL_ACCESS_TOKENDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

A Model Context Protocol (MCP) server for interacting with the Hashnode API. This server provides tools for accessing and searching Hashnode content Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.