
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Python MCP server that lets MCP-compatible tools access, search, and retrieve your shell command history.
MCP Command History shell history server is cataloged as an MCP server attributed to rajpdus. A Python MCP server that lets MCP-compatible tools access, search, and retrieve your shell command history. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Command History shell history server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports shells with history support such as Bash and Zsh, reading from HISTFILE or falling back to ~/.bash_history.
README.md · 2eb8026d7bc4 · Fetched 2026-11-13 10:53:03 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A powerful tool for exploring, searching, and managing your shell command history through the MCP (Model Control Protocol) interface. This project allows you to easily access, search, and retrieve your previously executed shell commands.
# Clone the repository
git clone https://github.com/yourusername/mcp-cmd-history.git
cd mcp-cmd-history
# Install dependencies
pip install -r requirements.txt
python mcp_history_server.py
By default, the server will read your shell history from the location specified in the HISTFILE environment variable, or fall back to ~/.bash_history.
Once the server is running, you can use the following MCP tools in Cursor:
Get Recent Commands:
Please show me my most recent shell commands.
Search Command History:
Please search my command history for 'git commit' and show me the results.
Get Specific Command: You can retrieve a specific command by its ID after searching or listing recent commands.
search_commands(query: str): Search for commands in shell historyget_recent_commands(limit: int = 10): Get the most recent commands from historyget_command(command_id: int): Get a specific command by IDhistory://recent/{limit}: Get recent commands (HTTP endpoint)history://search/{query}: Search for commands (HTTP endpoint)Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Command History shell history server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-histfile)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.