Histfile
Verified IntegrationClient Configuration
— Connect Histfile to Claude Desktop or Cursor in seconds{
"mcpServers": {
"histfile": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-histfile"
],
"env": {}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).System Overview
Enables access, search, and management of shell command history via the Model Control Protocol (MCP).
7/23/2026
Open Source
stdio / SSE RPC
Frequently Asked Questions
Architecture and operational details for Histfile
Histfile provides programmatic access to your shell command history, allows you to search your command history using text queries, lets you retrieve recent commands, and seamlessly integrates with Cursor and other MCP-compatible tools. You can also get specific commands by their ID.
Related MCP Servers
Browse all servers →Carbone
Empower AI assistants to generate and convert documents, manage templates, and automate document workflows efficiently.
CloudCDN
Provides a multi-tenant, AI-native Content Delivery Network deployable on Cloudflare, featuring sub-100ms TTFB, AI agent controllability, and comprehensive accessibility.
Cloudflare AI Agent Server
Deploy a Model Context Protocol server on Cloudflare Workers without requiring authentication.