{"id":33347345,"url":"https://github.com/harehare/mq-mcp","last_synced_at":"2026-04-06T16:01:31.338Z","repository":{"id":325278473,"uuid":"1099866028","full_name":"harehare/mq-mcp","owner":"harehare","description":"Model Context Protocol (MCP) server implementation for mq. ","archived":false,"fork":false,"pushed_at":"2025-11-20T13:01:10.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-20T14:30:44.967Z","etag":null,"topics":["markdown","mcp","mq","query"],"latest_commit_sha":null,"homepage":"https://mqlang.org","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harehare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-19T14:42:10.000Z","updated_at":"2025-11-20T13:01:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/harehare/mq-mcp","commit_stats":null,"previous_names":["harehare/mq-mcp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/harehare/mq-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Fmq-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Fmq-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Fmq-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Fmq-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harehare","download_url":"https://codeload.github.com/harehare/mq-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harehare%2Fmq-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285755366,"owners_count":27226257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-22T02:00:05.934Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["markdown","mcp","mq","query"],"created_at":"2025-11-22T08:01:23.331Z","updated_at":"2026-01-03T04:08:51.528Z","avatar_url":"https://github.com/harehare.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003emq-mcp\u003c/h1\u003e\n\n[![ci](https://github.com/harehare/mq-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/harehare/mq-mcp/actions/workflows/ci.yml)\n[![mq language](https://img.shields.io/badge/mq-language-orange.svg)](https://github.com/harehare/mq)\n\n\nModel Context Protocol (MCP) server implementation for [mq](https://github.com/harehare/mq). This crate provides an MCP server that allows AI assistants to process Markdown and HTML content using mq's query language.\n\n## Installation\n\nYou can install mq-mcp using the installation script:\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/harehare/mq-mcp/main/bin/install.sh | bash\n```\n\nOr clone this repository and run the install script:\n\n```bash\ngit clone https://github.com/harehare/mq-mcp.git\ncd mq-mcp\n./bin/install.sh\n```\n\nThe script will:\n- Install the `mq` binary to `~/.mq/bin`\n- Add `~/.mq/bin` to your PATH (if not already present)\n- Support macOS, Linux, and Windows\n- Verify checksums for security\n\nAfter installation, restart your terminal or run:\n\n```bash\nsource ~/.zshrc  # or ~/.bashrc for bash users\n```\n\n## Implementation\n\nThe server implements four MCP tools:\n\n- `html_to_markdown`: Converts HTML to Markdown and executes mq queries\n- `extract_markdown`: Executes mq queries on Markdown content\n- `available_functions`: Returns available functions for mq queries\n- `available_selectors`: Returns available selectors for mq queries\n\n### Tool Parameters\n\n#### html_to_markdown\n\n- `html` (string): HTML content to process\n- `query` (optional string): mq query to execute\n\n#### extract_markdown\n\n- `markdown` (string): Markdown content to process\n- `query` (string): mq query to execute\n\n#### available_functions\n\nNo parameters. Returns JSON with function names, descriptions, parameters, and example queries.\n\n#### available_selectors\n\nNo parameters. Returns JSON with selector names, descriptions, and parameters.\n\n## Configuration\n\n### Claude Desktop\n\n#### Using mq-mcp binary directly\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"mq-mcp\": {\n      \"command\": \"/Users/YOUR_USERNAME/.mq/bin/mq-mcp\",\n      \"args\": []\n    }\n  }\n}\n```\n\nOr simply use `mq-mcp` if `~/.mq/bin` is in your PATH:\n\n```json\n{\n  \"mcpServers\": {\n    \"mq-mcp\": {\n      \"command\": \"mq-mcp\",\n      \"args\": []\n    }\n  }\n}\n```\n\n#### Using mq command\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"mq-mcp\": {\n      \"command\": \"/Users/YOUR_USERNAME/.mq/bin/mq\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\nOr simply use `mq` if `~/.mq/bin` is in your PATH:\n\n```json\n{\n  \"mcpServers\": {\n    \"mq-mcp\": {\n      \"command\": \"mq\",\n      \"args\": [\"mcp\"]\n    }\n  }\n}\n```\n\n### VS Code with MCP Extension\n\n#### Using mq-mcp binary directly\n\nAdd to `.vscode/settings.json`:\n\n```json\n{\n  \"mcp\": {\n    \"servers\": {\n      \"mq-mcp\": {\n        \"type\": \"stdio\",\n        \"command\": \"mq-mcp\",\n        \"args\": []\n      }\n    }\n  }\n}\n```\n\n#### Using mq command\n\nAdd to `.vscode/settings.json`:\n\n```json\n{\n  \"mcp\": {\n    \"servers\": {\n      \"mq-mcp\": {\n        \"type\": \"stdio\",\n        \"command\": \"mq\",\n        \"args\": [\"mcp\"]\n      }\n    }\n  }\n}\n```\n\n## License\n\nThis project is licensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharehare%2Fmq-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharehare%2Fmq-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharehare%2Fmq-mcp/lists"}