CV Forge

io.github.thechandanbhagat由 GitHub 账号 thechandanbhagat 发布v1.0.1更新于 Oct 24, 2026

Forge powerful, ATS-friendly CVs tailored to any job - an MCP server for intelligent CV generation

已验证STDIO仅桌面效率与工作流文件与存储

概览

AI 生成的概览

根据职位描述和用户资料生成针对性的、对 ATS 友好的简历、求职信和申请邮件模板,并可保存为 PDF、HTML、Markdown 或文本。

可以做什么
CV Forge 会解析职位描述,提取技能、资历、联系邮箱和招聘经理姓名,并据此调整简历内容。它还能生成求职信和申请邮件模板,并可通过一次调用产出完整的申请材料包。输出会写入你指定的目录,默认生成 PDF,也支持 HTML、Markdown 和文本格式。
适用场景
适合在投递职位时使用,让每份简历和求职信都针对具体职位调整,而无需手动重写。适合已经整理好经历、教育和技能等结构化资料的用户。
运行要求
需要本地 Node.js 运行环境;通过 npm 安装 cv-forge 包,并在 Claude Desktop 配置文件中配置。仅支持桌面端,无远程端点。可选环境变量如 DEFAULT_OUTPUT_PATH、TEMP_DIR 以及 PDF_* 样式选项用于控制输出位置和排版。未声明需要账号或 API 密钥。
安装前请注意
它会向你指定的输出目录写入文件,请指向你打算使用的文件夹。你的个人资料(含联系方式)和职位描述文本会传给该服务器并写入生成的文档,发送前请先检查文件。可选环境变量如 DEFAULT_OUTPUT_PATH 和 TEMP_DIR 决定文件写入位置。

安装

在 SourceWeft 中

  1. 打开 控制台中的 CV Forge,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

CV Forge

Forge powerful, ATS-friendly CVs tailored to any job requirement.

An intelligent MCP (Model Context Protocol) server that analyzes job postings and crafts perfectly-matched CVs.

Features

  • Parse Job Requirements: Extract key skills, qualifications, email addresses, and hiring manager names from job postings
  • Generate Tailored CVs: Create customized CV content based on user profile and job requirements
  • Cover Letter Generation: Generate personalized cover letters tailored to specific job applications
  • Email Template Creation: Create professional email templates with automatic email address detection
  • Complete Application Packages: Generate CV, cover letter, and email template in one command
  • PDF by Default: Automatically generates professional PDF documents when no format is specified
  • Multiple Output Formats: Generate documents in PDF (default), HTML, Markdown, and text formats
  • Professional PDF Generation: Create publication-ready PDF documents with professional styling
  • ATS-Friendly: Optimized for Applicant Tracking Systems with proper keyword placement
  • Smart Contact Extraction: Automatically extracts email addresses and hiring manager names from job descriptions

Star History

[Star History Chart]

Installation

Via npm (Recommended)

Install globally:

bash
npm install -g cv-forge

Or install locally in your project:

bash
npm install cv-forge

From Source

  1. Clone this repository
  2. Install dependencies:
    bash
    npm install
  3. Build the project:
    bash
    npm run build

Usage

Connecting to Claude Desktop

To use this MCP server with Claude Desktop, you need to add it to your Claude configuration file.

Step 1: Install cv-forge

bash
npm install -g cv-forge

Step 2: Find your Claude Desktop config file

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Step 3: Add the MCP server to your config

For global installation, add this to your claude_desktop_config.json file:

json
{  "mcpServers": {    "cv-forge": {      "command": "cv-forge"    }  }}

Or if installed locally, specify the full path:

json
{  "mcpServers": {    "cv-forge": {      "command": "node",      "args": ["d:/TopSecret/cv-forge/build/index.js"],      "cwd": "d:/TopSecret/cv-forge"    }  }}

Step 4: (Optional) Add environment configuration

You can customize the server with environment variables:

json
{  "mcpServers": {    "cv-forge": {      "command": "cv-forge",      "env": {        "DEFAULT_OUTPUT_PATH": "D:/CV",        "PDF_BASE_FONT_SIZE": "12px",        "PDF_LINE_HEIGHT": "1.4"      }    }  }}

Step 5: Restart Claude Desktop After adding the configuration, restart Claude Desktop application.

Step 6: Verify Connection In Claude Desktop, you should see the CV Forge tools available. You can ask Claude to use tools like:

  • "Parse this job posting for me"
  • "Generate a tailored CV based on my profile and this job"
  • "Save my CV as a PDF file"

Running the MCP Server Standalone (for testing)

You can also run the server directly for testing:

bash
npm start

The server runs on stdio and communicates via the Model Context Protocol.

Available Tools

1. parse_job_requirements

Parses job requirements and extracts key information for CV tailoring.

Parameters:

  • jobTitle (string, required): The job title/position
  • company (string, required): Company name
  • jobDescription (string, required): Full job description text
  • requirements (array, optional): Specific requirements if separated
  • preferredSkills (array, optional): Preferred skills if separated
  • location (string, optional): Job location
  • salaryRange (string, optional): Salary range if provided
2. generate_cv_data

Generates tailored CV content based on user profile and job requirements.

Parameters:

  • userProfile (object, required): Complete user profile information
  • jobRequirements (object, required): Job requirements object

User Profile Structure:

json
{  "personalInfo": {    "fullName": "John Doe",    "email": "[email protected]",    "phone": "+1-555-0123",    "location": "City, State",    "linkedIn": "linkedin.com/in/johndoe",    "github": "github.com/johndoe",    "website": "johndoe.com"  },  "summary": "Professional summary text...",  "experience": [    {      "jobTitle": "Software Engineer",      "company": "Tech Corp",      "location": "City, State",      "startDate": "2020-01",      "endDate": "2023-12",      "description": "Job description...",      "achievements": [        "Achievement 1",        "Achievement 2"      ]    }  ],  "education": [    {      "degree": "Bachelor of Science in Computer Science",      "institution": "University Name",      "location": "City, State",      "graduationYear": "2020",      "gpa": "3.8",      "honors": ["Magna Cum Laude"]    }  ],  "skills": {    "technical": ["JavaScript", "Python", "React"],    "soft": ["Leadership", "Communication"],    "languages": ["English", "Spanish"],    "certifications": ["AWS Certified"]  },  "projects": [    {      "name": "Project Name",      "description": "Project description...",      "technologies": ["React", "Node.js"],      "url": "github.com/johndoe/project"    }  ]}
3. save_cv_text

Saves CV content as a formatted text file.

Parameters:

  • cvData (object, required): Tailored CV data object (from generate_cv_data)
  • outputPath (string, required): Directory path where the CV should be saved
  • fileName (string, optional): Custom filename (without extension), defaults to "generated_cv"
4. generate_cv (Recommended - Main CV Generation Tool)

Generate tailored CV and save to specified location or default folder. Defaults to PDF format if no format is specified.

Parameters:

  • userProfile (object, required): Complete user profile information
  • jobRequirements (object, required): Job requirements object
  • outputPath (string, optional): Directory path where the CV should be saved (uses DEFAULT_OUTPUT_PATH if not provided)
  • fileName (string, optional): Custom filename (without extension), defaults to "professional_cv"
  • format (string, optional): Output format - "pdf" (default), "html", or "markdown"
  • pageSize (string, optional): PDF page size (e.g., 'A4', 'Letter', 'Legal') - uses PDF_PAGE_SIZE env var if not provided
  • margins (object, optional): PDF margins with top, right, bottom, left properties (e.g., '10mm', '0.8in') - uses PDF_MARGIN_* env vars if not provided
5. generate_and_save_cv_pdf (Legacy - Use generate_cv instead)

Generate tailored CV and save directly as professional PDF (combines CV generation and PDF creation in one step).

Parameters:

  • userProfile (object, required): Complete user profile information
  • jobRequirements (object, required): Job requirements object
  • outputPath (string, optional): Directory path where the CV should be saved (uses DEFAULT_OUTPUT_PATH if not provided)
  • fileName (string, optional): Custom filename (without extension), defaults to "professional_cv"
6. generate_and_save_cv_markdown (Recommended)

Generate tailored CV and save directly as Markdown (combines CV generation and Markdown creation in one step).

Parameters:

  • userProfile (object, required): Complete user profile information
  • jobRequirements (object, required): Job requirements object
  • outputPath (string, required): Directory path where the CV should be saved
  • fileName (string, optional): Custom filename (without extension), defaults to "cv_markdown"
7. generate_and_save_cv_html (Recommended)

Generate tailored CV and save directly as HTML (combines CV generation and HTML creation in one step).

Parameters:

  • userProfile (object, required): Complete user profile information
  • jobRequirements (object, required): Job requirements object
  • outputPath (string, required): Directory path where the CV should be saved
  • fileName (string, optional): Custom filename (without extension), defaults to "cv_html"
8. generate_cv_pdf (Advanced)

Generate and save CV as a professional PDF document from pre-generated CV data.

Parameters:

  • cvData (object, required): Tailored CV data object (from generate_cv_data)
  • outputPath (string, required): Directory path where the CV should be saved
  • fileName (string, optional): Custom filename (without extension), defaults to "professional_cv"
9. generate_cv_markdown (Advanced)

Generate CV as Markdown format from pre-generated CV data.

Parameters:

  • cvData (object, required): Tailored CV data object (from generate_cv_data)
  • outputPath (string, required): Directory path where the CV should be saved
  • fileName (string, optional): Custom filename (without extension), defaults to "cv_markdown"
10. generate_cv_html (Advanced)

Generate CV as styled HTML document from pre-generated CV data.

Parameters:

  • cvData (object, required): Tailored CV data object (from generate_cv_data)
  • outputPath (string, required): Directory path where the CV should be saved
  • fileName (string, optional): Custom filename (without extension), defaults to "cv_web"

Cover Letter and Email Template Tools

11. generate_cover_letter (Recommended)

Generate a tailored cover letter for a specific job application. Returns formatted text that can be displayed on screen or saved as PDF.

Parameters:

  • userProfile (object, required): Complete user profile information
  • jobRequirements (object, required): Job requirements object
  • hiringManagerName (string, optional): Name of the hiring manager if known
  • format (string, optional): Output format - "text" (default) for on-screen display, "html" for styled viewing
12. save_cover_letter_pdf

Generate and save a cover letter as PDF to specified location. Automatically extracts email addresses and hiring manager names from job descriptions.

Parameters:

  • userProfile (object, required): Complete user profile information
  • jobRequirements (object, required): Job requirements object
  • outputPath (string, optional): Directory path where the cover letter should be saved
  • fileName (string, optional): Custom filename (without extension), defaults to "cover_letter"
  • hiringManagerName (string, optional): Name of the hiring manager if known
  • pageSize (string, optional): PDF page size (e.g., 'A4', 'Letter', 'Legal')
  • margins (object, optional): PDF margins with top, right, bottom, left properties
13. generate_email_template

Generate a professional email template for job application. Automatically detects email addresses from job description.

Parameters:

  • userProfile (object, required): Complete user profile information
  • jobRequirements (object, required): Job requirements object
  • templateType (string, optional): Type of email template - "application" (default), "follow_up", "inquiry", "thank_you"
  • recipientEmail (string, optional): Recipient email address (optional, will use extracted email from job description if available)
  • hiringManagerName (string, optional): Name of the hiring manager if known
14. draft_complete_application (Recommended - One-Stop Solution)

Draft a complete job application package: CV, cover letter, and email template. Automatically generates PDF CV and cover letter, plus email template if email address is found in the job description.

Parameters:

  • userProfile (object, required): Complete user profile information
  • jobRequirements (object, required): Job requirements object
  • outputPath (string, optional): Directory path where files should be saved
  • baseFileName (string, optional): Base filename for generated files (without extension), defaults to "job_application"
  • hiringManagerName (string, optional): Name of the hiring manager if known

Configuration

Environment Variables

The MCP server supports various configuration options via environment variables in the Claude Desktop config:

json
{  "mcpServers": {    "cv-forge": {      "command": "node",      "args": ["path/to/cv-forge/build/index.js"],      "cwd": "path/to/cv-forge",      "env": {        "DEFAULT_OUTPUT_PATH": "D:/CV",        "TEMP_DIR": "C:/Users/YourName/AppData/Local/Temp/cv-maker",        "PDF_TIMEOUT": "300000",        "PDF_PAGE_SIZE": "A4",        "PDF_MARGIN_TOP": "10mm",        "PDF_MARGIN_RIGHT": "10mm",        "PDF_MARGIN_BOTTOM": "10mm",        "PDF_MARGIN_LEFT": "10mm",        "PDF_BASE_FONT_SIZE": "12px",        "PDF_LINE_HEIGHT": "1.4",        "PDF_H1_FONT_SIZE": "20px",        "PDF_H2_FONT_SIZE": "15px",        "PDF_H3_FONT_SIZE": "13px",        "PDF_PARAGRAPH_SPACING": "8px",        "PDF_SECTION_SPACING": "12px"      }    }  }}

Configuration Options:

  • DEFAULT_OUTPUT_PATH: Default directory for saving CV files (when outputPath is not provided or is "./")
  • TEMP_DIR: Directory for temporary files during PDF generation
  • PDF_TIMEOUT: Timeout for PDF generation in milliseconds
  • PDF_PAGE_SIZE: Default PDF page size - defaults to 'A4'
    • Common sizes: 'A4' (210×297mm), 'Letter' (8.5×11in), 'Legal' (8.5×14in)
  • PDF_MARGIN_*: PDF page margins (top, right, bottom, left) - defaults to '10mm'
  • PDF_BASE_FONT_SIZE: Base font size for CV body text (12px ≈ MS Word 9pt, 13px ≈ 10pt)
  • PDF_LINE_HEIGHT: Line height for text (1.4 recommended for compact layout)
  • PDF_H1_FONT_SIZE: Font size for name/title heading
  • PDF_H2_FONT_SIZE: Font size for section headings
  • PDF_H3_FONT_SIZE: Font size for job titles and subsections
  • PDF_PARAGRAPH_SPACING: Spacing between paragraphs
  • PDF_SECTION_SPACING: Spacing between major sections

Example Usage with Claude Desktop

Once connected to Claude Desktop, you can use natural language to interact with the CV maker:

1. Parse Job Requirements

"Can you parse this job posting for me:
Job Title: Senior Software EngineerCompany: TechCorp IncDescription: We are looking for a Senior Software Engineer with 5+ years of experience in JavaScript, React, and Node.js. Must have experience with cloud platforms and agile methodologies. Strong communication skills required."

2. Generate Tailored CV (Simple One-Step Process - PDF by Default)

"Generate a tailored CV for me based on this job posting:
Job Title: Senior Software EngineerCompany: TechCorp IncJob Description: We are looking for a Senior Software Engineer with 5+ years of experience in JavaScript, React, and Node.js. Must have experience with cloud platforms and agile methodologies.
My Profile:- Full Name: John Doe- Email: [email protected]- Phone: +1-555-0123- Experience: 6 years as Software Engineer at various companies- Skills: JavaScript, Python, React, Node.js, AWS, Docker- Education: BS Computer Science from State University
Please save it to C:\Users\John\Documents\CVs with filename 'john_doe_senior_engineer_techcorp'"

Note: This will automatically generate a PDF file (default format) unless you specify a different format.

3. Generate Different Formats

"Can you generate my CV in multiple formats? I need:1. A professional PDF for applications (default format)2. A Markdown version for my GitHub  3. An HTML version for my website
Save them all to C:\Users\John\Documents\CVs with the base filename 'john_doe_cv'"

Or specify format explicitly:

"Generate my CV in HTML format and save it to C:\Users\John\Documents\CVs"

Or specify custom page size and margins for PDF:

"Generate my CV as a PDF with Letter page size and 1 inch margins on all sides, save it to C:\Users\John\Documents\CVs"

3. Generate Cover Letters

"Generate a cover letter for the Senior Software Engineer position at TechCorp Inc. The job description mentions the hiring manager is Sarah Johnson and applications should be sent to [email protected]."

4. Generate Email Templates

"Create an email template for applying to the Senior Software Engineer position at TechCorp Inc. The job posting includes the email [email protected] and mentions Sarah Johnson as the hiring manager."

5. Draft Complete Application Package (Recommended)

"Draft a complete job application package for the Senior Software Engineer position at TechCorp Inc. Include CV, cover letter, and email template. Save everything to C:\Users\John\Documents\Applications with the base filename 'techcorp_application'."

This will generate:

  • techcorp_application_CV.pdf - Tailored CV
  • techcorp_application_Cover_Letter.pdf - Professional cover letter
  • techcorp_application_Email_Template.txt - Email template (if email address found in job description)

6. Generate Follow-up Email Template

"Generate a follow-up email template for the Senior Software Engineer position I applied to at TechCorp Inc last week."

7. Direct Tool Usage Examples

If you want to use the tools directly (advanced usage):

  1. Parse a job posting:

    json
    {  "tool": "parse_job_requirements",  "args": {    "jobTitle": "Senior Software Engineer",    "company": "TechCorp Inc",    "jobDescription": "We are looking for a Senior Software Engineer with 5+ years of experience in JavaScript, React, and Node.js. Must have experience with cloud platforms and agile methodologies."  }}
  2. Generate tailored CV:

    json
    {  "tool": "generate_cv_data",   "args": {    "userProfile": { /* user profile object */ },    "jobRequirements": { /* job requirements object */ }  }}
  3. Generate PDF CV:

    json
    {  "tool": "generate_cv_pdf",  "args": {    "cvData": { /* tailored CV data */ },    "outputPath": "C:\\Users\\YourName\\Documents\\CVs",    "fileName": "senior_engineer_techcorp_cv"  }}
  4. Generate Markdown CV:

    json
    {  "tool": "generate_cv_markdown",  "args": {    "cvData": { /* tailored CV data */ },    "outputPath": "C:\\Users\\YourName\\Documents\\CVs",    "fileName": "cv_for_github"  }}
  5. Generate HTML CV:

    json
    {  "tool": "generate_cv_html",  "args": {    "cvData": { /* tailored CV data */ },    "outputPath": "C:\\Users\\YourName\\Documents\\CVs",    "fileName": "web_resume"  }}
  6. Save CV as text file:

    json
    {  "tool": "save_cv_text",  "args": {    "cvData": { /* tailored CV data */ },    "outputPath": "C:\\Users\\YourName\\Documents\\CVs",    "fileName": "senior_engineer_techcorp_cv"  }}

How It Works

  1. Job Analysis: The server parses job descriptions to extract:

    • Required technical skills
    • Preferred qualifications
    • Company industry and size
    • Experience level requirements
  2. CV Tailoring: Based on the analysis, it:

    • Prioritizes relevant skills and experience
    • Adjusts the professional summary
    • Reorders and emphasizes matching achievements
    • Incorporates job-specific keywords for ATS optimization
  3. Output Generation: Creates a well-formatted text CV that:

    • Uses ATS-friendly formatting
    • Includes relevant keywords
    • Maintains professional structure
    • Highlights the most relevant qualifications

File Structure

cv-forge/├── src/│   ├── index.ts                    # Main MCP server│   └── lib/│       ├── job-parser.ts           # Job requirement parsing logic│       ├── cv-generator.ts         # CV tailoring algorithms│       ├── document-generator.ts   # Multi-format document generation│       └── word-generator.ts       # Word document generation (future)├── build/                          # Compiled JavaScript files├── package.json                    # Project configuration├── tsconfig.json                   # TypeScript configuration├── claude_desktop_config.example.json  # Example configuration└── README.md                       # This file

Development

Building

bash
npm run build

Starting Development Server

bash
npm run dev

Project Structure

  • src/index.ts: Main MCP server with tool registration
  • src/lib/job-parser.ts: Parses job requirements, extracts key information, emails, and hiring manager names
  • src/lib/cv-generator.ts: Generates tailored CV content based on job requirements
  • src/lib/cover-letter-generator.ts: Generates personalized cover letters for job applications
  • src/lib/email-template-generator.ts: Creates professional email templates for various application scenarios
  • src/lib/document-generator.ts: Multi-format document generation (PDF, HTML, Markdown)
  • src/lib/word-generator.ts: (Future) Word document generation functionality

Troubleshooting

PDF not saving to configured location

  • Ensure DEFAULT_OUTPUT_PATH is set in your Claude Desktop config
  • Restart Claude Desktop after changing configuration
  • Check that the path exists or the application has permission to create it

Font size too large or small

  • Adjust PDF_BASE_FONT_SIZE in environment variables (12px ≈ 9pt, 13px ≈ 10pt MS Word)
  • Modify PDF_LINE_HEIGHT for tighter/looser spacing
  • Restart Claude Desktop after changes

PDF generation fails

  • Check that output directory exists and is writable
  • Verify TEMP_DIR path is valid
  • Ensure sufficient disk space

Custom page size not working

  • Ensure page size is a valid format (A4, Letter, Legal, A3, A5, etc.)
  • Check that the page size is supported by the PDF generator
  • Use standard page size names (case-sensitive)

Custom margins not applied

  • Use proper units: 'mm', 'cm', 'in', 'px', 'pt'
  • Example: '10mm', '0.8in', '72pt'
  • Restart Claude Desktop after changing environment variables

Future Enhancements

  • Enhanced Word document generation with advanced formatting
  • Multiple CV and cover letter templates (modern, classic, minimal)
  • Advanced keyword optimization algorithms
  • Integration with job boards for automatic job parsing
  • LinkedIn profile integration for automatic profile data
  • Interview preparation questions based on job requirements
  • Salary negotiation guidance based on market data
  • Multi-language support for international applications
  • AI-powered writing suggestions and improvements

Dependencies

  • @modelcontextprotocol/sdk: Core MCP functionality
  • zod: Schema validation and type safety
  • typescript: TypeScript compiler
  • md-to-pdf: PDF generation from Markdown
  • markdown-it: Markdown parsing and HTML conversion
  • docx: Word document generation (for future Word output)

License

This project is available under the MIT License.

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues for bugs and feature requests.

来源:README.md,提交 a1cf021

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分