Pharmaceutical Benefits Scheme (PBS) MCP AI Enabled API Server
Australian Pharmaceutical Benefits Scheme PBS API Server using Anthropic MCP with natural language LLM integration
Overview
The PBS MCP Server is an AI-enabled API server that provides access to the Australian Pharmaceutical Benefits Scheme (PBS) API, allowing users to retrieve information about medicines, pricing, and availability in Australia.
To use the PBS MCP Server, you can run it in different modes: Stdio mode for standard input/output communication, HTTP mode for web access, or as a command-line interface (CLI) tool. You can start the server using npm commands and interact with it through various API endpoints or CLI commands.
- AI Integration: Seamlessly integrates with AI models to provide real-time pharmaceutical data. - Multiple Transport Layers: Supports stdio and HTTP/SSE for flexible communication. - Error Handling: Comprehensive error management for API rate limits and authentication issues. - Command-Line Interface: Allows users to interact with the server via CLI commands for various operations.
- Integrating PBS data into AI workflows for healthcare applications.
- Providing real-time medication information to AI assistants.
- Enabling developers to build custom applications that require access to PBS data.
Add to your AI client
Use these steps to connect Pharmaceutical Benefits Scheme (PBS) MCP AI Enabled API Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"pbs-mcp-server-matthewdcage": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pbs-mcp-server-matthewdcage"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"pbs-mcp-server-matthewdcage": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pbs-mcp-server-matthewdcage"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"pbs-mcp-server-matthewdcage": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pbs-mcp-server-matthewdcage"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"pbs-mcp-server-matthewdcage": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pbs-mcp-server-matthewdcage"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"pbs-mcp-server-matthewdcage": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pbs-mcp-server-matthewdcage"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"pbs-mcp-server-matthewdcage": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-pbs-mcp-server-matthewdcage"
]
}
}
}FAQ
Can I use the PBS MCP Server for private API access?
Yes, the server can be adapted for private API access if you have developer access.
Is there a rate limit for using the PBS API?
Yes, the PBS Public API is rate-limited to one request per 20 seconds.
How do I obtain a PBS API subscription key?
You can obtain a subscription key by registering on the PBS Developer Portal and subscribing to the PBS Public API.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2365,"uuid":"fbc1749a-1a72-48a7-b5a4-ac4feee187cd","name":"pbs-mcp-server","title":"Pharmaceutical Benefits Scheme (PBS) MCP AI Enabled API Server","description":"Australian Pharmaceutical Benefits Scheme PBS API Server using Anthropic MCP with natural language LLM integration","avatar_url":"https://avatars.githubusercontent.com/u/132959513?v=4","created_at":"2025-03-13T06:56:53.005Z","updated_at":"2025-03-13T07:13:34.323Z","status":"created","author_name":"matthewdcage","author_avatar_url":"https://avatars.githubusercontent.com/u/132959513?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/matthewdcage/pbs-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/261db5ad026c3d3807dad599ebf6e036d2ba49fa90873edbdd96071780303663/68747470733a2f2f62616467652e6d6370782e6465763f747970653d646576","type":null,"metadata":"{\"star\":\"1\",\"license\":\"MIT license\",\"language\":\"JavaScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-12 20:30:48\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]