Name | zotero-mcp JSON |
Version |
0.1.3
JSON |
| download |
home_page | None |
Summary | Model Context Protocol server for Zotero |
upload_time | 2025-02-02 22:19:32 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.11 |
license | MIT License
Copyright (c) 2025 Aaron Taylor
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. |
keywords |
mcp
zotero
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Model Context Protocol server for Zotero
This project is a python-based server that implements the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) for [Zotero](https://www.zotero.org/).
## Features
This MCP server provides the following tools:
- `zotero_search_items`: Search for items in your Zotero library using a text query
- `zotero_item_metadata`: Get detailed information about a specific Zotero item
- `zotero_item_fulltext`: Get the full text of a specific Zotero item
These can be discovered and accessed through the [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector) or any other [MCP client](https://modelcontextprotocol.io/clients).
Each tool returns formatted text containing relevant information from your Zotero items.
## Installation
To use this with Claude Desktop, add the following to the `mcpServers` configuration:
```json
"zotero": {
"command": "uvx",
"args": ["zotero-mcp"],
"env": {
"ZOTERO_LOCAL": "true"
}
}
```
The following environment variables are supported:
- `ZOTERO_LOCAL=true`: Use the local Zotero API (default: false)
- `ZOTERO_LIBRARY_ID`: Your Zotero library ID (not required for the local API)
- `ZOTERO_LIBRARY_TYPE`: The type of library (user or group, default: user)
- `ZOTERO_API_KEY`: Your Zotero API key (not required for the local API)
You can find your library ID and create an API key in your Zotero account settings: https://www.zotero.org/settings/keys
The [local Zotero API](https://groups.google.com/g/zotero-dev/c/ElvHhIFAXrY/m/fA7SKKwsAgAJ) can be used with Zotero 7 running on the same machine.
> n.b. An upcoming Zotero release is needed to support the fulltext API locally: https://github.com/zotero/zotero/pull/5004
## Development
1. Clone this repository
1. Install dependencies with [uv](https://docs.astral.sh/uv/) by running: `uv sync`
1. Create a `.env` file in the project root with the environment variables above
Start the [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector) for local development:
```bash
npx @modelcontextprotocol/inspector uv run zotero-mcp
```
### Running Tests
To run the test suite:
```bash
uv run pytest
```
## Relevant Documentation
- https://modelcontextprotocol.io/tutorials/building-mcp-with-llms
- https://github.com/modelcontextprotocol/python-sdk
- https://pyzotero.readthedocs.io/en/latest/
- https://www.zotero.org/support/dev/web_api/v3/start
Raw data
{
"_id": null,
"home_page": null,
"name": "zotero-mcp",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "mcp, zotero",
"author": null,
"author_email": "Aaron Taylor <pypi@ataylor.io>",
"download_url": "https://files.pythonhosted.org/packages/43/c4/bb762c5f5d5d83ef09381ca84f1345621f2e26e8a803d3bf9bd16815bc49/zotero_mcp-0.1.3.tar.gz",
"platform": null,
"description": "# Model Context Protocol server for Zotero\n\nThis project is a python-based server that implements the [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) for [Zotero](https://www.zotero.org/).\n\n## Features\n\nThis MCP server provides the following tools:\n\n- `zotero_search_items`: Search for items in your Zotero library using a text query\n- `zotero_item_metadata`: Get detailed information about a specific Zotero item\n- `zotero_item_fulltext`: Get the full text of a specific Zotero item\n\nThese can be discovered and accessed through the [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector) or any other [MCP client](https://modelcontextprotocol.io/clients).\n\nEach tool returns formatted text containing relevant information from your Zotero items.\n\n## Installation\n\nTo use this with Claude Desktop, add the following to the `mcpServers` configuration:\n\n```json\n \"zotero\": {\n \"command\": \"uvx\",\n \"args\": [\"zotero-mcp\"],\n \"env\": {\n \"ZOTERO_LOCAL\": \"true\"\n }\n }\n```\n\nThe following environment variables are supported:\n\n- `ZOTERO_LOCAL=true`: Use the local Zotero API (default: false)\n- `ZOTERO_LIBRARY_ID`: Your Zotero library ID (not required for the local API)\n- `ZOTERO_LIBRARY_TYPE`: The type of library (user or group, default: user)\n- `ZOTERO_API_KEY`: Your Zotero API key (not required for the local API)\n\nYou can find your library ID and create an API key in your Zotero account settings: https://www.zotero.org/settings/keys\n\nThe [local Zotero API](https://groups.google.com/g/zotero-dev/c/ElvHhIFAXrY/m/fA7SKKwsAgAJ) can be used with Zotero 7 running on the same machine.\n\n> n.b. An upcoming Zotero release is needed to support the fulltext API locally: https://github.com/zotero/zotero/pull/5004\n\n## Development\n\n1. Clone this repository\n1. Install dependencies with [uv](https://docs.astral.sh/uv/) by running: `uv sync`\n1. Create a `.env` file in the project root with the environment variables above\n\nStart the [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector) for local development:\n\n```bash\nnpx @modelcontextprotocol/inspector uv run zotero-mcp\n```\n\n### Running Tests\n\nTo run the test suite:\n\n```bash\nuv run pytest\n```\n\n## Relevant Documentation\n\n- https://modelcontextprotocol.io/tutorials/building-mcp-with-llms\n- https://github.com/modelcontextprotocol/python-sdk\n- https://pyzotero.readthedocs.io/en/latest/\n- https://www.zotero.org/support/dev/web_api/v3/start\n",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright (c) 2025 Aaron Taylor\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.",
"summary": "Model Context Protocol server for Zotero",
"version": "0.1.3",
"project_urls": {
"Issues": "https://github.com/kujenga/zotero-mcp/issues",
"Repository": "https://github.com/kujenga/zotero-mcp"
},
"split_keywords": [
"mcp",
" zotero"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "99cf9e4f930ff3c98862824de06b037e04934e11f24327d46654dd45c272d5e2",
"md5": "650908942a610af65b9495310116aafb",
"sha256": "dd957da2ef8ebee0b9d74f0fa7c89bb4a360b40ba4dcbe3f61b9ca6309f6a8be"
},
"downloads": -1,
"filename": "zotero_mcp-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "650908942a610af65b9495310116aafb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 7289,
"upload_time": "2025-02-02T22:19:30",
"upload_time_iso_8601": "2025-02-02T22:19:30.132889Z",
"url": "https://files.pythonhosted.org/packages/99/cf/9e4f930ff3c98862824de06b037e04934e11f24327d46654dd45c272d5e2/zotero_mcp-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "43c4bb762c5f5d5d83ef09381ca84f1345621f2e26e8a803d3bf9bd16815bc49",
"md5": "9fcd9871089358e3af761e565242fb15",
"sha256": "3e8752262afb86f373efb8008e83ecb408aa35266fe896a9aa2216f4550aa85e"
},
"downloads": -1,
"filename": "zotero_mcp-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "9fcd9871089358e3af761e565242fb15",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 20801,
"upload_time": "2025-02-02T22:19:32",
"upload_time_iso_8601": "2025-02-02T22:19:32.015297Z",
"url": "https://files.pythonhosted.org/packages/43/c4/bb762c5f5d5d83ef09381ca84f1345621f2e26e8a803d3bf9bd16815bc49/zotero_mcp-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-02 22:19:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kujenga",
"github_project": "zotero-mcp",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "zotero-mcp"
}