iflow-mcp_gmen1057-headhunter-mcp-server 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ # HeadHunter API Credentials
2
+ # Get your credentials at: https://dev.hh.ru/admin
3
+
4
+ HH_CLIENT_ID=your_client_id_here
5
+ HH_CLIENT_SECRET=your_client_secret_here
6
+ HH_APP_TOKEN=your_app_token_here
7
+ HH_REDIRECT_URI=https://your-domain.com/oauth/callback
8
+
9
+ # OAuth tokens (obtained after authorization)
10
+ # Run: python examples/oauth_flow.py
11
+ HH_ACCESS_TOKEN=
12
+ HH_REFRESH_TOKEN=
@@ -0,0 +1,30 @@
1
+ # Environment variables
2
+ .env
3
+
4
+ # Python
5
+ __pycache__/
6
+ *.py[cod]
7
+ *$py.class
8
+ *.so
9
+ .Python
10
+ venv/
11
+ env/
12
+ ENV/
13
+ build/
14
+ dist/
15
+ *.egg-info/
16
+
17
+ # IDE
18
+ .vscode/
19
+ .idea/
20
+ *.swp
21
+ *.swo
22
+ *~
23
+
24
+ # OS
25
+ .DS_Store
26
+ Thumbs.db
27
+
28
+ # Project specific
29
+ vacancy-reports/
30
+ *.csv
@@ -0,0 +1,4 @@
1
+ [2026-02-05 03:36:59] [SUCCESS] 获取项目: Fork并克隆项目成功
2
+ [2026-02-05 03:37:06] [SUCCESS] 阅读代码: 项目类型判定为Python MCP服务端项目,支持stdio协议
3
+ [2026-02-05 03:38:09] [SUCCESS] 本地测试: 本地测试通过,获取到10个工具
4
+ [2026-02-05 03:38:20] [SUCCESS] 推送iflow分支: 分支已成功推送到远程仓库
@@ -0,0 +1,86 @@
1
+ # Contributing to HeadHunter MCP Server
2
+
3
+ Thank you for your interest in contributing! 🎉
4
+
5
+ ## How to Contribute
6
+
7
+ ### Reporting Issues
8
+
9
+ - Check existing issues first to avoid duplicates
10
+ - Use a clear and descriptive title
11
+ - Include steps to reproduce (if applicable)
12
+ - Mention your environment (OS, Python version, etc.)
13
+
14
+ ### Submitting Pull Requests
15
+
16
+ 1. **Fork the repository**
17
+
18
+ 2. **Create a feature branch**
19
+ ```bash
20
+ git checkout -b feature/your-feature-name
21
+ ```
22
+
23
+ 3. **Make your changes**
24
+ - Follow existing code style
25
+ - Add tests if applicable
26
+ - Update documentation
27
+
28
+ 4. **Test your changes**
29
+ ```bash
30
+ python -m pytest # if tests exist
31
+ ```
32
+
33
+ 5. **Commit your changes**
34
+ ```bash
35
+ git commit -m "Add: brief description of changes"
36
+ ```
37
+
38
+ 6. **Push to your fork**
39
+ ```bash
40
+ git push origin feature/your-feature-name
41
+ ```
42
+
43
+ 7. **Open a Pull Request**
44
+ - Describe what changed and why
45
+ - Reference any related issues
46
+
47
+ ## Code Style
48
+
49
+ - Follow PEP 8 for Python code
50
+ - Use type hints where possible
51
+ - Add docstrings for public functions
52
+ - Keep functions focused and small
53
+
54
+ ## Development Setup
55
+
56
+ ```bash
57
+ # Clone your fork
58
+ git clone https://github.com/your-username/headhunter-mcp-server.git
59
+ cd headhunter-mcp-server
60
+
61
+ # Create virtual environment
62
+ python -m venv venv
63
+ source venv/bin/activate # On Windows: venv\Scripts\activate
64
+
65
+ # Install dependencies
66
+ pip install -r requirements.txt
67
+
68
+ # Install development dependencies (if any)
69
+ pip install -r requirements-dev.txt # if exists
70
+ ```
71
+
72
+ ## Testing
73
+
74
+ Before submitting, ensure:
75
+ - [ ] Code runs without errors
76
+ - [ ] All existing functionality still works
77
+ - [ ] New features are documented
78
+ - [ ] No credentials are committed
79
+
80
+ ## Questions?
81
+
82
+ Feel free to open an issue for discussion before starting work on major changes.
83
+
84
+ ---
85
+
86
+ Thank you for contributing! 🚀
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 HeadHunter MCP Server Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,326 @@
1
+ Metadata-Version: 2.4
2
+ Name: iflow-mcp_gmen1057-headhunter-mcp-server
3
+ Version: 0.1.0
4
+ Summary: HeadHunter MCP Server - Integrate HeadHunter API with Claude Code and other MCP clients
5
+ License-File: LICENSE
6
+ Requires-Python: >=3.10
7
+ Requires-Dist: httpx>=0.27.0
8
+ Requires-Dist: mcp>=1.0.0
9
+ Requires-Dist: pydantic>=2.0.0
10
+ Requires-Dist: python-dotenv>=1.0.0
11
+ Description-Content-Type: text/markdown
12
+
13
+ # HeadHunter MCP Server
14
+
15
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
16
+ [![MCP](https://img.shields.io/badge/MCP-1.0+-green.svg)](https://modelcontextprotocol.io/)
17
+ [![HeadHunter API](https://img.shields.io/badge/HeadHunter-API%20v3-orange.svg)](https://dev.hh.ru/)
18
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
19
+
20
+ [English](#english) | [Русский](#russian)
21
+
22
+ ---
23
+
24
+ ## English
25
+
26
+ **MCP (Model Context Protocol) server for integrating HeadHunter API with Claude Code and other MCP clients.**
27
+
28
+ HeadHunter (hh.ru) is the largest job search platform in Russia and CIS countries. This MCP server provides seamless integration with HeadHunter API, enabling AI assistants to search vacancies, manage resumes, and apply to jobs on your behalf.
29
+
30
+ ### Features
31
+
32
+ - 🔍 **Advanced Vacancy Search** - Filter by location, salary, experience, employment type
33
+ - 📄 **Resume Management** - View and manage your HeadHunter resumes
34
+ - ✉️ **Job Applications** - Apply to vacancies with custom cover letters
35
+ - 🏢 **Company Information** - Get detailed employer data
36
+ - 📊 **Application Tracking** - Monitor your job application history
37
+ - 🤖 **AI-Powered Agent** - Automated vacancy hunter with intelligent matching
38
+ - 🔐 **OAuth 2.0** - Secure authorization with HeadHunter
39
+
40
+ ### Available Tools (10)
41
+
42
+ 1. **hh_search_vacancies** - Search for job vacancies
43
+ 2. **hh_get_vacancy** - Get detailed vacancy information
44
+ 3. **hh_get_employer** - Get company/employer details
45
+ 4. **hh_get_similar** - Find similar vacancies
46
+ 5. **hh_get_areas** - Get list of regions/cities
47
+ 6. **hh_get_dictionaries** - Get reference data (experience, employment types, etc.)
48
+ 7. **hh_get_resumes** - Get your resumes list
49
+ 8. **hh_get_resume** - Get detailed resume information
50
+ 9. **hh_apply_to_vacancy** - Apply to a vacancy (requires OAuth)
51
+ 10. **hh_get_negotiations** - Get application history (requires OAuth)
52
+
53
+ ### Quick Start
54
+
55
+ #### 1. Installation
56
+
57
+ ```bash
58
+ git clone https://github.com/yourusername/headhunter-mcp-server.git
59
+ cd headhunter-mcp-server
60
+ python -m venv venv
61
+ source venv/bin/activate # On Windows: venv\Scripts\activate
62
+ pip install -r requirements.txt
63
+ ```
64
+
65
+ #### 2. Get HeadHunter API Credentials
66
+
67
+ 1. Register your application at [https://dev.hh.ru/admin](https://dev.hh.ru/admin)
68
+ 2. Get Client ID, Client Secret, and App Token
69
+ 3. Copy `.env.example` to `.env` and fill in your credentials
70
+
71
+ ```bash
72
+ cp .env.example .env
73
+ # Edit .env with your credentials
74
+ ```
75
+
76
+ #### 3. Configure Claude Code
77
+
78
+ Add to your `~/.claude.json`:
79
+
80
+ ```json
81
+ {
82
+ "mcpServers": {
83
+ "headhunter": {
84
+ "type": "stdio",
85
+ "command": "/path/to/venv/bin/python",
86
+ "args": ["/path/to/headhunter-mcp-server/server.py"],
87
+ "env": {
88
+ "HH_CLIENT_ID": "your_client_id",
89
+ "HH_CLIENT_SECRET": "your_client_secret",
90
+ "HH_APP_TOKEN": "your_app_token",
91
+ "HH_REDIRECT_URI": "https://your-domain.com/oauth/callback"
92
+ }
93
+ }
94
+ }
95
+ }
96
+ ```
97
+
98
+ #### 4. OAuth Authorization (Optional)
99
+
100
+ For job applications and resume management:
101
+
102
+ ```bash
103
+ python examples/oauth_flow.py
104
+ ```
105
+
106
+ Follow the instructions to authorize and get access tokens.
107
+
108
+ ### Usage Examples
109
+
110
+ ```bash
111
+ # Search for Python jobs in Moscow
112
+ Find 10 Python developer vacancies in Moscow with salary from 200000
113
+
114
+ # View your resumes
115
+ Show my resumes
116
+
117
+ # Get vacancy details
118
+ Show details for vacancy 126209046
119
+
120
+ # Apply to a job (after OAuth)
121
+ Apply to vacancy 126209046 with resume [resume_id] and cover letter: "Hello..."
122
+ ```
123
+
124
+ ### Vacancy Hunter Agent
125
+
126
+ Automated agent for intelligent vacancy search and analysis. See [docs/vacancy-hunter-agent.md](docs/vacancy-hunter-agent.md) for details.
127
+
128
+ **Features:**
129
+ - Analyzes multiple resumes simultaneously
130
+ - Scores vacancies by relevance (0-30 points)
131
+ - Generates CSV reports with AI-powered recommendations
132
+ - Focuses on Moscow region only
133
+
134
+ **Usage:**
135
+ ```bash
136
+ Run vacancy-hunter agent
137
+ ```
138
+
139
+ ### Project Structure
140
+
141
+ ```
142
+ headhunter-mcp-server/
143
+ ├── server.py # MCP server (10 tools)
144
+ ├── hh_client.py # HeadHunter API client
145
+ ├── requirements.txt # Python dependencies
146
+ ├── .env.example # Environment variables template
147
+ ├── examples/
148
+ │ └── oauth_flow.py # OAuth authorization script
149
+ └── docs/
150
+ └── vacancy-hunter-agent.md # Agent documentation
151
+ ```
152
+
153
+ ### Requirements
154
+
155
+ - Python 3.10+
156
+ - Claude Code or any MCP-compatible client
157
+ - HeadHunter API credentials
158
+
159
+ ### Contributing
160
+
161
+ Contributions are welcome! Please feel free to submit a Pull Request.
162
+
163
+ ### License
164
+
165
+ MIT License - see [LICENSE](LICENSE) file for details.
166
+
167
+ ### Links
168
+
169
+ - [HeadHunter API Documentation](https://dev.hh.ru/)
170
+ - [Model Context Protocol](https://modelcontextprotocol.io/)
171
+ - [Claude Code Documentation](https://docs.claude.com/en/docs/claude-code)
172
+
173
+ ---
174
+
175
+ ## Russian
176
+
177
+ **MCP сервер для интеграции HeadHunter API с Claude Code и другими MCP клиентами.**
178
+
179
+ HeadHunter (hh.ru) — крупнейшая платформа по поиску работы в России и странах СНГ. Этот MCP сервер обеспечивает бесшовную интеграцию с API HeadHunter, позволяя AI ассистентам искать вакансии, управлять резюме и откликаться на вакансии от вашего имени.
180
+
181
+ ### Возможности
182
+
183
+ - 🔍 **Расширенный поиск вакансий** - Фильтрация по местоположению, зарплате, опыту, типу занятости
184
+ - 📄 **Управление резюме** - Просмотр и управление вашими резюме на HeadHunter
185
+ - ✉️ **Отклики на вакансии** - Подача заявок с персонализированными сопроводительными письмами
186
+ - 🏢 **Информация о компаниях** - Получение детальных данных о работодателях
187
+ - 📊 **Отслеживание откликов** - Мониторинг истории ваших откликов
188
+ - 🤖 **AI-агент** - Автоматизированный поиск вакансий с умным сопоставлением
189
+ - 🔐 **OAuth 2.0** - Безопасная авторизация через HeadHunter
190
+
191
+ ### Доступные инструменты (10)
192
+
193
+ 1. **hh_search_vacancies** - Поиск вакансий
194
+ 2. **hh_get_vacancy** - Детальная информация о вакансии
195
+ 3. **hh_get_employer** - Информация о компании/работодателе
196
+ 4. **hh_get_similar** - Поиск похожих вакансий
197
+ 5. **hh_get_areas** - Список регионов/городов
198
+ 6. **hh_get_dictionaries** - Справочные данные (опыт, типы занятости и т.д.)
199
+ 7. **hh_get_resumes** - Список ваших резюме
200
+ 8. **hh_get_resume** - Детальная информация о резюме
201
+ 9. **hh_apply_to_vacancy** - Откликнуться на вакансию (требует OAuth)
202
+ 10. **hh_get_negotiations** - История откликов (требует OAuth)
203
+
204
+ ### Быстрый старт
205
+
206
+ #### 1. Установка
207
+
208
+ ```bash
209
+ git clone https://github.com/yourusername/headhunter-mcp-server.git
210
+ cd headhunter-mcp-server
211
+ python -m venv venv
212
+ source venv/bin/activate # В Windows: venv\Scripts\activate
213
+ pip install -r requirements.txt
214
+ ```
215
+
216
+ #### 2. Получение credentials HeadHunter API
217
+
218
+ 1. Зарегистрируйте приложение на [https://dev.hh.ru/admin](https://dev.hh.ru/admin)
219
+ 2. Получите Client ID, Client Secret и App Token
220
+ 3. Скопируйте `.env.example` в `.env` и заполните свои credentials
221
+
222
+ ```bash
223
+ cp .env.example .env
224
+ # Отредактируйте .env своими credentials
225
+ ```
226
+
227
+ #### 3. Настройка Claude Code
228
+
229
+ Добавьте в `~/.claude.json`:
230
+
231
+ ```json
232
+ {
233
+ "mcpServers": {
234
+ "headhunter": {
235
+ "type": "stdio",
236
+ "command": "/путь/к/venv/bin/python",
237
+ "args": ["/путь/к/headhunter-mcp-server/server.py"],
238
+ "env": {
239
+ "HH_CLIENT_ID": "ваш_client_id",
240
+ "HH_CLIENT_SECRET": "ваш_client_secret",
241
+ "HH_APP_TOKEN": "ваш_app_token",
242
+ "HH_REDIRECT_URI": "https://ваш-домен.com/oauth/callback"
243
+ }
244
+ }
245
+ }
246
+ }
247
+ ```
248
+
249
+ #### 4. OAuth авторизация (опционально)
250
+
251
+ Для откликов на вакансии и управления резюме:
252
+
253
+ ```bash
254
+ python examples/oauth_flow.py
255
+ ```
256
+
257
+ Следуйте инструкциям для авторизации и получения токенов доступа.
258
+
259
+ ### Примеры использования
260
+
261
+ ```bash
262
+ # Поиск Python вакансий в Москве
263
+ Найди 10 вакансий Python разработчика в Москве с зарплатой от 200000
264
+
265
+ # Просмотр резюме
266
+ Покажи мои резюме
267
+
268
+ # Детали вакансии
269
+ Покажи детали вакансии 126209046
270
+
271
+ # Отклик на вакансию (после OAuth)
272
+ Откликнись на вакансию 126209046 резюме [resume_id] с письмом: "Здравствуйте..."
273
+ ```
274
+
275
+ ### Vacancy Hunter Agent
276
+
277
+ Автоматизированный агент для умного поиска и анализа вакансий. Подробности в [docs/vacancy-hunter-agent.md](docs/vacancy-hunter-agent.md).
278
+
279
+ **Возможности:**
280
+ - Анализирует несколько резюме одновременно
281
+ - Оценивает релевантность вакансий (0-30 баллов)
282
+ - Генерирует CSV отчёты с AI рекомендациями
283
+ - Фокусируется только на регионе Москва
284
+
285
+ **Использование:**
286
+ ```bash
287
+ Запусти агента vacancy-hunter
288
+ ```
289
+
290
+ ### Структура проекта
291
+
292
+ ```
293
+ headhunter-mcp-server/
294
+ ├── server.py # MCP сервер (10 инструментов)
295
+ ├── hh_client.py # HeadHunter API клиент
296
+ ├── requirements.txt # Python зависимости
297
+ ├── .env.example # Шаблон переменных окружения
298
+ ├── examples/
299
+ │ └── oauth_flow.py # Скрипт OAuth авторизации
300
+ └── docs/
301
+ └── vacancy-hunter-agent.md # Документация агента
302
+ ```
303
+
304
+ ### Требования
305
+
306
+ - Python 3.10+
307
+ - Claude Code или любой MCP-совместимый клиент
308
+ - HeadHunter API credentials
309
+
310
+ ### Участие в разработке
311
+
312
+ Приветствуются любые вклады! Не стесняйтесь отправлять Pull Request.
313
+
314
+ ### Лицензия
315
+
316
+ MIT License - подробности в файле [LICENSE](LICENSE).
317
+
318
+ ### Ссылки
319
+
320
+ - [Документация HeadHunter API](https://dev.hh.ru/)
321
+ - [Model Context Protocol](https://modelcontextprotocol.io/)
322
+ - [Документация Claude Code](https://docs.claude.com/en/docs/claude-code)
323
+
324
+ ---
325
+
326
+ **Made with ❤️ for the HeadHunter and MCP community**