Developers
Get free API keys Pick where you start.
One network for publish, presence, storage and functions. Six ways in, each one a step closer to something running.
MCP ServerBuild with AI
1 command to connect your agent
claude mcp add --scope user --transport http pubnub https://mcp.pubnub.comBuild with your agent.
The hosted MCP Server gives your coding agent your PubNub account and the docs, so it writes code against your real keys.
Live tour
Publish, subscribe, presence and history, running in your browser.Take the tourDocumentation
Quickstarts, SDK references and the REST API.Browse documentationDemos
Chat, IoT, geolocation and virtual events, with source to fork.Browse demosTutorials
Guided builds, from a chat app to a delivery tracker.Browse tutorialsBlog
Engineering notes, AI tooling and the launches behind them.Read the postsStart from a working example
Browse all demos What do you want to build?
Three working apps, each with its source on GitHub.
From the blog
Read the posts Read how it's built
Engineering notes, AI tooling and the launches behind them.