Tarkov MCP Server
Provides comprehensive access to Escape From Tarkov game data including items, traders, maps, quests, crafting recipes, and economy information through the tarkov.dev GraphQL API.
README
Tarkov MCP Server
A Model Context Protocol (MCP) server that provides comprehensive access to Escape From Tarkov game data through the tarkov.dev GraphQL API.
Overview
This MCP server allows AI assistants to access detailed information about Escape From Tarkov, including items, traders, maps, quests, crafting recipes, and much more. It's designed to be a comprehensive resource for players, developers, and AI applications that need Tarkov game data.
Features
Available Tools
The server provides 19 different tools to access various aspects of Tarkov data:
Core Game Data
achievement- Returns all achievements from Escape From Tarkovitems- Returns comprehensive item data including stats, prices, and propertiesammo- Returns detailed ammunition information including ballisticsarmor-materials- Returns armor material properties and durability data
Trading & Economy
barter- Returns all barter trades available from traderstraders- Returns trader information, levels, and offersflea-market- Returns flea market configuration and fees
Crafting & Hideout
crafts- Returns all crafting recipes and requirementshideout-stations- Returns hideout station information and upgrades
Quests & Progression
tasks- Returns all quests/tasks with objectives and rewardsquest-items- Returns special quest-only itemsskills- Returns player skills informationplayer-levels- Returns player level progression datamastering- Returns weapon mastering requirements
Maps & Locations
maps- Returns detailed map information including extracts, spawns, and lootbosses- Returns boss information including health, equipment, and dropsloot-containers- Returns loot container locations and spawn chancesstationary-weapons- Returns stationary weapon information
System Information
server-status- Returns current Tarkov server status and messages
Installation
- Clone this repository
- Install dependencies:
npm install - Configure environment variables (optional):
TARKOV_API_ENDPOINT=https://api.tarkov.dev/graphql TARKOV_LANG=en
Usage
Running the Server
npm start
The server will start and listen for MCP connections.
Configuration
The server can be configured through environment variables:
TARKOV_API_ENDPOINT- GraphQL API endpoint (default: https://api.tarkov.dev/graphql)TARKOV_LANG- Language code for localized content (default: en)
Tool Details
achievement
Returns achievement data including:
- Achievement name and description
- Completion percentages
- Rarity information
- Side requirements (PMC/SCAV)
items
Returns comprehensive item data including:
- Basic properties (name, description, size, weight)
- Market prices and trends
- Item properties specific to type (weapons, armor, consumables, etc.)
- Trading information (barters, cash offers)
- Quest usage
- Crafting recipes
ammo
Returns ammunition data including:
- Ballistic properties (damage, penetration, accuracy)
- Armor damage and fragmentation
- Recoil and velocity modifiers
- Tracer information
barter
Returns barter trade information including:
- Required items and quantities
- Reward items and quantities
- Trader and level requirements
- Task unlock requirements
traders
Returns trader information including:
- Trader levels and requirements
- Available barters and cash offers
- Reputation levels and bonuses
- Insurance and repair rates
tasks
Returns quest/task data including:
- Objectives and requirements
- Rewards (items, experience, trader standing)
- Prerequisites and unlock conditions
- Map-specific information
maps
Returns detailed map information including:
- Spawn points and extracts
- Loot container and loose loot locations
- Boss spawn information
- Hazards and special zones
- Key requirements
crafts
Returns crafting recipe data including:
- Required materials and quantities
- Produced items
- Crafting station and level requirements
- Crafting duration
hideout-stations
Returns hideout station information including:
- Upgrade requirements (items, skills, trader levels)
- Station bonuses and effects
- Crafting capabilities
- Construction time and costs
API Reference
All tools return data in JSON format directly from the tarkov.dev GraphQL API. The data structure follows the GraphQL schema definitions.
Error Handling
The server handles various error conditions:
- Network connectivity issues
- API rate limiting
- Invalid GraphQL queries
- Missing or malformed data
Development
Project Structure
src/
├── config/ # Configuration management
├── logger/ # Logging utilities
├── tools/ # MCP tool implementations
│ └── items/ # Individual tool modules
│ ├── achievements/
│ ├── ammo/
│ ├── barter/
│ └── ...
└── server.js # Main MCP server
Adding New Tools
- Create a new directory under
src/tools/items/ - Implement
loader.jswith GraphQL query - Implement
index.jswith tool definition - Add to
src/tools/items/index.jsexports
Code Style
The project uses:
- ESLint for code linting
- Prettier for code formatting
Run formatting and linting:
npm run format
npm run lint
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and linting
- Submit a pull request
License
MIT License - see LICENSE file for details.
Acknowledgments
- tarkov.dev for providing the comprehensive Tarkov API
- Model Context Protocol for the MCP specification
- The Escape From Tarkov community for data validation and feedback
Support
For issues and questions:
- Check the tarkov.dev API documentation
- Open an issue on this repository
- Join the community discussions
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。