Skip to main content
Glama

3GPP MCP Server V3.0.0 - Direct Specification Access

Transform your AI assistant into a 3GPP specification expert with direct access to TSpec-LLM's 535M word dataset!

MCP Compatible Node.js Version License: BSD-3-Clause

What This Does

Before: Ask AI about 3GPP specifications - Get generic responses based on training data After: Ask AI + 3GPP MCP Server V3.0.0 - Get direct access to current specification content with structured, agent-ready responses

Related MCP server: IEEE 802.11 MCP Server

Revolutionary V3.0.0 Architecture

V3.0.0 represents the True MCP approach - lightweight API bridge providing direct specification data:

Agent Query → MCP Tools → External APIs → Real Specification Data

Key Benefits:

  • True MCP Architecture - Lightweight API bridge (~10MB vs 15GB+)

  • Sub-500ms responses - Intelligent caching with external API integration

  • Agent-optimized - Structured JSON responses for AI agent consumption

  • Real specification data - Direct access to TSpec-LLM's 535M word dataset

  • External API integration - Hugging Face + 3GPP.org APIs

  • Infinite scalability - Stateless API calls, no local storage limits

Quick Start (30 Seconds!)

Claude Desktop users:

claude mcp add 3gpp-server npx 3gpp-mcp-charging@latest serve

For other MCP clients: Add this to your MCP configuration:

{
  "mcpServers": {
    "3gpp-server": {
      "command": "npx",
      "args": ["3gpp-mcp-charging@latest", "serve"],
      "description": "3GPP MCP Server - Direct access to TSpec-LLM and 3GPP specifications",
      "env": {
        "HUGGINGFACE_TOKEN": "optional-for-enhanced-access"
      }
    }
  }
}

Alternative: Auto-Configuration

# One-command installation with auto-configuration
npx 3gpp-mcp-charging@latest init

# Client-specific installation
npx 3gpp-mcp-charging@latest init --client claude
npx 3gpp-mcp-charging@latest init --client vscode
npx 3gpp-mcp-charging@latest init --client cursor

Test It Works

Ask your AI assistant: "Search for 5G CHF implementation requirements in TS 32.290"

You should get structured specification content with implementation guidance, dependencies, and testing considerations!

Available Tools (V3.0.0)

Tool

Purpose

Input

Output

search_specifications

Direct TSpec-LLM search

Query + filters

Structured spec results + relevance scores

get_specification_details

Comprehensive spec details

Specification ID

Full metadata + implementation guidance

compare_specifications

Multi-spec comparison

Array of spec IDs

Comparison matrix + migration analysis

find_implementation_requirements

Requirements extraction

Spec scope + focus

Technical requirements + testing guidance

Example Queries

Direct Specification Search:

"Find charging procedures in 5G service-based architecture"
→ Returns: TS 32.290 excerpts, CHF implementation details, Nchf interface specifications

Implementation Requirements:

"Extract implementation requirements for converged charging in Release 17"
→ Returns: Technical requirements, dependencies, testing considerations, compliance notes

Specification Comparison:

"Compare charging evolution from TS 32.240 to TS 32.290"
→ Returns: Evolution timeline, migration analysis, implementation impact assessment

What You Get

Direct Specification Content

  • Real-time access to TSpec-LLM's comprehensive 3GPP dataset

  • Structured content excerpts with relevance scoring

  • Official specification metadata integration

Agent-Ready Responses

  • JSON-formatted responses optimized for AI agent consumption

  • Consistent schema across all tool responses

  • Rich metadata embedded in all responses

Implementation Intelligence

  • Technical requirements extraction from specifications

  • Dependency analysis and implementation guidance

  • Testing considerations and compliance mapping

Performance Benefits

  • <500ms cached response times

  • <2s fresh API call responses

  • <10MB memory footprint (stateless design)

  • Unlimited concurrent users (external API scaling)

Architecture

Core Components

External API Integration Layer

  • TSpec-LLM Client: Direct integration with TSpec-LLM dataset via Hugging Face APIs

  • 3GPP API Client: Integration with official 3GPP.org APIs for metadata

  • API Manager: Unified orchestration layer for all external APIs

MCP Tool Layer

  • search_specifications.ts: Direct specification search implementation

  • get_specification_details.ts: Comprehensive specification details

  • compare_specifications.ts: Multi-specification comparison

  • find_implementation_requirements.ts: Requirements extraction

Caching & Performance

  • NodeCache: Intelligent API response caching

  • Rate Limiting: Respectful external API usage

  • Error Handling: Robust API integration with fallbacks

Project Structure

3gpp-mcp-server-v2/
├── src/                          # V3.0.0 source code
│   ├── api/                      # External API integration layer
│   │   ├── tspec-llm-client.ts   # TSpec-LLM Hugging Face client
│   │   ├── tgpp-api-client.ts    # 3GPP.org official API client
│   │   ├── api-manager.ts        # Unified API orchestration
│   │   └── index.ts              # API exports
│   ├── tools/                    # MCP tool implementations
│   │   ├── search-specifications.ts           # Direct specification search
│   │   ├── get-specification-details.ts       # Comprehensive spec details
│   │   ├── compare-specifications.ts          # Multi-spec comparison
│   │   ├── find-implementation-requirements.ts # Requirements extraction
│   │   └── index.ts              # Tool exports
│   ├── types/                    # TypeScript interfaces
│   └── index.ts                  # MCP server implementation
├── bin/                          # CLI installation tools
├── docs/                         # Documentation
├── tests/                        # Test suite
└── package.json                  # NPM package configuration

Requirements

  • Node.js 18+ - Download from nodejs.org

  • MCP-compatible AI assistant (Claude Desktop, VS Code, Cursor, or others)

  • Internet connection - For external API access

  • Optional: Hugging Face token - For enhanced API access

Installation Options

No local installation needed! Server runs directly from NPM.

Option 2: Development Setup

# Clone and setup for development
git clone <repository-url>
cd 3gpp-mcp-server/3gpp-mcp-server-v2
npm install
npm run build
npm run start

Option 3: Auto-Configuration

npx 3gpp-mcp-charging@latest init

Environment Variables

# Optional: Enhanced API access
export HUGGINGFACE_TOKEN="your-huggingface-token"

# Optional: Custom cache settings
export CACHE_TIMEOUT="3600"  # seconds
export ENABLE_CACHING="true"

Version Evolution

Version

Approach

Storage

Architecture

V1

Data Hosting

15GB+ local dataset

Heavy, non-MCP compliant

V2

Guidance Templates

<100MB knowledge base

Lightweight, guidance-only

V3.0.0

Direct Data Access

<10MB (stateless)

True MCP API bridge

Development

Available Scripts

npm run build      # Build TypeScript
npm run dev        # Development with watch
npm run start      # Run the server
npm run test       # Run tests
npm run lint       # Lint code
npm run clean      # Clean build artifacts

Adding New Tools

  1. Create tool class in src/tools/

  2. Define tool schema with input/output types

  3. Implement execute() method with API integration

  4. Export tool and register in src/index.ts

API Integration

  • Extend TSpecLLMClient for new TSpec-LLM capabilities

  • Extend TGPPApiClient for additional 3GPP.org endpoints

  • Add orchestration methods to APIManager

Contributing

Contributions welcome! Please focus on:

  • API integration improvements

  • Performance optimizations

  • New MCP tool implementations

  • Documentation enhancements

License

BSD-3-Clause License - see LICENSE file for details.

Acknowledgments

Research Foundation

This project's V3.0.0 architecture was fundamentally inspired by the TSpec-LLM research:

TSpec-LLM: A Large Language Model for 3GPP Specifications

Originally planned as a document reference MCP, discovery of the TSpec-LLM research paper fundamentally changed our approach. The paper's demonstration of significant accuracy improvements (25+ percentage points) through direct LLM access to 3GPP specifications convinced us to pivot from document hosting to external API integration with their comprehensive 535M word dataset.

Technical Foundation


V3.0.0: True MCP architecture providing direct specification access through external API integration.

Available Tools

4 tools
compare_specificationsC

Compare multiple 3GPP specifications across various criteria including architecture, procedures, evolution, and implementation differences.

ParametersJSON Schema
NameRequiredDescriptionDefault
specification_idsYesArray of specification IDs to compare (e.g., ["TS 32.251", "TS 32.290"])
comparison_criteriaNoSpecific criteria to compare (e.g., ["architecture", "procedures", "interfaces", "evolution"])
include_evolution_analysisNoInclude analysis of specification evolution across releases (default: true)
formatNoResponse format - agent_ready provides structured JSON for AI agentsagent_ready

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions comparing specifications across criteria and includes evolution analysis, but it doesn't disclose key behavioral traits such as whether this is a read-only operation, potential rate limits, authentication needs, response time, or what happens if invalid IDs are provided. For a tool with 4 parameters and no annotations, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose ('Compare multiple 3GPP specifications') and lists key criteria. It avoids redundancy and waste, making it appropriately sized for the tool's complexity. However, it could be slightly more structured by separating usage hints or behavioral details, but it's concise and clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters, no annotations, no output schema), the description is incomplete. It covers the basic purpose but lacks behavioral context (e.g., safety, performance), usage guidelines, and details on output format or error handling. Without annotations or an output schema, the description should do more to compensate, but it falls short, leaving gaps for an AI agent to operate effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds minimal meaning beyond the input schema, which has 100% coverage. It lists example criteria (architecture, procedures, evolution, implementation differences), which loosely maps to the 'comparison_criteria' parameter but doesn't provide additional syntax, constraints, or context beyond what's in the schema descriptions. With high schema coverage, the baseline is 3, and the description doesn't significantly compensate or add value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: comparing 3GPP specifications across specific criteria like architecture, procedures, evolution, and implementation differences. It uses the verb 'compare' with the resource '3GPP specifications' and lists example criteria, making the function specific. However, it doesn't explicitly distinguish this tool from sibling tools like 'search_specifications' or 'get_specification_details', which might also involve specification analysis, so it misses full differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It lists criteria for comparison but doesn't mention sibling tools (e.g., 'find_implementation_requirements' or 'get_specification_details') or specify contexts where this comparison is preferred over other operations. There's an implied usage based on the criteria, but no explicit when/when-not instructions or alternatives are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

find_implementation_requirementsC

Extract detailed implementation requirements for specific 3GPP features, including mandatory/optional requirements, dependencies, and implementation guidance.

ParametersJSON Schema
NameRequiredDescriptionDefault
featureYesThe feature or functionality to analyze (e.g., "CHF implementation", "5G handover", "SUCI privacy protection")
domainNoSpecific domain context (e.g., "charging", "security", "mobility", "radio")
complexity_levelNoImplementation complexity level (default: intermediate)intermediate
include_dependenciesNoInclude dependency analysis and prerequisite requirements (default: true)
include_testing_guidanceNoInclude testing and validation guidance (default: true)
formatNoResponse format - agent_ready provides structured JSON for AI agentsagent_ready

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions what the tool extracts (requirements, dependencies, guidance) but lacks critical behavioral details: it doesn't specify if this is a read-only operation, what data sources it queries, potential rate limits, authentication needs, or error handling. For a tool with 6 parameters and no annotations, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose ('Extract detailed implementation requirements...') and lists key components. There's no wasted text, but it could be slightly more structured by explicitly separating the tool's function from its outputs for better clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (6 parameters, no output schema, no annotations), the description is moderately complete. It covers the what (extract requirements) and scope (3GPP features) but lacks context on how it operates, data sources, or output format. Without annotations or an output schema, more behavioral and usage details would improve completeness for effective agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, meaning all parameters are well-documented in the input schema itself. The description adds minimal value beyond the schema by implying the tool analyzes features for implementation details, but it doesn't provide additional context on parameter interactions or usage examples. With high schema coverage, the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Extract detailed implementation requirements for specific 3GPP features' with specific components listed (mandatory/optional requirements, dependencies, implementation guidance). It uses the verb 'extract' with the resource 'implementation requirements' and scope '3GPP features.' However, it doesn't explicitly differentiate from sibling tools like 'compare_specifications' or 'get_specification_details,' which might also involve 3GPP specifications.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools or specify contexts where this tool is preferred, such as for implementation planning versus specification comparison. There's no indication of prerequisites or exclusions, leaving usage decisions unclear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_specification_detailsB

Get comprehensive details about a specific 3GPP specification including metadata, content, dependencies, and related information.

ParametersJSON Schema
NameRequiredDescriptionDefault
specification_idYesThe specification ID (e.g., "TS 32.290", "TS 38.331", "TS 33.501")
include_contentNoInclude detailed content from TSpec-LLM dataset (default: true)
include_dependenciesNoInclude information about specification dependencies (default: true)
formatNoResponse format - agent_ready provides structured JSON for AI agentsagent_ready

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. While it mentions what information is included (metadata, content, dependencies), it doesn't describe response format details, potential rate limits, authentication requirements, error conditions, or whether this is a read-only operation. The description provides basic functional information but lacks important behavioral context for a tool with 4 parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-structured sentence that efficiently communicates the tool's purpose and scope. It's appropriately sized for the tool's complexity, front-loading the core functionality. While concise, it could potentially benefit from slightly more detail given the lack of annotations and output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 4 parameters, no annotations, and no output schema, the description provides adequate basic information but lacks completeness. It explains what the tool does but doesn't address important contextual elements like response format expectations, error handling, or how the different parameters interact to affect the returned data. For a tool with this complexity level, more contextual information would be helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema - it doesn't explain how parameters interact, provide usage examples, or clarify edge cases. Baseline 3 is appropriate when the schema does the heavy lifting, though the description could have added value by explaining parameter relationships.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Get') and resource ('specific 3GPP specification'), and lists the types of details included (metadata, content, dependencies, related information). It distinguishes from siblings by focusing on comprehensive details for a single specification rather than comparison, requirements, or search functions. However, it doesn't explicitly contrast with sibling tools in the description text itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when comprehensive details about a specific 3GPP specification are needed, but doesn't explicitly state when to use this tool versus alternatives like 'search_specifications' for broader searches or 'compare_specifications' for comparisons. No explicit exclusions or prerequisites are mentioned, leaving usage context somewhat implied rather than clearly defined.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_specificationsA

Search 3GPP specifications using TSpec-LLM dataset and official metadata. Returns actual specification content and structured metadata for agent consumption.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query (e.g., "5G charging CHF implementation", "handover procedures", "authentication security")
max_resultsNoMaximum number of results to return (default: 5)
series_filterNoFilter by specification series (e.g., ["32", "33", "38"])
release_filterNoFilter by 3GPP release (e.g., ["Rel-16", "Rel-17"])
include_contentNoInclude detailed specification content from TSpec-LLM (default: true)
formatNoResponse format - agent_ready provides structured JSON optimized for AI agentsagent_ready

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden. It discloses the data sources (TSpec-LLM dataset and official metadata) and mentions the return format is 'optimized for AI agents,' which adds useful context. However, it doesn't address rate limits, authentication needs, error conditions, or pagination behavior that would be important for a search tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is perfectly concise with two sentences that each earn their place. The first sentence establishes purpose and scope, while the second clarifies return values and agent optimization. There's zero wasted language or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a search tool with 6 parameters, 100% schema coverage, and no output schema, the description is adequate but has gaps. It covers purpose and return types but lacks behavioral details like rate limits, error handling, or result structure. Without annotations or output schema, the agent must infer these from the tool name and parameters alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already fully documents all 6 parameters. The description adds no additional parameter information beyond what's in the schema. The baseline score of 3 is appropriate when the schema does all the parameter documentation work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Search'), resource ('3GPP specifications'), data sources ('TSpec-LLM dataset and official metadata'), and return values ('actual specification content and structured metadata'). It distinguishes itself from siblings by focusing on search functionality rather than comparison, requirements finding, or detailed retrieval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this tool should be used for searching specifications, but provides no explicit guidance on when to choose this tool versus its siblings (compare_specifications, find_implementation_requirements, get_specification_details). The context is clear but lacks specific alternatives or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A3.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: compare_specifications focuses on cross-specification analysis, find_implementation_requirements extracts feature-specific requirements, get_specification_details provides metadata and content for a single spec, and search_specifications enables discovery across the dataset. There is no overlap in functionality, making tool selection unambiguous for an agent.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case formatting: compare_specifications, find_implementation_requirements, get_specification_details, and search_specifications. The verbs (compare, find, get, search) are distinct and appropriate for their actions, creating a predictable and readable naming convention throughout the set.

Tool Count4/5

With 4 tools, the count is reasonable for a 3GPP specification server, covering core operations like search, retrieval, comparison, and requirement extraction. It is slightly lean but well-scoped; additional tools for updates or management might be expected in a broader system, but this set effectively supports key agent workflows without bloat.

Completeness4/5

The tool set provides strong coverage for querying and analyzing 3GPP specifications, including search, detailed retrieval, comparison, and implementation requirements. Minor gaps exist, such as lack of tools for modifying or managing specifications (e.g., create, update, delete), but these may be outside the server's read-only scope, and agents can perform core analysis tasks without dead ends.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/edhijlu/3gpp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server