Skip to main content
Glama
ConceptNet MCP Server

ConceptNet MCP Server

by infinitnet

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging levelINFO
MCP_SERVER_HOSTNoServer hostlocalhost
MCP_SERVER_PORTNoServer port3000
CONCEPTNET_RATE_LIMITNoRate limiting - requests per period100
CONCEPTNET_API_VERSIONNoConceptNet API version5.7
CONCEPTNET_RATE_PERIODNoRate limiting - time period in seconds60
CONCEPTNET_API_BASE_URLNoConceptNet API base URLhttps://api.conceptnet.io

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server provides access to ConceptNet, a large semantic network
of general knowledge containing millions of assertions about concepts and their
relationships. ConceptNet integrates data from multiple sources including WordNet,
Open Mind Common Sense, Wikipedia, and more.

🎯 **Core Capabilities:**
- **Complete Pagination**: All tools return ALL results by default (not just 20)
- **Multi-language Support**: Cross-language queries and concept exploration
- **Text Normalization**: All text converted to readable format for easy processing
- **Rich Analysis**: Summaries, statistics, and relationship insights
- **Error Resilience**: Robust error handling with helpful guidance messages

🔧 **Available Tools:**

1. **concept_lookup** - Concept exploration
   - Look up all relationships for a specific concept
   - Returns complete edge information with relationship summaries
   - Supports language filtering and cross-language exploration
   - Perfect for understanding "what ConceptNet knows about X"

2. **concept_query** - Advanced filtered searching
   - Sophisticated multi-parameter filtering (start, end, relation, node, sources)
   - Complex relationship discovery with precise control
   - Query optimization and result analysis
   - Ideal for finding specific types of relationships

3. **related_concepts** - Semantic similarity discovery
   - Find concepts semantically similar to a given concept
   - Uses ConceptNet's semantic embeddings and algorithms
   - Ranked by similarity scores with detailed analysis
   - Great for concept expansion and exploration

4. **concept_relatedness** - Quantitative similarity measurement
   - Calculate precise similarity scores between two concepts
   - Cross-language comparison support
   - Detailed relationship analysis and interpretation
   - Essential for measuring conceptual distance

💡 **Usage Guidelines:**
- **Start with concept_lookup** to explore what ConceptNet knows about a concept
- **Use concept_query** for sophisticated filtering and targeted relationship discovery
- **Use related_concepts** to discover similar or related ideas
- **Use concept_relatedness** to quantify how similar two concepts are
- All tools support multiple languages and provide extensive metadata
- Results include suggestions for further exploration and refinement

🌍 **Language Support:**
- Primary support for English ('en') with extensive coverage
- Multi-language support including Spanish ('es'), French ('fr'), German ('de'), etc.
- Cross-language queries to find relationships between concepts in different languages
- Automatic language detection and validation with helpful warnings

📊 **Data Quality:**
- All results include confidence scores and source information
- Error handling with specific guidance for each error type
- Performance metrics and execution timing for optimization
- Built-in validation with helpful error messages and suggestions

🚀 **Performance Features:**
- Automatic pagination to retrieve complete datasets
- Efficient caching and connection management
- Parallel processing where applicable
- Optimized for both quick queries and analysis

⚡ **Quick Start Examples:**
- `concept_lookup("dog")` - Explore everything about dogs
- `concept_query(start="car", rel="IsA")` - Find what cars are
- `related_concepts("happiness")` - Find concepts similar to happiness
- `concept_relatedness("cat", "dog")` - How similar are cats and dogs?

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
concept_lookupA
Look up information about a specific concept in ConceptNet.

This tool queries ConceptNet's knowledge graph to find all relationships
and properties associated with a given concept. By default, it returns
ALL results (not limited to 20) to provide complete information.

Features:
- Complete relationship discovery for any concept
- Language filtering and cross-language exploration
- Summaries and statistics
- Performance optimized with automatic pagination
- Format control: minimal (~96% smaller) vs verbose (full metadata)

Format Options:
- verbose=false (default): Returns minimal format optimized for LLM consumption
- verbose=true: Returns comprehensive format with full ConceptNet metadata
- Backward compatibility maintained with existing tools

Use this when you need to:
- Understand what ConceptNet knows about a concept
- Explore all relationships for a term
- Get semantic information
- Find related concepts and properties
concept_queryA
Advanced querying of ConceptNet with sophisticated multi-parameter filtering.

This tool provides powerful filtering capabilities for exploring ConceptNet's
knowledge graph. You can combine multiple filters to find specific types of
relationships and concepts with precision.

Features:
- Multi-parameter filtering (start, end, relation, node, sources)
- Complex relationship discovery and analysis
- Comprehensive result processing and enhancement
- Query optimization and performance metrics
- Format control: minimal (~96% smaller) vs verbose (full metadata)

Format Options:
- verbose=false (default): Returns minimal format optimized for LLM consumption
- verbose=true: Returns comprehensive format with full ConceptNet metadata
- Backward compatibility maintained with existing tools

Filter Parameters:
- start: Start concept of relationships (e.g., "dog", "/c/en/dog")
- end: End concept of relationships (e.g., "animal", "/c/en/animal")
- rel: Relation type (e.g., "IsA", "/r/IsA")
- node: Concept that must be either start or end of edges
- other: Used with 'node' to find relationships between two specific concepts
- sources: Filter by data source (e.g., "wordnet", "/s/activity/omcs")

Use this when you need:
- Precise relationship filtering and discovery
- Complex queries with multiple constraints
- Analysis of specific relationship types
- Targeted exploration of concept connections
related_conceptsA
Find concepts semantically related to a given concept using ConceptNet's embeddings.

This tool uses ConceptNet's semantic similarity algorithms to discover
concepts that are related to the input term. Results are ranked by
similarity score and include comprehensive analysis.

Features:
- Semantic similarity discovery using advanced algorithms
- Ranked results with detailed similarity analysis
- Default English language filtering (can be disabled or changed)
- Statistical analysis and categorization
- Format control: minimal (~96% smaller) vs verbose (full metadata)

Format Options:
- verbose=false (default): Returns minimal format optimized for LLM consumption
- verbose=true: Returns comprehensive format with full ConceptNet metadata
- Backward compatibility maintained with existing tools

Similarity Analysis:
- Similarity scores from 0.0 (unrelated) to 1.0 (very similar)
- Descriptive categories (very strong, strong, moderate, weak, very weak)
- Relationship context and likely connections
- Language distribution and statistical summaries

Use this when you need to:
- Discover semantically similar concepts
- Expand concept exploration and brainstorming
- Find related terms and ideas
- Understand semantic neighborhoods
concept_relatednessA
Calculate precise semantic relatedness score between two concepts.

This tool uses ConceptNet's semantic embeddings to calculate how
related two concepts are to each other. The score ranges from 0.0
(completely unrelated) to 1.0 (very strongly related).

Features:
- Precise quantitative similarity measurement
- Cross-language comparison support
- Detailed relationship analysis and interpretation
- Confidence levels and percentile estimates
- Format control: minimal (~96% smaller) vs verbose (full metadata)

Format Options:
- verbose=false (default): Returns minimal format optimized for LLM consumption
- verbose=true: Returns comprehensive format with full ConceptNet metadata
- Backward compatibility maintained with existing tools

Analysis Components:
- Numeric relatedness score (0.0-1.0)
- Descriptive interpretation and confidence level
- Likely connection explanations
- Semantic distance and relationship strength
- Cross-language analysis when applicable

Use this when you need to:
- Quantify how similar two concepts are
- Compare concepts across different languages
- Measure semantic distance between ideas
- Validate conceptual relationships

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 4 tools

Disambiguation4/5

concept_lookup and concept_query overlap somewhat (lookup is essentially a node-scoped query), but the descriptions clearly differentiate single-concept exploration from multi-parameter filtering. related_concepts (ranked neighbor list for one term) vs concept_relatedness (single pairwise score) is a clear distinction once you read the descriptions. Boundaries are mostly clear, with one pair that could be confused at a glance.

Naming Consistency4/5

Three tools follow a 'concept_<action>' noun-prefix pattern (concept_query, concept_lookup, concept_relatedness) while related_concepts inverts the order, a minor deviation. All names are lowercase snake_case and readable, so the set is predictable overall despite the one outlier.

Tool Count4/5

Four tools is on the lean side but each maps to a distinct ConceptNet capability (filtered edge query, concept dump, similarity neighbors, pairwise relatedness). Nothing is redundant enough to be cut, though a slightly richer surface would not feel bloated.

Completeness4/5

The core ConceptNet workflows—relationship lookup, filtered edge search, semantic neighbors, and pairwise similarity—are all covered, with cross-language and verbose/minimal format controls. Minor gaps exist (no schema/relation-type or source discovery, no explicit assertion/edge-detail retrieval), but agents can work around these via concept_query filters.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues