Tarkov MCP Server

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.

Category
访问服务器

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 Tarkov
  • items - Returns comprehensive item data including stats, prices, and properties
  • ammo - Returns detailed ammunition information including ballistics
  • armor-materials - Returns armor material properties and durability data

Trading & Economy

  • barter - Returns all barter trades available from traders
  • traders - Returns trader information, levels, and offers
  • flea-market - Returns flea market configuration and fees

Crafting & Hideout

  • crafts - Returns all crafting recipes and requirements
  • hideout-stations - Returns hideout station information and upgrades

Quests & Progression

  • tasks - Returns all quests/tasks with objectives and rewards
  • quest-items - Returns special quest-only items
  • skills - Returns player skills information
  • player-levels - Returns player level progression data
  • mastering - Returns weapon mastering requirements

Maps & Locations

  • maps - Returns detailed map information including extracts, spawns, and loot
  • bosses - Returns boss information including health, equipment, and drops
  • loot-containers - Returns loot container locations and spawn chances
  • stationary-weapons - Returns stationary weapon information

System Information

  • server-status - Returns current Tarkov server status and messages

Installation

  1. Clone this repository
  2. Install dependencies:
    npm install
    
  3. 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

  1. Create a new directory under src/tools/items/
  2. Implement loader.js with GraphQL query
  3. Implement index.js with tool definition
  4. Add to src/tools/items/index.js exports

Code Style

The project uses:

  • ESLint for code linting
  • Prettier for code formatting

Run formatting and linting:

npm run format
npm run lint

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting
  5. 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:

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选