{"id":28450185,"url":"https://github.com/anyproto/anytype-mcp","last_synced_at":"2026-08-27T15:07:13.966Z","repository":{"id":296277417,"uuid":"969219067","full_name":"anyproto/anytype-mcp","owner":"anyproto","description":"An MCP server enabling AI assistants to interact with Anytype - your encrypted, local and collaborative wiki - to organize objects, lists, and more through natural language.","archived":false,"fork":false,"pushed_at":"2026-08-03T16:56:27.000Z","size":3471,"stargazers_count":500,"open_issues_count":23,"forks_count":52,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-08-10T15:23:31.529Z","etag":null,"topics":["anytype","api","mcp","mcp-server","modelcontextprotocol"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/@anyproto/anytype-mcp","language":"TypeScript","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/anyproto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-04-19T16:55:01.000Z","updated_at":"2026-08-10T14:20:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"3acebd37-da53-43dd-a016-9c54011754e9","html_url":"https://github.com/anyproto/anytype-mcp","commit_stats":null,"previous_names":["anyproto/anytype-mcp"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/anyproto/anytype-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anyproto","download_url":"https://codeload.github.com/anyproto/anytype-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyproto%2Fanytype-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36943324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-27T02:00:07.166Z","response_time":96,"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":["anytype","api","mcp","mcp-server","modelcontextprotocol"],"created_at":"2025-06-06T15:06:44.984Z","updated_at":"2026-08-27T15:07:13.960Z","avatar_url":"https://github.com/anyproto.png","language":"TypeScript","funding_links":[],"categories":["Productivity","📚 Projects (1974 total)","🔌 API","Other Tools and Integrations","MCP Servers","Servers"],"sub_categories":["Wiki \u0026 Collaboration","MCP Servers","How to Submit","Knowledge \u0026 Memory","Knowledge Management"],"readme":"# Anytype MCP Server\n\n\u003ca href=\"https://npmjs.org/package/@anyproto/anytype-mcp\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@anyproto/anytype-mcp.svg\" alt=\"NPM version\" height=\"20\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://cursor.com/en-US/install-mcp?name=anytype\u0026config=eyJlbnYiOnsiT1BFTkFQSV9NQ1BfSEVBREVSUyI6IntcIkF1dGhvcml6YXRpb25cIjpcIkJlYXJlciA8WU9VUl9BUElfS0VZPlwiLCBcIkFueXR5cGUtVmVyc2lvblwiOlwiMjAyNS0xMS0wOFwifSJ9LCJjb21tYW5kIjoibnB4IC15IEBhbnlwcm90by9hbnl0eXBlLW1jcCJ9\"\u003e\u003cimg src=\"https://cursor.com/deeplink/mcp-install-dark.svg\" alt=\"Add anytype MCP server to Cursor\" height=\"20\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://lmstudio.ai/install-mcp?name=anytype\u0026config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBhbnlwcm90by9hbnl0eXBlLW1jcCJdLCJlbnYiOnsiT1BFTkFQSV9NQ1BfSEVBREVSUyI6IntcIkF1dGhvcml6YXRpb25cIjpcIkJlYXJlciA8WU9VUl9BUElfS0VZPlwiLCBcIkFueXR5cGUtVmVyc2lvblwiOlwiMjAyNS0xMS0wOFwifSJ9fQ%3D%3D\"\u003e\u003cimg src=\"https://files.lmstudio.ai/deeplink/mcp-install-light.svg\" alt=\"Add MCP Server anytype to LM Studio\" height=\"20\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://kiro.dev/launch/mcp/add?name=anytype\u0026config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40anyproto%2Fanytype-mcp%22%5D%2C%22env%22%3A%7B%22OPENAPI_MCP_HEADERS%22%3A%22%7B%5C%22Authorization%5C%22%3A%5C%22Bearer%20%3CYOUR_API_KEY%3E%5C%22%2C%20%5C%22Anytype-Version%5C%22%3A%5C%222025-11-08%5C%22%7D%22%7D%7D\"\u003e\u003cimg src=\"https://kiro.dev/images/add-to-kiro.svg\" alt=\"Add to Kiro\" height=\"20\" /\u003e\u003c/a\u003e\n\nThe Anytype MCP Server is a [Model Context Protocol (MCP)](https://modelcontextprotocol.io) server enabling AI assistants to seamlessly interact with [Anytype's API](https://github.com/anyproto/anytype-api) through natural language.\n\nIt bridges the gap between AI and Anytype's powerful features by converting Anytype's OpenAPI specification into MCP tools, allowing you to manage your knowledge base through conversation.\n\n## Features\n\n- Global \u0026 Space Search\n- Spaces \u0026 Members\n- Objects \u0026 Lists\n- Properties \u0026 Tags\n- Types \u0026 Templates\n\n## Quick Start\n\n### 1. Get Your API Key\n\n1. Open Anytype\n2. Go to App Settings\n3. Navigate to API Keys section\n4. Click on `Create new` button\n\n\u003cdetails\u003e\n\u003csummary\u003eAlternative: Get API key via CLI\u003c/summary\u003e\n\nYou can also get your API key using the command line:\n\n```bash\nnpx -y @anyproto/anytype-mcp get-key\n```\n\n\u003c/details\u003e\n\n### 2. Configure Your MCP Client\n\n#### Claude Desktop, Cursor, Windsurf, Raycast, etc.\n\nAdd the following configuration to your MCP client settings after replacing `\u003cYOUR_API_KEY\u003e` with your actual API key:\n\n```json\n{\n  \"mcpServers\": {\n    \"anytype\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@anyproto/anytype-mcp\"],\n      \"env\": {\n        \"OPENAPI_MCP_HEADERS\": \"{\\\"Authorization\\\":\\\"Bearer \u003cYOUR_API_KEY\u003e\\\", \\\"Anytype-Version\\\":\\\"2025-11-08\\\"}\"\n      }\n    }\n  }\n}\n```\n\n\u003e **Tip:** After creating an API key in Anytype, you can copy that ready-to-use configuration snippet with your API key already filled in from the API Keys section.\n\n#### Claude Code (CLI)\n\nRun this command to add the Anytype MCP server after replacing `\u003cYOUR_API_KEY\u003e` with your actual API key:\n\n```bash\nclaude mcp add anytype -e OPENAPI_MCP_HEADERS='{\"Authorization\":\"Bearer \u003cYOUR_API_KEY\u003e\", \"Anytype-Version\":\"2025-11-08\"}' -s user -- npx -y @anyproto/anytype-mcp\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eAlternative: Global Installation\u003c/summary\u003e\n\nIf you prefer to install the package globally:\n\n1. Install the package:\n\n```bash\nnpm install -g @anyproto/anytype-mcp\n```\n\n2. Update your MCP client configuration to use the global installation:\n\n```json\n{\n  \"mcpServers\": {\n    \"anytype\": {\n      \"command\": \"anytype-mcp\",\n      \"env\": {\n        \"OPENAPI_MCP_HEADERS\": \"{\\\"Authorization\\\":\\\"Bearer \u003cYOUR_API_KEY\u003e\\\", \\\"Anytype-Version\\\":\\\"2025-11-08\\\"}\"\n      }\n    }\n  }\n}\n```\n\n\u003c/details\u003e\n\n### Custom API Base URL\n\nBy default, the server connects to `http://127.0.0.1:31009`. For `anytype-cli` (port `31012`) or other custom base URLs, set `ANYTYPE_API_BASE_URL`:\n\n\u003cdetails\u003e\n\u003csummary\u003eExample Configuration\u003c/summary\u003e\n\n**MCP Client (Claude Desktop, Cursor, etc.):**\n```json\n{\n  \"mcpServers\": {\n    \"anytype\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@anyproto/anytype-mcp\"],\n      \"env\": {\n        \"ANYTYPE_API_BASE_URL\": \"http://localhost:31012\",\n        \"OPENAPI_MCP_HEADERS\": \"{\\\"Authorization\\\":\\\"Bearer \u003cYOUR_API_KEY\u003e\\\", \\\"Anytype-Version\\\":\\\"2025-11-08\\\"}\"\n      }\n    }\n  }\n}\n```\n\n**Claude Code (CLI):**\n```bash\nclaude mcp add anytype \\\n  -e ANYTYPE_API_BASE_URL='http://localhost:31012' \\\n  -e OPENAPI_MCP_HEADERS='{\"Authorization\":\"Bearer \u003cYOUR_API_KEY\u003e\", \"Anytype-Version\":\"2025-11-08\"}' \\\n  -s user -- npx -y @anyproto/anytype-mcp\n```\n\n\u003c/details\u003e\n\n## Example Interactions\n\nHere are some examples of how you can interact with your Anytype:\n\n- \"Create a new space called 'Project Ideas' with description 'A space for storing project ideas'\"\n- \"Add a new object of type 'Task' with title 'Research AI trends' to the 'Project Ideas' space\"\n- \"Create a second one with title 'Dive deep into LLMs' with due date in 3 days and assign it to me\"\n- \"Now create a collection with the title \"Tasks for this week\" and add the two tasks to that list. Set due date of the first one to 10 days from now\"\n\n## Development\n\n### Installation from Source\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/anyproto/anytype-mcp.git\ncd anytype-mcp\n```\n\n2. Install dependencies (requires [Bun](https://bun.com)):\n\n```bash\nbun install\n```\n\n3. Build the project:\n\n```bash\nbun run build\n```\n\n4. Link the package globally (optional):\n\n```bash\nbun link\n```\n\n## Contribution\n\nThank you for your desire to develop Anytype together!\n\n❤️ This project and everyone involved in it is governed by the [Code of Conduct](https://github.com/anyproto/.github/blob/main/docs/CODE_OF_CONDUCT.md).\n\n🧑‍💻 Check out our [contributing guide](https://github.com/anyproto/.github/blob/main/docs/CONTRIBUTING.md) to learn about asking questions, creating issues, or submitting pull requests.\n\n🫢 For security findings, please email [security@anytype.io](mailto:security@anytype.io) and refer to our [security guide](https://github.com/anyproto/.github/blob/main/docs/SECURITY.md) for more information.\n\n🤝 Follow us on [Github](https://github.com/anyproto) and join the [Contributors Community](https://github.com/orgs/anyproto/discussions).\n\n---\n\nMade by Any — a Swiss association 🇨🇭\n\nLicensed under [MIT](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyproto%2Fanytype-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanyproto%2Fanytype-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyproto%2Fanytype-mcp/lists"}