barkme-mcp-server CLAUDE.md

barkme-mcp-server CLAUDE.md is an instructions file for Claude Code from thevibeworks/barkme-mcp-server. It costs 706 tokens per session, scanned A, original, MIT.

Repository instructions for building a TypeScript server that sends Bark notifications to iPhones through MCP, a standard way for AI tools to call external services.

In plain words
What is it for?
Use it when developing or maintaining this Bark notification server, including its single notification tool, environment settings, validation, and non-blocking behavior.
Why use it?
It gives the coding agent the project goal, design rules, required technologies, and notification settings in one place.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/thevibeworks/barkme-mcp-server/claude-md
Clone the repo
git clone --depth 1 https://github.com/thevibeworks/barkme-mcp-server

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for barkme-mcp-server CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/thevibeworks/barkme-mcp-server/claude-md.svg)](https://agentmods.dev/instructions/thevibeworks/barkme-mcp-server/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/thevibeworks/barkme-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/thevibeworks/barkme-mcp-server/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 706 This file is loaded in full into every session.
When invoked 706 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00706 $0.00706
Opus 5 $0.00353 $0.00353
Sonnet 5 $0.00141 $0.00141
Haiku 4.5 $0.00071 $0.00071

Measured 5d ago against content hash a79a787d8c29, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

barkme-mcp-server CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Goal

Build a Barkme MCP server exposing Bark iOS notification service through Model Context Protocol. Wraps barkme.sh tool (https://github.com/thevibeworks/vibe-tools/blob/main/src/bin/barkme.sh) into intelligent MCP interface.

References

  • references/barkme-tools/ - Original Bark notification shell scripts
  • references/modelcontextprotocol/ - MCP specification and SDKs
  • references/notes/ - Development guides

Design Principles

  1. Single Tool - One notify tool handles all scenarios
  2. Environment Config - Use BARK_* environment variables like original barkme.sh
  3. Auto-detection - Handle batch/single notifications automatically
  4. Non-blocking - Never block main process during notify operations

Language & Stack

  • TypeScript with MCP TypeScript SDK
  • ES modules with strict typing
  • Zod for validation

Bark API Parameters

All parameters supported (https://github.com/Finb/Bark/blob/master/docs/tutorial.md):

  • title - Notification title
  • subtitle - Notification subtitle
  • body - Notification body/message
  • device_key - Device key
  • device_keys - Key array for batch notifications
  • level - Interruption level (critical, active, timeSensitive, passive)
  • volume - Critical alert volume (0-10)
  • badge - Badge number
  • call - Ring continuously when "1"
  • autoCopy - Auto-copy content when "1"
  • copy - Custom copy text
  • sound - Custom notification sound
  • icon - Custom icon URL
  • group - Group notifications
  • ciphertext - Encrypted message
  • isArchive - Save notification when "1"
  • url - Action URL
  • action - Disable popup when "none"
  • id - Update notification with same ID
  • delete - Delete notification when "1"

Environment Variables

  • BARK_SERVER - Bark server URL (default: https://api.day.app)
  • BARK_DEVICES - Device keys: "key1,key2" or aliases: "phone:key1,tablet:key2" (required)
  • BARK_DEFAULT_DEVICE - Default device alias for fallback (defaults to first device)
  • BARK_GROUP - Default group name (default: "Bark MCP Server")
  • BARK_SOUND - Default notification sound
  • BARK_ICON - Default icon URL
  • BARK_LEVEL - Default interruption level
  • BARK_VOLUME - Default volume for critical alerts (0-10)
  • BARK_RETRY - Retry attempts (default: 1, max: 10)
  • BARK_ASYNC - Async mode: "true" (fire-and-forget, default) or "false" (blocking)

Read the full file on GitHub · 71 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 71 lines · 706 tokens per session scan A a79a787d8c29

Subscribe to this mod's changes

barkme-mcp-server CLAUDE.md is an instructions file published in the GitHub repository thevibeworks/barkme-mcp-server (3 stars, last pushed 3d ago), licensed MIT. It adds 706 tokens to every session, about $0.0035 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.