mcp pocket
ð Model Context Protocol (MCP) Server for retrieving saved articles from Pocket API and loading them into Claude
ð Model Context Protocol (MCP) Server for retrieving saved articles from Pocket API and loading them into Claude
This is a connector to allow Claude Desktop (or any MCP client) to fetch your saved articles from Pocket API.
brew install node
)~/Library/Application Support/Claude/claude_desktop_config.json
You can easily find this through the Claude Desktop menu: 1. Open Claude Desktop 2. Click Claude on the Mac menu bar 3. Click "Settings" 4. Click "Developer"
If you don't have this config, you can create an empty file at this location.
Add the following to the config file, replacing the credentials with your own:
{
"mcpServers": {
"pocket": {
"command": "npx",
"args": ["-y", "@kazuph/mcp-pocket"],
"env": {
"POCKET_CONSUMER_KEY": "your-pocket-consumer-key",
"POCKET_ACCESS_TOKEN": "your-pocket-access-token"
}
}
}
}
Clone this repository and install dependencies:
git clone https://github.com/kazuph/mcp-pocket.git
cd mcp-pocket
npm install
For development, use this configuration instead:
{
"mcpServers": {
"pocket": {
"command": "npx",
"args": ["tsx", "/path/to/mcp-pocket/index.ts"],
"env": {
"POCKET_CONSUMER_KEY": "your-pocket-consumer-key",
"POCKET_ACCESS_TOKEN": "your-pocket-access-token"
}
}
}
}
# Build TypeScript
npm run build
# Watch mode for development
npm run watch
# Publish to npm
npm login
npm publish
The following MCP tools will be available in Claude Desktop:
pocket_get_articles
: Fetch your saved articles from Pocket API. Returns title, URL, and excerpt for each article.pocket_mark_as_read
: Mark a specific article as read (archived) in your Pocket account using its item ID.For detailed instructions on obtaining your Pocket API credentials, please refer to Issue #2.
Quick steps: 1. Create a new app at Pocket Developer Portal 2. Follow the authentication process to get your Consumer Key and Access Token
MIT
[
{
"description": "Fetches the latest unread articles from Pocket API. Returns up to 20 articles by default. You can specify the number of articles to fetch (1-20) using the count parameter. Returns the article ID, title, URL, and excerpt for each article.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"count": {
"default": 20,
"type": "number"
}
},
"type": "object"
},
"name": "pocket_get_articles"
},
{
"description": "Marks a specific Pocket article as read (archived) using its item ID.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"itemId": {
"type": "string"
}
},
"required": [
"itemId"
],
"type": "object"
},
"name": "pocket_mark_as_read"
}
]